Template:5euc: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(moved db store to Template:StorePageData)
mNo edit summary
 
(3 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:
{{5e}} '''[[User Creation]]'''[[Category:User]][[Category:5e User Creations]] <span style="background:#fc3;">{{#if: {{{2|}}}|[[{{{2}}}]][[Category:{{{2}}}]]|[[CC-BY-SA]][[Category:CC-BY-SA]]|}}</span> {{If5eh}}
_table = Pages_Info
}}</noinclude><includeonly><div style="width:100%; border: collapse; text-align:right;">
{{5e}} '''[[User Creation]]'''[[Category:User]][[Category:User Creation]] <span style="background:#fc3;">{{#if: {{{2|}}}|[[{{{2}}}]][[Category:{{{2}}}]]|[[CC-BY-SA]][[Category:CC-BY-SA]]|}}</span>
</div>[[Category:5e]]<!--
</div>[[Category:5e]]<!--
-->{{#if: {{{nodb|}}}|<!--skip-->|{{#if: {{{licenseonly|}}}|{{#cargo_store:
-->{{#if: {{{nodb|}}}|<!--skip-->|{{StorePageData
_table = Pages_Info
|Licenses = {{#if: {{{license|}}}|[[{{{license}}}]]|[[CC-BY-SA]]}}
}}|{{StorePageData
|pagetitle={{PAGENAME}}
|pagetitle={{PAGENAME}}
|pageid=
|pageid=
|sources={{{1|}}}
|sources={{{1|}}}
|licenses={{#if: {{{license|}}}|[[{{{license}}}]]|[[CC-BY-SA]]}}
|licenses={{#if: {{{license|}}}|[[{{{license}}}]]|[[CC-BY-SA]]}}
|canon=<!--blank, true if canon-->
|canon=0<!--blank, true if canon-->
|creationdate={{{creationdate|}}}
|creationdate={{{creationdate|}}}
|setting={{{setting|}}}  
|setting={{{setting|}}}  
|pointer=<!--blank, true if pointer-->
|pointer=0<!--blank, true if pointer-->
|published=<!--blank, true if published-->
|published=0<!--blank, true if published-->
|hidden=<!--blank, true if hidden-->
|hidden=0<!--blank, true if hidden-->
|ua=<!--blank, true if hidden-->
|ua=0<!--blank, true if hidden-->
|user=1<!--blank, true if user creation-->
|user=1<!--blank, true if user creation-->
|categories=<!-- NOT CURRENTLY USED list of categories-->
|categories=<!-- NOT CURRENTLY USED list of categories-->
}} }} }}</includeonly><noinclude>
}} }}</includeonly><noinclude>


==Usage==
==Usage==
Line 32: Line 26:
===Add'l Parameters===
===Add'l Parameters===
<pre>
<pre>
|licenseonly= <!--blank, true if only license should be stored to table Pages_Info-->
|license= <!--blank is CC-BY-SA, otherwise OGL, etc.-->
|license= <!--blank is CC-BY-SA, otherwise OGL, etc.-->
|nodb= <!--blank, if true skip db store-->
|nodb= <!--blank, if true skip db store-->
</pre>
</pre>
===Deprecated===
<pre>licenseonly= replaced by nodb</pre>


produces:
produces:

Latest revision as of 06:40, 30 April 2022


Usage

Called from Template:Author. This should be placed at the top of all user creation pages.

Syntax

{{5euc|optUserName}}

Add'l Parameters

|license= <!--blank is CC-BY-SA, otherwise OGL, etc.-->
|nodb= <!--blank, if true skip db store-->

Deprecated

licenseonly= replaced by nodb


produces:

D&D 5e (2014) User Creation CC-BY-SA  ʰ