Template:5efairuse: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
(moved db store to Template:StorePageData)
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:Fair Use]][[Category:5e]]{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store:
</div>[[Category:Copyrighted]][[Category:Fair Use]][[Category:5e]]{{#if: {{{nodb|}}}|<!--skip-->|{{StorePageData
_table = Pages_Info
|pagetitle={{PAGENAME}}
|where= Page_Name = {{FULLPAGENAME}}
|pageid=
|Sources = {{{1|}}}
|sources={{#if: {{{1|}}}|{{{1}}}|Varied}}
|Canon = {{#if|{{{canon|}}}|1|}}
|licenses=Fair Use, Copyright
|Publication = 1
|canon={{#if|{{{canon|}}}|1|}}<!--blank, true if canon-->
|Categories = _categories
|creationdate=
|setting=
|pointer=<!--blank, true if pointer-->
|published=1<!--blank, true if published-->
|hidden=<!--blank, true if hidden-->
|ua={{#if|{{{ua|}}}|1|}}<!--blank, true if hidden-->
|user=<!--blank, true if user creation-->
|categories=<!-- NOT CURRENTLY USED list of categories-->
}}}}</includeonly><noinclude>
}}}}</includeonly><noinclude>



Revision as of 17:00, 14 March 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 (2014) target=copyright target=Fair_Use
foo