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|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}}
{{#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}}
{{#cargo_declare:_table=Cards|ID=String(mandatory;unique;size=20;regex={{WikiIDRegex}})|ReprintBaseID=String(mandatory;size=20;regex={{WikiIDRegex}})|Title=String(mandatory)|Subtitle=String(mandatory)|SetNum=String(size=2)|Subset=String(mandatory;regex=[A-Z])|Rarity=String|CardNum=Integer|Revision=Integer|CollInfo=String (size=10)|GEMPID=String (size=10)|LOTRO_HexNum=String(size=10)|LOTRO_ImageNum=String(size=10)|TLHH_ImageNum=String(10)|mLOTRO_ID=Integer|Culture=String(size=20)|Side=String (allowed values=None,Free Peoples,Shadow,Both;size=12)|CardType=String(size=20)|IsPhysical=Boolean|IsPlayable=Boolean|SearchTerms=List (,) of String(size=1024)|Notes=String}}
{{#cargo_declare:_table=Cards
|ID=String(mandatory;unique;size=20;regex={{WikiIDRegex}})
|ReprintBaseID=String(mandatory;size=20;regex={{WikiIDRegex}})
|Title=String(mandatory)
|Subtitle=String(mandatory)
|SetNum=String(size=2)
|Subset=String(mandatory;regex=[A-Z])
|Rarity=String
|CardNum=Integer
|Revision=Integer
|CollInfo=String (size=10)
|GEMP_ID=String (size=10)
|LOTRO_HexNum=String(size=10)
|LOTRO_ImageNum=String(size=10)
|TLHH_ImageNum=String(10)
|mLOTRO_ID=Integer
|Culture=String(size=20)
|Side=String (allowed values=None,Free Peoples,Shadow,Both;size=12)
|CardType=String(size=20)
|IsPhysical=Boolean
|IsPlayable=Boolean
|SearchTerms=List (,) of String(size=1024)
|Notes=String}}
</noinclude><includeonly>{{#cargo_store:_table=Cards
</noinclude><includeonly>{{#cargo_store:_table=Cards
|Revision={{{Revision|0}}}}}
|Revision={{{Revision|0}}}}}
[[Category:Cards]]
[[Category:Cards]]
</includeonly>
</includeonly>

Revision as of 23:48, 7 October 2021

This is the "BaseCard" template.

It should be called in the following format:

{{BaseCard
|ID=
|ReprintBaseID=
|Title=
|Subtitle=
|SetNum=
|Subset=
|Rarity=
|CardNum=
|Revision=
|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.