Template:5eogl: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<includeonly><div style="width:100%; border: collapse; text-align:right;">
{{#cargo_attach:
{{5ebadge}} {{#if: {{{1|}}}|'''{{pub|{{{1}}}}}'''&nbsp;  |}}<span style="background:#fc3;">[[OGL]]</span> <sup>[[gmw:5e:{{PAGENAME}}]]</sup>
_table = Pages_Info
[[Category:OGL]][[Category:5e]][[Category:SRD5]]{{#if: {{{noncanon|}}}|<br clear="right" /><div style="display:block; float:right; background: silver; border-style: solid; border-width: 2px; border-color: firebrick; border-radius: 0.5em;">'''&nbsp;[[Noncanon]]&nbsp;'''&nbsp;</div>|[[Category:5e Canon]]}}</div>{{#if: {{{nodb|}}}|<!--skip-->|{{StorePageData
}}</noinclude><includeonly><div style="width:100%; border: collapse; text-align:right;">
|pagetitle={{PAGENAME}}
{{5e}}{{#if: {{{1|}}}|&ensp;'''{{{1}}}'''|}} <span style="background:#fc3;">[[OGL]]</span>{{#if: {{{publisher|}}}|<br />[[{{{publisher}}}]]|}}
|sources={{{1|}}}
</div>[[Category:OGL]][[Category:5e]]<!--
|licenses=OGL
-->{{#if: {{{nopagedata|}}}|{{#cargo_store:  
|creationdate=
_table = Pages_Info
|setting={{#if: {{{setting|}}}|{{{setting}}}|}}
|where Page_Name = {{FULLPAGENAME}}
|canon={{#if: {{{noncanon|}}}|<!--skip-->|true}}<!--blank, true if canon-->
|Sources = {{#if: {{{publisher|}}}|[[{{{publisher}}}]], {{{publication|}}}|{{{publication|}}}|}}
|pointer=<!--blank, true if pointer-->
|Licenses = [[OGL]]
|published=true<!--blank, true if published-->
}}|{{#cargo_store:
|ua=<!--blank, true if hidden-->
_table = Pages_Info
|user=<!--blank, true if user creation-->
|Page_Name = {{FULLPAGENAME}}
|categories=<!-- NOT CURRENTLY USED list of categories-->
|Page_Title = {{PAGENAME}}
}}}}</includeonly><noinclude>
|Page_Identifier =
|Canon = {{#if: {{{canon|}}}|1}}
|Setting =
|Sources = {{#if: {{{publisher|}}}|{{{publisher}}}, {{{publication|}}}|{{{publication|}}}|}}
|Licenses = [[OGL]]
}} }}</includeonly><noinclude>


==Usage==
==Usage==
This should be placed at the top of all pages from the [[SRD5]].
This should be placed at the top of all pages licensed [[OGL]] except [[SRD5]].


==Syntax==
==Syntax==
<pre>{{5eogl|optPublication}}</pre>
<pre>{{5eogl}}</pre>


===Add'l Parameters===
<pre>{{5eogl|optSource}}</pre>
|canon= (blank, true if canon)
|publisher= <!--Publisher name--><br />
|nopagedata= (blank, true is only license, publication, and publisher should be stored)


==Example==
<pre>{{5eogl|optSource|noncanon=true}}</pre>
{{5eogl}}


{{5eogl|{{pub|Tome of Beasts}}|publisher=Kobold Press}}
produces:
 
{{5eogl|nodb=true}}
 
{{5eogl|optSource|nodb=true}}
 
{{5eogl|optSource|noncanon=true|nodb=true}}


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

Latest revision as of 16:12, 31 August 2024


Usage

This should be placed at the top of all pages licensed OGL except SRD5.

Syntax

{{5eogl}}
{{5eogl|optSource}}
{{5eogl|optSource|noncanon=true}}

produces:

D&D 5e (2014) OGL ʰ
D&D 5e (2014) optSource OGL ʰ
D&D 5e (2014) optSource OGL ʰ
 Noncanon