Template:5euc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
{{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> | {{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-->|{{#if: {{{nopagedata|}}}|{{#cargo_store: | ||
_table = Pages_Info | _table = Pages_Info | ||
|where Page_Name={{FULLPAGENAME}} | |where Page_Name={{FULLPAGENAME}} | ||
Line 15: | Line 15: | ||
|Sources = {{#if: {{{1|}}}|[[User: {{{1|}}}]]|Anonymous|}} | |Sources = {{#if: {{{1|}}}|[[User: {{{1|}}}]]|Anonymous|}} | ||
|Licenses = {{#if: {{{2|}}}|[[{{{2}}}]]|[[CC-BY-SA]]}} | |Licenses = {{#if: {{{2|}}}|[[{{{2}}}]]|[[CC-BY-SA]]}} | ||
}} }}</includeonly><noinclude> | }} }} }}</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
Line 28: | Line 28: | ||
produces: | produces: | ||
{{5euc|userName}} | {{5euc|userName|nodb=true}} | ||
[[Category:5e Templates]] | [[Category:5e Templates]] | ||
[[Category:System Tags]] | [[Category:System Tags]] | ||
</noinclude> | </noinclude> |
Revision as of 07:58, 22 February 2020
This template adds rows to the table "Pages_Info", which is declared by the template Pagestart. View table.
Usage
Called from Template:Author. This should be placed at the top of all user creation pages.
Syntax
{{5euc|optUserName|optLicense}}
Add'l Parameters
|nopagedata= (blank, true if no data other than license should be stored to table Pages_Info)
produces: