Template:Onevaried: Difference between revisions
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}} {{onebadge}} {{#if: {{{1|}}}|{{pub|{{{1}}}}} |}}<span style="background:#fc3;">Varied</span> <span style="font-size: 0.8em; text-align:right;">{{gmone|{{BASEPAGENAME}}|ʰ}}</span> <br /> | {{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 /> | ||
</div>{{#if: {{{setting|}}}|<br clear="right" />{{One Setting|{{{setting}}}}}|}}{{#if: {{{nodb|}}}|<!-- | </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 | |||
-->{{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> | ||
==Example== | |||
<pre> | |||
{{Onevaried}} | |||
{{Onevaried|sources=SRD5, ua23phpt5|pt=true|ua=true}} | |||
</pre> | |||
===Produces=== | |||
{{Onevaried|nodb=true}} | {{Onevaried|nodb=true}} | ||
[[Category: | {{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