Difference between revisions of "Template:Event List"

From A3! Wiki
Line 37: Line 37:
 
! Previous !! {{{number|}}}<br />{{{name_en|}}}{{#if: {{{name_jp|}}}|・{{{name_jp}}}|}} !! Next
 
! Previous !! {{{number|}}}<br />{{{name_en|}}}{{#if: {{{name_jp|}}}|・{{{name_jp}}}|}} !! Next
 
|-
 
|-
| {{#cargo_query:tables=Event|fields=CONCAT("[[",name_en,"|<]]")|where=number={{{number|}}}-1}} || [[File:{{{banner|}}}|500px]] || {{#cargo_query:tables=Event|fields=CONCAT("[[",name_en,"|>]]")|where=number={{{number|}}}+1|format=text}}
+
| {{#cargo_query:tables=Event|fields=CONCAT("[[",name_en,"|<]]")|where=number={{{number|}}}-1}} || [[File:{{{banner|}}}|500px]] || {{#cargo_query:tables=Event|fields=CONCAT("[[",name_en,"|>]]")|where=number={{{number|}}}+1|format=text|default=}}
 
|-
 
|-
| {{#cargo_query:tables=Event|fields=CONCAT("[[",name_en,"]]")|where=number={{{number|}}}-1}} || '''{{{type|}}} Event'''{{#if: {{{troupe|}}} | <br />{{{troupe|}}} Troupe}} || {{#cargo_query:tables=Event|fields=CONCAT("[[",name_en,"]]")|where=number={{{number|}}}+1|format=text}}
+
| {{#cargo_query:tables=Event|fields=CONCAT("[[",name_en,"]]")|where=number={{{number|}}}-1}} || '''{{{type|}}} Event'''{{#if: {{{troupe|}}} | <br />{{{troupe|}}} Troupe}} || {{#cargo_query:tables=Event|fields=CONCAT("[[",name_en,"]]")|where=number={{{number|}}}+1|format=text|default=}}
 
|}
 
|}
  
 
={{PAGENAME}}=
 
={{PAGENAME}}=
  
<poem>
+
*'''Event Name:''' {{{name_en|}}}{{#if: {{{name_alt|}}} | , alt. "{{{name_alt|}}}" }}{{#if: {{{name_lit|}}} | , lit. "{{{name_lit|}}}" }}
'''Name (English):''' {{{name_en|}}}{{#if: {{{name_alt|}}} | , alt. "{{{name_alt|}}}" }}{{#if: {{{name_lit|}}} | , lit. "{{{name_lit|}}}" }}
+
{{#if: {{{name_jp|}}} | *'''Event Name (Japanese):''' {{{name_jp}}} (''{{{name_ro|}}}'') }}
{{#if: {{{name_jp|}}} | '''Name (Japanese):''' {{{name_jp}}} (''{{{name_ro|}}}'') }}
+
*'''Event Period:''' {{#time: F j, Y H:i | {{{start}}} }} JST to {{#time: F j, Y H:i | {{{end}}} }} JST
'''Event Period:''' {{#time: F j, Y H:i | {{{start}}} }} JST to {{#time: F j, Y H:i | {{{end}}} }} JST
+
{{#if: {{{theme|}}} | *'''Theme Song:''' [[Music/{{{theme|}}}|{{{theme|}}}]] }}
{{#if: {{{theme|}}} | '''Theme Song:''' [[Music/{{{theme|}}}|{{{theme|}}}]] }}
+
*'''Event Scout:''' {{#cargo_query:tables= Scout|fields=Scout.name_en|where=Scout.event HOLDS "{{{name_en|}}}" }} {{#cargo_query:tables= Scout,Cards,CardFiles|join on=Cards.cardset = Scout.name_en, Cards.number = CardFiles.number|fields=CONCAT("[[File:",CardFiles.icon1,"|33px]]"),Cards.rarity = Rarity,Cards.character = Character,Cards.cardname = Card Name|where=Scout.event HOLDS "{{{name_en|}}}" |format=ul|default=}}
'''Event Scout:''' {{#cargo_query:tables= Scout|fields=Scout.name_en|where=Scout.event HOLDS "{{{name_en|}}}" }} {{#cargo_query:tables= Scout,Cards,CardFiles|join on=Cards.cardset = Scout.name_en, Cards.number = CardFiles.number|fields=CONCAT("[[File:",CardFiles.icon1,"|33px]]"),Cards.rarity = Rarity,Cards.character = Character,Cards.cardname = Card Name|where=Scout.event HOLDS "{{{name_en|}}}" |format=ul}}
+
*'''Event Cards:''' {{#cargo_query:tables=Cards,CardFiles|join on=Cards.number = CardFiles.number|fields=CONCAT("[[File:",CardFiles.icon1,"|33px]]"),Cards.rarity = Rarity, Cards.character = Character,Cards.cardname = Card Name|where=Cards.cardset="{{{name_en}}}"|order by=Cards.number|format=ul|default=}}
'''Event Cards:''' {{#cargo_query:tables=Cards,CardFiles|join on=Cards.number = CardFiles.number|fields=CONCAT("[[File:",CardFiles.icon1,"|33px]]"),Cards.rarity = Rarity, Cards.character = Character,Cards.cardname = Card Name|where=Cards.cardset="{{{name_en}}}"|order by=Cards.number|format=ul}}
 
</poem>
 
 
</includeonly>
 
</includeonly>
 +
 +
<noinclude>
 +
{{Event List
 +
|number=16
 +
|name_en=Merry,Xmas! Mr.Blooming.
 +
|start=12/6/2017 16:00
 +
|end=12/15/2017 13:59
 +
|type=Seasonal
 +
|banner=Art.png
 +
}}
 +
</noinclude>

Revision as of 11:12, 5 December 2017

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

Previous 16
Merry,Xmas! Mr.Blooming.
Next
< 500px >
hAve A greAt trip! Seasonal Event Merry,Xmas! Mr.Blooming.

Event List

  • Event Name: Merry,Xmas! Mr.Blooming.
  • Event Period: December 6, 2017 16:00 JST to December 15, 2017 13:59 JST
  • Event Scout: Santa, Come to Town!
    Error: Table CardFiles not found.
  • Event Cards:
    Error: Table CardFiles not found.