Template:ERACardPage Dino: Difference between revisions

From Goober Games
No edit summary
No edit summary
Line 8: Line 8:


==Decks==
==Decks==
{{#cargo_query:tables=ERA_Deck
'''{{PAGENAME}}''' is included in the following decks:
|where=ERA_Deck.Dinos HOLDS "{{PAGENAME}}"
{{#cargo_query:tables=ERA_Product
|where=ERA_Product.Code="{{PAGENAME}}"
|fields=ERA_Deck._pageName=Name,Author,PostDate,Elements
|fields=ERA_Deck._pageName=Name,Author,PostDate,Elements
|format=table
|format=table
|order by=PostDate ASC
|order by=PostDate ASC
}}
==Products==
'''{{PAGENAME}}''' is available in the following products:
{{#cargo_query:
    tables=ERA_Card=card, ERA_Product=product
    |join on=card.Product HOLDS product.Code
    |fields=product._pageName=Product Page, product.Code=Product Code, product.UPC=UPC, product.Type=Type, product.AvailableDate=Available Date
    |where=card._pageName="{{PAGENAME}}"
    |format=table
}}
}}
</includeonly><noinclude>[[Category:Core Templates]]</noinclude>
</includeonly><noinclude>[[Category:Core Templates]]</noinclude>

Revision as of 13:52, 17 May 2024