Template:BaseCard: Difference between revisions
From LOTR-TCG Wiki
No edit summary |
(Increasing size of Notes column to fit unexpectedly large notes.) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:ID|ReprintBaseID|Title|Subtitle|SetNum (label=Set Number)|Subset|Rarity|CardNum (label=Card Number)|Revision|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}}) | ||
|ReprintBaseID=String(mandatory;size=20;regex={{WikiIDRegex}}) | |ReprintBaseID=String(mandatory;size=20;regex={{WikiIDRegex}}) | ||
|Title=String(mandatory) | |Title=String(mandatory) | ||
|Subtitle=String | |Subtitle=String | ||
|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 | ||
Line 13: | Line 14: | ||
|CollInfo=String (size=10) | |CollInfo=String (size=10) | ||
|GEMP_ID=String (size=10) | |GEMP_ID=String (size=10) | ||
|LOTRO_HexNum=String(size= | |LOTRO_HexNum=String(size=20) | ||
|LOTRO_ImageNum=String(size=10) | |LOTRO_ImageNum=String(size=10) | ||
|TLHH_ImageNum=String(10) | |TLHH_ImageNum=String(10) | ||
Line 23: | Line 24: | ||
|IsPlayable=Boolean | |IsPlayable=Boolean | ||
|SearchTerms=List (,) of String(size=1024) | |SearchTerms=List (,) of String(size=1024) | ||
|Notes=String}} | |Notes=String (size=500)}} | ||
</noinclude><includeonly>{{#cargo_store:_table=Cards | </noinclude><includeonly>{{#cargo_store:_table=Cards | ||
|Revision={{{Revision|0}}}}} | |Subtitle={{{Subtitle|}}} | ||
|Revision={{{Revision|0}}} | |||
|GEMP_ID={{{GEMP_ID|}}} | |||
|LOTRO_HexNum={{{LOTRO_HexNum|}}} | |||
|LOTRO_ImageNum={{{LOTRO_ImageNum|}}} | |||
|TLHH_ImageNum={{{TLHH_ImageNum|}}} | |||
|mLOTRO_ID={{{mLOTRO_ID|}}} | |||
|SearchTerms={{{SearchTerms|}}} | |||
|Notes={{{Notes|}}} | |||
}} | |||
{{#template_display:_format=table}} | |||
</includeonly> | </includeonly> |
Latest revision as of 06:42, 13 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.