Template:Event: Difference between revisions

From A3! Wiki
AsahiKaen (talk | contribs)
m |theme2= support is back for good !!
AsahiKaen (talk | contribs)
m oh wait gotta edit the #if to not show 1st theme song twice :see_no_evil:
Line 7: Line 7:
'''Event Type:''' [[{{{type|}}} Events|{{{type|}}} Event]]<br>
'''Event Type:''' [[{{{type|}}} Events|{{{type|}}} Event]]<br>
'''Event Period:''' {{#time: F j, Y H:i | {{{start}}} }} JST to {{#time: F j, Y H:i | {{{end}}} }} JST<br>
'''Event Period:''' {{#time: F j, Y H:i | {{{start}}} }} JST to {{#time: F j, Y H:i | {{{end}}} }} JST<br>
{{#if: {{{theme|}}} | '''Theme Song:''' [[{{{theme|}}}]]<br>|}}{{#if: {{{theme2|}}} | '''Theme Songs:''' [[{{{theme|}}}]], [[{{{theme2|}}}]]<br>|}}
{{#if: {{{theme2|}}} | '''Theme Songs:''' [[{{{theme|}}}]], [[{{{theme2|}}}]]<br> | '''Theme Song:''' [[{{{theme|}}}]]<br>}}
'''Event Scout:''' {{#cargo_query:tables= Scout|fields=CONCAT("[[Scouting Events","#",Scout.name_en,"|",Scout.name_en,"]]")|where=Scout.event HOLDS "{{{name_en|}}}" }}
'''Event Scout:''' {{#cargo_query:tables= Scout|fields=CONCAT("[[Scouting Events","#",Scout.name_en,"|",Scout.name_en,"]]")|where=Scout.event HOLDS "{{{name_en|}}}" }}
{{#cargo_query:tables=Scout,Cards,Card_Files|join on=Cards.cardset = Scout.name_en, Cards.number = Card_Files.number|fields=Card_Files.icon1, CONCAT(Cards.rarity, ' ', Cards.chara) = Caption, CONCAT('Cards/', Cards.chara, '/', Cards.cardname) = Page Link|where=Scout.event HOLDS "{{{name_en|}}}" |format=gallery|mode=nolines|image width=100px|show bytes=0|show dimensions=0|show filename=0|alt field=Caption|caption field=Caption|link field=Page Link|default=|order by=Cards.number}}
{{#cargo_query:tables=Scout,Cards,Card_Files|join on=Cards.cardset = Scout.name_en, Cards.number = Card_Files.number|fields=Card_Files.icon1, CONCAT(Cards.rarity, ' ', Cards.chara) = Caption, CONCAT('Cards/', Cards.chara, '/', Cards.cardname) = Page Link|where=Scout.event HOLDS "{{{name_en|}}}" |format=gallery|mode=nolines|image width=100px|show bytes=0|show dimensions=0|show filename=0|alt field=Caption|caption field=Caption|link field=Page Link|default=|order by=Cards.number}}

Revision as of 08:00, 31 March 2021