Template:Onevaried: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(One intermediate revision 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}} {{onebadge}} {{#if: {{{1|}}}|{{pub|{{{1}}}}} |}}<span style="background:#fc3;">Varied</span>{{ | {{dndbadge}} {{onebadge}} {{#if: {{{1|}}}|{{pub|{{{1}}}}} |}}<span style="background:#fc3;">Varied</span> <span style="font-size: 0.8em; text-align:right;">{{gmone|{{BASEPAGENAME}}|ʰ}}</span> <br /> | ||
{{#if: {{{sources|}}}|'''<span style="font-size: 0.9em;">{{Source Array|{{{sources}}}}}</span>'''|''see Sources below''|}}<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: {{{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;">''' {{One|Playtest Material}}''' </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;">''' {{ | </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;">''' {{One|Playtest Material}}''' </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;">''' {{5ed|Unearthed Arcana}}''' </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;">''' [[Noncanon]] ''' </div>|}}{{#if: {{{nodb|}}}|<!--skip-->|<!-- | ||
store data | store data |
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