Template:Site: Difference between revisions

From LOTR-TCG Wiki
No edit summary
 
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:CardID|Block|SiteNum (label=Site Number)|ShadowNum (label=Shadow Number)|ArrowDir (label=Arrow Direction)|IsSanctuary (label=Is Sanctuary)}}
{{#template_params:CardID|BaseCardID (label=Base Card ID)|Subset|Revision|ImageFilename (label=Image Filename;namespace=File)|PortraitFilename (label=Portrait Filename;namespace=File)|LanguageCode (label=Language Code)|Title|Subtitle|Subtypes|Block|SiteNum (label=Site Number)|ShadowNum (label=Shadow Number)|ArrowDir (label=Arrow Direction)|IsSanctuary (label=Is Sanctuary)|GameText=String|TaggedGameText=String|FormattedGameText=String|Lore=String|PromoText=String|Notes=String}}
{{#cargo_declare:_table=Sites|CardID=String|Block=String (allowed values=Fellowship,Towers,King,Shadows)|SiteNum=Integer (allowed values=0,1,2,3,4,5,6,7,8,9)|ShadowNum=Integer|ArrowDir=String (allowed values=None,Left,Right)|IsSanctuary=Boolean}}
{{#cargo_attach:_table=CardReleases}}
</noinclude><includeonly>{{#cargo_store:_table=Sites}}
</noinclude><includeonly>{{#cargo_store:_table=CardReleases}}
{{#template_display:_format=standard}}
[[Category:Sites]]
[[Category:Sites]]
</includeonly>
</includeonly>

Revision as of 04:18, 27 September 2021

This is the "Site" template.

It should be called in the following format:

{{Site
|CardID=
|BaseCardID=
|Subset=
|Revision=
|ImageFilename=
|PortraitFilename=
|LanguageCode=
|Title=
|Subtitle=
|Subtypes=
|Block=
|SiteNum=
|ShadowNum=
|ArrowDir=
|IsSanctuary=
|GameText=String=
|TaggedGameText=String=
|FormattedGameText=String=
|Lore=String=
|PromoText=String=
|Notes=String=
}}

Edit the page to see the template text.

This template adds rows to the table "CardReleases", which is declared by the template CardRelease. View table.