Template:ERACardPage Dino: Difference between revisions
No edit summary |
No edit summary |
||
(61 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 | |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}}. | }}{{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== | ||
'''{{PAGENAME}}''' is included in the following decks: | '''{{PAGENAME}}''' is included in the following decks: | ||
{{#cargo_query:tables=ERA_Deck | {{#cargo_query:tables=ERA_Deck | ||
|where=ERA_Deck.Dinos HOLDS "{{PAGENAME}}" | |where=ERA_Deck.Dinos HOLDS "{{PAGENAME}}" | ||
Line 17: | Line 50: | ||
==Products== | ==Products== | ||
'''{{PAGENAME}}''' is | A printing of '''{{PAGENAME}}''' is available in the following products: | ||
{{#cargo_query: | |||
{{#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: | {{#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= | ||
</includeonly><noinclude>[[Category:Core Templates]]</noinclude> | }}[[Category:ERA Card]][[Category:ERA Dino]]</includeonly><noinclude>[[Category:Core Templates]]</noinclude> |