Template:ERACardPage Dino: Difference between revisions

From Goober Games
No edit summary
No edit summary
 
(60 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,Image,Power,Stamina,Hitpoints,Edition,Product,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:
{{#cargo_query:tables=ERA_Product,ERA_Printing
    tables=ERA_Card=card, ERA_Product=product
|join on=ERA_Product.Printings HOLDS ERA_Printing.PrintingUID
    |join on=card.Product HOLDS product.Code
|where=ERA_Printing.Card="{{PAGENAME}}"
    |fields=product._pageName=Product Page, product.Code=Product Code, product.Type=Type, product.AvailableDate=Available Date, product.UPC=UPC
|fields=ERA_Product._pageName=Product Name,Code=Product Code,Type,AvailableDate=Available Date
    |where=card._pageName="{{PAGENAME}}"
|format=table
    |format=table
|merge similar cells=1
|order by=AvailableDate ASC
}}
}}


'''{{PAGENAME}}''' has a chance to be included in the following products:
{{#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
{{#cargo_query:
|where=ERA_Errata.Card="{{PAGENAME}}"
    tables=ERA_Card=card, ERA_Product=product
|fields=ERA_Errata.PostDate=Date,ERA_Errata.Justification=Justification,ERA_Errata.BeforeText=Before,ERA_Errata.AfterText=After,ERA_Errata.Card=Card
    |join on=card.ChanceProduct HOLDS product.Code
|format=template
    |fields=product._pageName=Product Page, product.Code=Product Code, product.Type=Type, product.AvailableDate=Available Date, product.UPC=UPC
|template=ERAErrataListItem
    |where=card._pageName="{{PAGENAME}}"
|named args=yes
    |format=table
|default=
}}
}}[[Category:ERA Card]][[Category:ERA Dino]]</includeonly><noinclude>[[Category:Core Templates]]</noinclude>
</includeonly><noinclude>[[Category:Core Templates]]</noinclude>

Latest revision as of 17:44, 22 May 2024