Template:ERADeckListLookup: Difference between revisions
m (Goober moved page ERADeckListLookup to Template:ERADeckListLookup without leaving a redirect) |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>==Deck List== | <includeonly>==Deck List== | ||
{| style="width:60%;text-align:left" | |||
|- style="vertical-align:top" | |||
! | |||
====Dinos==== | ====Dinos==== | ||
{{#cargo_query:tables=ERA_Deck,ERA_Card | {{#cargo_query:tables=ERA_Deck,ERA_Card | ||
Line 26: | Line 29: | ||
|more results text= | |more results text= | ||
}} | }} | ||
==== | ====Events==== | ||
{{#cargo_query:tables=ERA_Deck,ERA_Card | {{#cargo_query:tables=ERA_Deck,ERA_Card | ||
|join on=ERA_Deck.Events HOLDS ERA_Card._pageName | |join on=ERA_Deck.Events HOLDS ERA_Card._pageName | ||
Line 34: | Line 37: | ||
|template=Template:ERADecklist_1x | |template=Template:ERADecklist_1x | ||
|limit=3 | |limit=3 | ||
|default= | |||
|order by=ERA_Card.UID ASC | |||
|named args=yes | |||
|more results text= | |||
}} | |||
! | |||
====Actions==== | |||
{{#cargo_query:tables=ERA_Deck,ERA_Card | |||
|join on=ERA_Deck.Cards3 HOLDS ERA_Card._pageName | |||
|where=ERA_Deck._pageName="{{PAGENAME}}" AND ERA_Card.Type HOLDS "Action" | |||
|fields=ERA_Card._pageName=Card | |||
|format=template | |||
|template=Template:ERADecklist_3x | |||
|limit=100 | |||
|default= | |||
|order by=ERA_Card.UID ASC | |||
|named args=yes | |||
|more results text= | |||
}}{{#cargo_query:tables=ERA_Deck,ERA_Card | |||
|join on=ERA_Deck.Cards2 HOLDS ERA_Card._pageName | |||
|where=ERA_Deck._pageName="{{PAGENAME}}" AND ERA_Card.Type HOLDS "Action" | |||
|fields=ERA_Card._pageName=Card | |||
|format=template | |||
|template=Template:ERADecklist_2x | |||
|limit=100 | |||
|default= | |default= | ||
|order by=ERA_Card.UID ASC | |order by=ERA_Card.UID ASC | ||
Line 39: | Line 67: | ||
|more results text= | |more results text= | ||
}}{{#cargo_query:tables=ERA_Deck,ERA_Card | }}{{#cargo_query:tables=ERA_Deck,ERA_Card | ||
|join on=ERA_Deck.Cards1 HOLDS ERA_Card._pageName | |||
|where=ERA_Deck._pageName="{{PAGENAME}}" AND ERA_Card.Type HOLDS "Action" | |||
|fields=ERA_Card._pageName=Card | |||
|format=template | |||
|template=Template:ERADecklist_1x | |||
|limit=100 | |||
|default= | |||
|order by=ERA_Card.UID ASC | |||
|named args=yes | |||
|more results text= | |||
}} | |||
====Equipment==== | |||
{{#cargo_query:tables=ERA_Deck,ERA_Card | |||
|join on=ERA_Deck.Cards3 HOLDS ERA_Card._pageName | |join on=ERA_Deck.Cards3 HOLDS ERA_Card._pageName | ||
|where=ERA_Deck._pageName="{{PAGENAME}}" | |where=ERA_Deck._pageName="{{PAGENAME}}" AND ERA_Card.Type HOLDS "Equipment" | ||
|fields=ERA_Card._pageName=Card | |fields=ERA_Card._pageName=Card | ||
|format=template | |format=template | ||
Line 51: | Line 92: | ||
}}{{#cargo_query:tables=ERA_Deck,ERA_Card | }}{{#cargo_query:tables=ERA_Deck,ERA_Card | ||
|join on=ERA_Deck.Cards2 HOLDS ERA_Card._pageName | |join on=ERA_Deck.Cards2 HOLDS ERA_Card._pageName | ||
|where=ERA_Deck._pageName="{{PAGENAME}}" | |where=ERA_Deck._pageName="{{PAGENAME}}" AND ERA_Card.Type HOLDS "Equipment" | ||
|fields=ERA_Card._pageName=Card | |fields=ERA_Card._pageName=Card | ||
|format=template | |format=template | ||
Line 62: | Line 103: | ||
}}{{#cargo_query:tables=ERA_Deck,ERA_Card | }}{{#cargo_query:tables=ERA_Deck,ERA_Card | ||
|join on=ERA_Deck.Cards1 HOLDS ERA_Card._pageName | |join on=ERA_Deck.Cards1 HOLDS ERA_Card._pageName | ||
|where=ERA_Deck._pageName="{{PAGENAME}}" | |where=ERA_Deck._pageName="{{PAGENAME}}" AND ERA_Card.Type HOLDS "Equipment" | ||
|fields=ERA_Card._pageName=Card | |fields=ERA_Card._pageName=Card | ||
|format=template | |format=template | ||
Line 71: | Line 112: | ||
|named args=yes | |named args=yes | ||
|more results text= | |more results text= | ||
}}</includeonly><noinclude>[[Category:Core Templates]]</noinclude> | }} | ||
|}</includeonly><noinclude>[[Category:Core Templates]]</noinclude> |