Template:Language: Difference between revisions

From LOTR-TCG Wiki
No edit summary
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Name}}
{{#template_params:Name|Code|Notes}}
{{#cargo_declare:_table=Languages|Name=String}}
{{#cargo_declare:_table=Languages|Name=String(mandatory,unique)|Code=String(mandatory,unique,regex=[A-Z]{2})|SortOrder=Integer(mandatory)|Notes=String}}
</noinclude><includeonly>{{#cargo_store:_table=Languages}}
</noinclude><includeonly>{{#cargo_store:_table=Languages}}
{{#template_display:_format=infobox}}
[[Category:Languages]]
[[Category:Languages]]
</includeonly>
</includeonly>

Latest revision as of 18:35, 11 October 2021

This is the "Language" template.

It should be called in the following format:

{{Language
|Name=
|Code=
|Notes=
}}

Edit the page to see the template text.

This template defines the table "Languages". View table.