Template:BaseCard: Difference between revisions
From LOTR-TCG Wiki
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:ID|Title|Subtitle|SetNum (label=Set Number)|Subset|Rarity|CardNum (label=Card Number)|Revision|LOTRO_HexNum (label=LOTRO Hex ID)|LOTRO_ImageNum (label=LOTRO Image #)|TLHH_ImageNum (label=TLHH Image # | {{#template_params:ID|ReprintBaseID|Title|Subtitle|SetNum (label=Set Number)|Subset|Rarity|CardNum (label=Card Number)|Revision|LOTRO_HexNum (label=LOTRO Hex ID)|LOTRO_ImageNum (label=LOTRO Image #)|TLHH_ImageNum (label=TLHH Image #)|Culture|Side|CardType (label=Card Type)|IsPhysical (label=Was Physically Printed)|IsPlayable (label=Is An Actual Playable Card)|SearchTerms|Notes}} | ||
{{#cargo_declare:_table=BaseCards|ID=String|Title=String|Subtitle=String|SetNum=String|Subset= | {{#cargo_declare:_table=BaseCards|ID=String(mandatory,unique)|ReprintBaseID=String|Title=String(mandatory)|Subtitle=String(mandatory)|SetNum=String|Subset=String(mandatory;regex=[A-Z])|Rarity=String|CardNum=Integer|Revision=Integer|LOTRO_HexNum=String|LOTRO_ImageNum=String|TLHH_ImageNum=String|Culture=String|Side=String (allowed values=None,Freeps,Shadow,Both)|CardType=String|IsPhysical=Boolean|IsPlayable=Boolean|SearchTerms=List (,) of String|Notes=String}} | ||
</noinclude><includeonly>{{#cargo_store:_table=BaseCards}} | </noinclude><includeonly>{{#cargo_store:_table=BaseCards}} | ||
{{#template_display:_format= | {{#template_display:_format=infobox}} | ||
[[Category:Cards]] | [[Category:Cards]] | ||
</includeonly> | </includeonly> | ||
Revision as of 03:57, 27 September 2021
This is the "BaseCard" template.
It should be called in the following format:
{{BaseCard
|ID=
|ReprintBaseID=
|Title=
|Subtitle=
|SetNum=
|Subset=
|Rarity=
|CardNum=
|Revision=
|LOTRO_HexNum=
|LOTRO_ImageNum=
|TLHH_ImageNum=
|Culture=
|Side=
|CardType=
|IsPhysical=
|IsPlayable=
|SearchTerms=
|Notes=
}}
Edit the page to see the template text.
This template defines the table "BaseCards". This table has not been created yet.