Difference between revisions of "Template:Event List"

From A3! Wiki
m
m
Line 35: Line 35:
 
{{#if: {{{countdown|}}} | <li>'''Countdown:''' {{{countdown}}}</li> | }}
 
{{#if: {{{countdown|}}} | <li>'''Countdown:''' {{{countdown}}}</li> | }}
 
<li>'''Related Scouting:''' {{#cargo_query:tables= Scout|fields=CONCAT("[[Scouting Events#",Scout.name_en,"|",Scout.name_en,"]]")|where=Scout.event HOLDS "{{{name_en|}}}"}}</li>
 
<li>'''Related Scouting:''' {{#cargo_query:tables= Scout|fields=CONCAT("[[Scouting Events#",Scout.name_en,"|",Scout.name_en,"]]")|where=Scout.event HOLDS "{{{name_en|}}}"}}</li>
<li>'''Featured:''' {{Featured Cards|{{{name_en}}}}}
+
<li>'''Featured:''' {{#ifeq: {{#cargo_query:tables=Cards,Card_Files|join on=Cards.number = Card_Files.number|fields=Card_Files.icon1|where=Cards.cardset="{{{name_en|}}}"|default=N/A}} | N/A | N/A | {{#tag:gallery|{{Featured Cards|{{{name_en}}}}}|mode=nolines|widths=100px}} }}
 
</li></ul></div>
 
</li></ul></div>
 
[[File:{{Replace|{{{name_en|}}}}} event banner.png|frameless|link={{{name_en}}}|{{{name_en}}}]]</div>
 
[[File:{{Replace|{{{name_en|}}}}} event banner.png|frameless|link={{{name_en}}}|{{{name_en}}}]]</div>
 
</includeonly>
 
</includeonly>

Revision as of 06:12, 20 June 2018

This template defines the table "Event". View table.