Difference between revisions of "Template:Event List"
From A3! Wiki
m (added theme2 field for mixed troupe plays) |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 12: | Line 12: | ||
|troupe=String | |troupe=String | ||
|theme=String | |theme=String | ||
+ | |theme2=String | ||
|extra=Wikitext | |extra=Wikitext | ||
}} | }} | ||
Line 26: | Line 27: | ||
|troupe={{{troupe|}}} | |troupe={{{troupe|}}} | ||
|theme={{{theme|}}} | |theme={{{theme|}}} | ||
+ | |theme2={{{theme2|}}} | ||
|extra={{{extra|}}} | |extra={{{extra|}}} | ||
}}===[[{{{name_en}}}]]=== | }}===[[{{{name_en}}}]]=== | ||
Line 31: | Line 33: | ||
<div class="eventinfo"><ul><li>'''Event Period:''' {{#if: {{{start|}}} | {{#time: F j, Y H:i | {{{start}}}}} JST |TBA}}{{#if: {{{end|}}} | to {{#time: F j, Y H:i | {{{end}}}}} JST |}}</li> | <div class="eventinfo"><ul><li>'''Event Period:''' {{#if: {{{start|}}} | {{#time: F j, Y H:i | {{{start}}}}} JST |TBA}}{{#if: {{{end|}}} | to {{#time: F j, Y H:i | {{{end}}}}} JST |}}</li> | ||
{{#if: {{{countdown|}}} | <li>'''Countdown:''' {{{countdown}}}</li> | }} | {{#if: {{{countdown|}}} | <li>'''Countdown:''' {{{countdown}}}</li> | }} | ||
− | <li>'''Related Scouting:''' {{#cargo_query:tables= Scout|fields=CONCAT("[[Scouting Events" | + | <li>'''Related Scouting:''' {{#cargo_query:tables=Scout|fields=CONCAT("[[Scouting Events","#",Scout.name_en,"|",Scout.name_en,"]]")|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|frameless|link={{{name_en}}}|{{{name_en}}}]] |[[File:{{Replace|{{{name_en|}}}}} event banner.png|frameless|link={{{name_en}}}|{{{name_en}}}]]}}</div></div></includeonly> | </li></ul></div><div class="eventbanner">{{#ifeq: {{{type|}}} | Rerelease | [[File:2018-12 event banner.png|frameless|link={{{name_en}}}|{{{name_en}}}]] |[[File:{{Replace|{{{name_en|}}}}} event banner.png|frameless|link={{{name_en}}}|{{{name_en}}}]]}}</div></div></includeonly> |
Latest revision as of 07:53, 31 March 2021
This template defines the table "Event". View table.