Template:Event List: Difference between revisions
From A3! Wiki
fixed link so that the current year isn't displayed in the link before it's created when the year is over |
No edit summary |
||
Line 35: | Line 35: | ||
<li>'''Related Scouting:''' {{#cargo_query:tables=Scout|fields=CONCAT('[[Scouting Events{{#ifeq:{{#time:Y|{{{start}}}}}|{{CURRENTYEAR}}||/{{#time:Y| {{{start}}}}}}}','#',Scout.name_en,'|',Scout.name_en,']]')=Name|where=Scout.event HOLDS "{{{name_en|}}}"|order by=Scout.number ASC}}</li> | <li>'''Related Scouting:''' {{#cargo_query:tables=Scout|fields=CONCAT('[[Scouting Events{{#ifeq:{{#time:Y|{{{start}}}}}|{{CURRENTYEAR}}||/{{#time:Y| {{{start}}}}}}}','#',Scout.name_en,'|',Scout.name_en,']]')=Name|where=Scout.event HOLDS "{{{name_en|}}}"|order by=Scout.number ASC}}</li> | ||
<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>'''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><div class="eventbanner">{{#ifeq: {{{type|}}} | Rerelease | [[File:2018-12 event banner.png| | </li></ul></div><div class="eventbanner">{{#ifeq: {{{type|}}} | Rerelease | [[File:2018-12 event banner.png|450px|link={{{name_en}}}|{{{name_en}}}]] |[[File:{{Replace|{{{name_en|}}}}} event banner.png|450px|link={{{name_en}}}|{{{name_en}}}]]}}</div></div></includeonly><noinclude>[[Category:Templates]]</noinclude> | ||
</noinclude> |
Revision as of 16:31, 26 March 2025
This template defines the table "Event". View table.