Template:5euc: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(9 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: {{{nopagedata|}}}|{{#cargo_store:
-->{{#if: {{{nodb|}}}|<!--skip-->|{{StorePageData
_table = Pages_Info
|pagetitle={{PAGENAME}}
|where Page_Name={{FULLPAGENAME}}
|pageid=
|Licenses = {{#if: {{{2|}}}|[[{{{2}}}]]|[[CC-BY-SA]]}}
|sources={{{1|}}}
}}|{{#cargo_store:
|licenses={{#if: {{{license|}}}|[[{{{license}}}]]|[[CC-BY-SA]]}}
_table = Pages_Info
|canon=0<!--blank, true if canon-->
|Page_Name = {{FULLPAGENAME}}
|creationdate={{{creationdate|}}}
|Page_Title = {{PAGENAME}}
|setting={{{setting|}}}  
|Sources = {{#if: {{{1|}}}|[[User: {{{1|}}}]]|Anonymous|}}
|pointer=0<!--blank, true if pointer-->
|Licenses = {{#if: {{{2|}}}|[[{{{2}}}]]|[[CC-BY-SA]]}}
|published=0<!--blank, true if published-->
|hidden=0<!--blank, true if hidden-->
|ua=0<!--blank, true if hidden-->
|user=1<!--blank, true if user creation-->
|categories=<!-- NOT CURRENTLY USED list of categories-->
}} }}</includeonly><noinclude>
}} }}</includeonly><noinclude>


Line 21: Line 22:


==Syntax==
==Syntax==
<pre>{{5euc|optUserName|optLicense}}</pre>
<pre>{{5euc|optUserName}}</pre>


===Add'l Parameters===
===Add'l Parameters===
|nopagedata= (blank, true if no data other than license should be stored to table Pages_Info)
<pre>
|license= <!--blank is CC-BY-SA, otherwise OGL, etc.-->
|nodb= <!--blank, if true skip db store-->
</pre>
===Deprecated===
<pre>licenseonly= replaced by nodb</pre>
 


produces:
produces:


{{5euc|userName}}
{{5euc|userName|nodb=true}}


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

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  ʰ