Template:5euc: Difference between revisions

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


==Usage==
==Usage==
Line 27: 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-->
</pre>
</pre>
===Deprecated===
<pre>licenseonly= replaced by nodb</pre>


produces:
produces:

Latest revision as of 07:40, 30 April 2022


Usage[edit]

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

Syntax[edit]

{{5euc|optUserName}}

Add'l Parameters[edit]

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

Deprecated[edit]

licenseonly= replaced by nodb


produces:

D&D 5e User Creation CC-BY-SA  ʰ