Template:ERACardPage Dino: Difference between revisions

From Goober Games
(Created page with "{{#cargo_query:tables=ERA_Card |where=ERA_Card._pageName="{{PAGENAME}}" |fields=ERA_Card._pageName=UID,Image,Edition,Product |format=template |template=Infobox ERACard |named args=yes }}'''{{PAGENAME}}''' is a card in {{Title|ERA}}.Category:ERA CardCategory:ERA Dino<noinclude>Category:Core Templates</noinclude>")
 
No edit summary
 
(70 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#cargo_query:tables=ERA_Card,ERA_Printing
|join on=ERA_Card._pageName=ERA_Printing.Card
|where=ERA_Card._pageName="{{PAGENAME}}"
|fields=ERA_Card.UID,Type,Element,Power,Stamina,Hitpoints,Rules,ERA_Printing._pageName=Image
|limit=1
|more results text=
|format=template
|template=Infobox ERACard
|order by=ERA_Printing.PrintingUID DESC
|named args=yes
}}{{BubbleNav|ERACardListDinos|}}
'''{{PAGENAME}}''' is a [[Dino]] card in {{Title|ERA}}.
{{#cargo_query:tables=ERA_Card
{{#cargo_query:tables=ERA_Card
|where=ERA_Card._pageName="{{PAGENAME}}"
|where=ERA_Card._pageName="{{PAGENAME}}"
|fields=ERA_Card._pageName=UID,Image,Edition,Product
|fields=ERA_Card.Element,Power=P,Stamina=S,Hitpoints=HP,Rules=Rules Text
|format=table
|column widths=55px,20px,20px,20px
}}
===Rulings===
{{#cargo_query:tables=ERA_Ruling
|where=ERA_Ruling.Card="{{PAGENAME}}"
|fields=ERA_Ruling.Text=Ruling,ERA_Ruling.PostDate=Date
|format=template
|format=template
|template=Infobox ERACard
|template=ERARulingListItem
|named args=yes
}}
==Printings==
{{#cargo_query:tables=ERA_Printing
|where=ERA_Printing.Card="{{PAGENAME}}"
|fields=ERA_Printing._pageName
|format=gallery
|order by=ERA_Printing.PrintingUID ASC
|mode=traditional
|image width=180
|image height=252
|show bytes=0
|show dimensions=0
|show filename=0
}}
 
==Decks==
'''{{PAGENAME}}''' is included in the following decks:
 
{{#cargo_query:tables=ERA_Deck
|where=ERA_Deck.Dinos HOLDS "{{PAGENAME}}"
|fields=ERA_Deck._pageName=Name,Author,PostDate,Elements
|format=table
|order by=PostDate ASC
}}
 
==Products==
A printing of '''{{PAGENAME}}''' is available in the following products:
 
{{#cargo_query:tables=ERA_Product,ERA_Printing
|join on=ERA_Product.Printings HOLDS ERA_Printing.PrintingUID
|where=ERA_Printing.Card="{{PAGENAME}}"
|fields=ERA_Product._pageName=Product Name,Code=Product Code,Type,AvailableDate=Available Date
|format=table
|merge similar cells=1
|order by=AvailableDate ASC
}}
 
{{#if: {{#cargo_query:tables=ERA_Errata|where=ERA_Errata.Card="{{PAGENAME}}"|fields=ERA_Errata.PostDate|more results text=|default=}}|==Errata==|}}
{{#cargo_query:tables=ERA_Errata
|where=ERA_Errata.Card="{{PAGENAME}}"
|fields=ERA_Errata.PostDate=Date,ERA_Errata.Justification=Justification,ERA_Errata.BeforeText=Before,ERA_Errata.AfterText=After,ERA_Errata.Card=Card
|format=template
|template=ERAErrataListItem
|named args=yes
|named args=yes
}}'''{{PAGENAME}}''' is a card in {{Title|ERA}}.[[Category:ERA Card]][[Category:ERA Dino]]<noinclude>[[Category:Core Templates]]</noinclude>
|default=
}}[[Category:ERA Card]][[Category:ERA Dino]]</includeonly><noinclude>[[Category:Core Templates]]</noinclude>

Latest revision as of 17:44, 22 May 2024