Template:Set: Difference between revisions

From LOTR-TCG Wiki
No edit summary
(Added Subset order, to permit the programmatic generation of navigation links)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:ID|Name|Creator|ReleaseDate (label=Release Date)|IsOfficial (label=Is Official)|Platforms|Notes}}
{{#template_params:ID|Name|Creator|ReleaseDate (label=Release Date)|IsOfficial (label=Is Official)|Platforms|Notes}}
{{#cargo_declare:_table=CardSets|ID=String(unique,mandatory)|Name=String(unique,mandatory)|Creator=String|ReleaseDate=Date|IsOfficial=Boolean(mandatory)|Platforms=List (,) of String (allowed values=Paper,LotR-O,GEMP,mLOTRO,Tabletop Simulator,Lackey,gccg)|Notes=String}}
{{#cargo_declare:_table=CardSets
|ID=String(unique,mandatory)
|Name=String(unique,mandatory)
|Creator=String
|ReleaseDate=Date
|IsOfficial=Boolean(mandatory)
|SubsetOrder=List (,) of String
|Platforms=List (,) of String (allowed values=Paper,LotR-O,GEMP,mLOTRO,Tabletop Simulator,Lackey,gccg)
|Notes=String}}
</noinclude><includeonly>{{#cargo_store:_table=CardSets}}
</noinclude><includeonly>{{#cargo_store:_table=CardSets}}
{{#template_display:_format=infobox}}
{{#template_display:_format=infobox}}
[[Category:Sets]]
[[Category:Sets]]
</includeonly>
</includeonly>

Revision as of 23:33, 8 October 2021

This is the "Set" template.

It should be called in the following format:

{{Set
|ID=
|Name=
|Creator=
|ReleaseDate=
|IsOfficial=
|Platforms=
|Notes=
}}

Edit the page to see the template text.

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