Template:BaseCard: Difference between revisions
From LOTR-TCG Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:ID|ReprintBaseID|Title|Subtitle|SetNum (label=Set Number)|Subset|Rarity|CardNum (label=Card Number)|Revision|CollInfo|GEMP_ID|LOTRO_HexNum (label=LOTRO Hex ID)|LOTRO_ImageNum (label=LOTRO Image #)|TLHH_ImageNum (label=TLHH Image #)|mLOTRO_ID|Culture|Side|CardType (label=Card Type)|IsPhysical (label=Was Physically Printed)|IsPlayable (label=Is An Actual Playable Card)|SearchTerms|Notes}} | {{#template_params:ID|ReprintBaseID|Title|Subtitle|SetNum (label=Set Number)|Subset|SetOrder|Rarity|CardNum (label=Card Number)|Revision|CollInfo|GEMP_ID|LOTRO_HexNum (label=LOTRO Hex ID)|LOTRO_ImageNum (label=LOTRO Image #)|TLHH_ImageNum (label=TLHH Image #)|mLOTRO_ID|Culture|Side|CardType (label=Card Type)|IsPhysical (label=Was Physically Printed)|IsPlayable (label=Is An Actual Playable Card)|SearchTerms|Notes}} | ||
{{#cargo_declare:_table=Cards | {{#cargo_declare:_table=Cards | ||
|ID=String(mandatory;unique;size=20;regex={{WikiIDRegex}}) | |ID=String(mandatory;unique;size=20;regex={{WikiIDRegex}}) | ||
Line 8: | Line 8: | ||
|SetNum=String(size=2) | |SetNum=String(size=2) | ||
|Subset=String(mandatory;regex=[A-Z]) | |Subset=String(mandatory;regex=[A-Z]) | ||
|SetOrder=Integer | |||
|Rarity=String | |Rarity=String | ||
|CardNum=Integer | |CardNum=Integer |
Revision as of 07:32, 11 October 2021
This is the "BaseCard" template.
It should be called in the following format:
{{BaseCard |ID= |ReprintBaseID= |Title= |Subtitle= |SetNum= |Subset= |SetOrder= |Rarity= |CardNum= |Revision= |CollInfo= |GEMP_ID= |LOTRO_HexNum= |LOTRO_ImageNum= |TLHH_ImageNum= |mLOTRO_ID= |Culture= |Side= |CardType= |IsPhysical= |IsPlayable= |SearchTerms= |Notes= }}
Edit the page to see the template text.
This template defines the table "Cards". View table.