Template:5efairuse: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
{{5e}}&nbsp;<span style="background:#fc3; font-size:1.1em;">{{Fair Use Icons}}</span><br />
{{5e}}&nbsp;<span style="background:#fc3; font-size:1.1em;">{{Fair Use Icons}}</span><br />
{{#if: {{{1|}}}|{{pub|{{{1}}}}}|''see Sources''}}
{{#if: {{{1|}}}|{{pub|{{{1}}}}}|''see Sources''}}
</div>[[Category:Copyrighted]][[Category:5e]][[Category:Canon]]{{#if: {{{1|}}}|[[Author::{{{1}}}| ]]{{#cargo_store:
</div>[[Category:Copyrighted]][[Category:Fair Use]][[Category:5e]]{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store:
_table = Pages_Info
_table = Pages_Info
|where= Page_Name = {{FULLPAGENAME}}
|Sources = {{{1|}}}
|Sources = {{{1|}}}
}}}}<!--{{#set: Publication={{{1}}}}}-->[[Canon::true| ]]{{pagetitle}}</includeonly><noinclude>
|Canon = {{#if|{{{canon|}}}|1|}}
|Publication = 1
}}}}</includeonly><noinclude>


==Usage==
==Usage==
Line 19: Line 22:
produces:
produces:


{{5efairuse|foo}}
{{5efairuse|foo|nodb=true}}


[[Category:5e Templates]]
[[Category:5e Templates]]
[[Category:System Tags]]
[[Category:System Tags]]
</noinclude>
</noinclude>

Revision as of 08:48, 22 February 2020

This template adds rows to the table "Pages_Info", which is declared by the template Pagestart. View table.


Usage

This should be placed at the top of all pages from the SRD5.

Syntax

{{5efairuse|source}}

produces:

D&D 5e target=copyright target=Fair_Use
foo