Template:ERACardPage Dino: Difference between revisions

From Goober Games
No edit summary
No edit summary
 
(56 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#cargo_query:tables=ERA_Card
<includeonly>{{#cargo_query:tables=ERA_Card,ERA_Printing
|join on=ERA_Card._pageName=ERA_Printing.Card
|where=ERA_Card._pageName="{{PAGENAME}}"
|where=ERA_Card._pageName="{{PAGENAME}}"
|fields=ERA_Card.UID,Type,Element,Power,Stamina,Hitpoints,Rules
|fields=ERA_Card.UID,Type,Element,Power,Stamina,Hitpoints,Rules,ERA_Printing._pageName=Image
|limit=1
|more results text=
|format=template
|format=template
|template=Infobox ERACard
|template=Infobox ERACard
|order by=ERA_Printing.PrintingUID DESC
|named args=yes
|named args=yes
}}'''{{PAGENAME}}''' is a [[Dino]] card in {{Title|ERA}}.[[Category:ERA Card]][[Category:ERA Dino]]
}}{{BubbleNav|ERACardListDinos|}}
'''{{PAGENAME}}''' is a [[Dino]] card in {{Title|ERA}}.
{{#cargo_query:tables=ERA_Card
|where=ERA_Card._pageName="{{PAGENAME}}"
|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
|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==
==Decks==
Line 18: Line 50:


==Products==
==Products==
'''{{PAGENAME}}''' is included in the following products:
A printing of '''{{PAGENAME}}''' is available in the following products:


{{#cargo_query:tables=ERA_Product
{{#cargo_query:tables=ERA_Product,ERA_Printing
|where=ERA_Product.Cards HOLDS "{{PAGENAME}}"
|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
|fields=ERA_Product._pageName=Product Name,Code=Product Code,Type,AvailableDate=Available Date
|format=table
|format=table
|merge similar cells=1
|order by=AvailableDate ASC
|order by=AvailableDate ASC
}}
}}


</includeonly><noinclude>[[Category:Core Templates]]</noinclude>
{{#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
|default=
}}[[Category:ERA Card]][[Category:ERA Dino]]</includeonly><noinclude>[[Category:Core Templates]]</noinclude>

Latest revision as of 17:44, 22 May 2024