Template:EN Event: Difference between revisions

From A3! Wiki
AsahiKaen (talk | contribs)
m theme2 support for when mixed plays come (uwu
AsahiKaen (talk | contribs)
m added PST/PDT suffix for event period (forgot to update this template when I worked on the pacific timezone feature :P)
Line 6: Line 6:


'''Event Type:''' [[{{{type|}}} Events|{{{type|}}} Event]]<br>
'''Event Type:''' [[{{{type|}}} Events|{{{type|}}} Event]]<br>
'''Event Period:''' {{{start}}} to {{{end}}}<br> {{#if: {{{theme2|}}} | '''Theme Songs:''' [[{{{theme|}}}]], [[{{{theme2|}}}]]<br> | {{#if: {{{theme|}}} | '''Theme Song:''' [[{{{theme|}}}]]<br>|}} }}
'''Event Period:''' {{#if: {{{start|}}} | {{#switch: {{{timezone|}}}
|PST to PST|PST to PDT = {{#time: F j, Y H:i | {{{start}}} }} PST
|PDT to PDT|PDT to PST = {{#time: F j, Y H:i | {{{start}}} }} PDT
}} |TBA}}{{#if: {{{end|}}} | {{#switch: {{{timezone|}}}
|PST to PST|PDT to PST = &nbsp;to {{#time: F j, Y H:i | {{{end}}} }} PST
|PST to PDT|PDT to PDT = &nbsp;to {{#time: F j, Y H:i | {{{end}}} }} PDT
}} |&nbsp;to TBA}}<br> {{#if: {{{theme2|}}} | '''Theme Songs:''' [[{{{theme|}}}]], [[{{{theme2|}}}]]<br> | {{#if: {{{theme|}}} | '''Theme Song:''' [[{{{theme|}}}]]<br>|}} }}
'''Event Tryout:''' {{#cargo_query:tables=EN_Tryout|fields=CONCAT("[[EN Tryout List","#",EN_Tryout.name_enserver,"|",EN_Tryout.name_enserver,"]]")|where=EN_Tryout.event HOLDS "{{{name_enserver|}}}" }}
'''Event Tryout:''' {{#cargo_query:tables=EN_Tryout|fields=CONCAT("[[EN Tryout List","#",EN_Tryout.name_enserver,"|",EN_Tryout.name_enserver,"]]")|where=EN_Tryout.event HOLDS "{{{name_enserver|}}}" }}
{{#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 05:31, 10 April 2021