Template:Onevaried: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="float:right; border: collapse; text-align:right;">
<includeonly><div style="float:right; border: collapse; text-align:right;">
{{dndbadge}}&nbsp;{{onebadge}}&nbsp;{{#if: {{{1|}}}|{{pub|{{{1}}}}}&nbsp;|}}<span style="background:#fc3;">Varied</span>&nbsp;<span style="font-size: 0.8em; text-align:right;">{{gmone|{{BASEPAGENAME}}|ʰ}}</span>&nbsp;<br />
{{dndbadge}}&nbsp;{{onebadge}}&nbsp;{{#if: {{{1|}}}|{{pub|{{{1}}}}}&nbsp;|}}<span style="background:#fc3;">Varied</span>&nbsp;<span style="font-size: 0.8em; text-align:right;">{{gmone|{{BASEPAGENAME}}|ʰ}}</span>&nbsp;<br />
''See sections for licenses''<br />
{{#if: {{{sources|}}}|'''<span style="font-size: 0.9em;">{{Source Array|{{{sources}}}}}</span>'''|''see Sources below''|}}<br />
</div>{{#if: {{{setting|}}}|<br clear="right" />{{One Setting|{{{setting}}}}}|}}{{#if: {{{nodb|}}}|<!--nothing-->|{{StorePageData
</div>{{#if: {{{setting|}}}|<br clear="right" />{{One Setting|{{{setting}}}}}|}}{{#if: {{{pt|}}}|<br clear="right" /><div style="display:block; float:right; background: Thistle; border-style: solid; border-width: 2px; border-color: Thistle; border-radius: 0.5em;">'''&nbsp;{{One|Playtest Material}}'''&nbsp;</div>|}}{{#if: {{{ua|}}}|<br clear="right" /><div style="display:block; float:right; background: MistyRose; border-style: solid; border-width: 2px; border-color: MistyRose; border-radius: 0.5em;">'''&nbsp;{{5ed|Unearthed Arcana}}'''&nbsp;</div>|}}{{#if: {{{canon|}}}|<!--skip-->|<br clear="right" /><div style="display:block; float:right; background: silver; border-style: solid; border-width: 2px; border-color: firebrick; border-radius: 0.5em;">'''&nbsp;[[Noncanon]]&nbsp;'''&nbsp;</div>|}}{{#if: {{{nodb|}}}|<!--skip-->|<!--
 
store data
 
-->{{StorePageData
|pagetitle={{#if: {{{title|}}}|{{{title}}} One|{{PAGENAME}} One}}
|pagetitle={{#if: {{{title|}}}|{{{title}}} One|{{PAGENAME}} One}}
|sources={{#if: {{{sources|}}}|{{{sources}}}|{{#if: {{{1|}}}|{{{1}}}|Varied|}}|}}
|sources={{#if: {{{sources|}}}|{{{sources}}}|{{#if: {{{1|}}}|{{{1}}}|Varied|}}|}}
Line 37: Line 41:
</pre>
</pre>


produces:
==Example==
<pre>
{{Onevaried}}


{{Onevaried|sources=SRD5, ua23phpt5|pt=true|ua=true}}
</pre>
===Produces===
{{Onevaried|nodb=true}}
{{Onevaried|nodb=true}}


[[Category:5e Templates]]
{{Onevaried|sources=SRD5, ua23phpt5|pt=true|ua=true|nodb=true}}
 
[[Category:One Templates]]
[[Category:System Tags]]
[[Category:System Tags]]
</noinclude>
</noinclude>

Latest revision as of 10:17, 11 November 2023


Usage

This should be placed at the top of all pages with substantial information from multiple sources.

Syntax

{{Onevaried|optSource}}

Add'l Parameters

|creationdate= <!--blank or date-->
|canon= <!--blank or true-->
|hidden= <!--blank or true-->
<!--|licenses= <!--blank or list of licenses-->
|nodb= <!--blank, true if called from another systemtag-->
|pointer= <!--blank or true-->
|setting= <!--campaign setting-->
|sources= <!--blank, list of sources-->
|title= <!--if different than pagename-->
|ua= <!--blank or true if unearthed arcana-->
|user= <!--blank or true-->

Example

{{Onevaried}}

{{Onevaried|sources=SRD5, ua23phpt5|pt=true|ua=true}}

Produces

DnD One Varied ʰ 
see Sources below


 Noncanon  


DnD One Varied ʰ 
SRD5, ua23phpt5


 Playtest Material 


 Unearthed Arcana 


 Noncanon