Template:5eogl: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div style="width:100%; border: collapse; text-align:right;"> | <noinclude> | ||
{{5e}}{{#if: {{{1|}}}| '''{{{1}}}'''|}} <span style="background:#fc3;">[[OGL]]</span> | {{#cargo_attach: | ||
</div>[[Category:OGL]][[Category:5e]]</includeonly><noinclude> | _table = Pages_Info | ||
}}</noinclude><includeonly><div style="width:100%; border: collapse; text-align:right;"> | |||
{{5e}}{{#if: {{{1|}}}| '''{{{1}}}'''|}} <span style="background:#fc3;">[[OGL]]</span>{{#if: {{{publisher|}}}|<br />[[{{{publisher}}}]]|}} | |||
</div>[[Category:OGL]][[Category:5e]]<!-- | |||
-->{{#if: {{{nopagedata|}}}|{{#cargo_store: | |||
_table = Pages_Info | |||
|where Page_Name = {{FULLPAGENAME}} | |||
|Sources = {{#if: {{{publisher|}}}|[[{{{publisher}}}]], {{{publication|}}}|{{{publication|}}}|}} | |||
|Licenses = [[OGL]] | |||
}}|{{#cargo_store: | |||
_table = Pages_Info | |||
|Page_Name = {{FULLPAGENAME}} | |||
|Page_Title = {{PAGENAME}} | |||
|Page_Identifier = | |||
|Canon = {{#if: {{{canon|}}}|1}} | |||
|Setting = | |||
|Sources = {{#if: {{{publisher|}}}|{{{publisher}}}, {{{publication|}}}|{{{publication|}}}|}} | |||
|Licenses = [[OGL]] | |||
}} }}</includeonly><noinclude> | |||
==Usage== | ==Usage== | ||
Line 7: | Line 25: | ||
==Syntax== | ==Syntax== | ||
<pre>{{5eogl| | <pre>{{5eogl|optPublication}}</pre> | ||
===Add'l Parameters=== | |||
|canon= (blank, true if canon) | |||
|publisher= <!--Publisher name--><br /> | |||
|nopagedata= (blank, true is only license, publication, and publisher should be stored) | |||
==Example== | ==Example== | ||
{{5eogl}} | {{5eogl}} | ||
{{5eogl|Kobold Press}} | {{5eogl|{{pub|Tome of Beasts}}|publisher=Kobold Press}} | ||
[[Category:5e Templates]] | [[Category:5e Templates]] | ||
[[Category:5e License Templates]] | [[Category:5e License Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 21:08, 19 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
{{5eogl|optPublication}}
Add'l Parameters
|canon= (blank, true if canon)
|publisher=
|nopagedata= (blank, true is only license, publication, and publisher should be stored)