Template:5euc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
_table = Pages_Info | _table = Pages_Info | ||
|where Page_Name={{FULLPAGENAME}} | |where Page_Name={{FULLPAGENAME}} | ||
|Licenses = {{#if: {{{ | |Licenses = {{#if: {{{license|}}}|[[{{{license}}}]]|[[CC-BY-SA]]}} | ||
}}|{{#cargo_store: | }}|{{#cargo_store: | ||
_table = Pages_Info | _table = Pages_Info | ||
Line 15: | Line 15: | ||
|Page_Title = {{PAGENAME}} | |Page_Title = {{PAGENAME}} | ||
|Sources = {{#if: {{{1|}}}|[[User: {{{1|}}}]]|Anonymous|}} | |Sources = {{#if: {{{1|}}}|[[User: {{{1|}}}]]|Anonymous|}} | ||
|Licenses = {{#if: {{{ | |Licenses = {{#if: {{{license|}}}|[[{{{license}}}]]|[[CC-BY-SA]]}} | ||
}} }} }}</includeonly><noinclude> | }} }} }}</includeonly><noinclude> | ||
Line 22: | Line 22: | ||
==Syntax== | ==Syntax== | ||
<pre>{{5euc|optUserName | <pre>{{5euc|optUserName}}</pre> | ||
===Add'l Parameters=== | ===Add'l Parameters=== |
Revision as of 11:20, 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}}
Add'l Parameters
|licenseonly= <!--blank, true if only license should be stored to table Pages_Info--> |license= <!--blank is CC-BY-SA, otherwise OGL, etc.-->
produces: