Difference between revisions of "Template:Event List"

From A3! Wiki
m
m
Line 42: Line 42:
 
| {{#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=}}
 
| {{#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=}}
 
|}-->
 
|}-->
 +
[[File:{{{banner|}}}|right|500px]]
 
=Event Information=
 
=Event Information=
[[File:{{{banner|}}}|right|500px]]
 
 
'''{{{name_en|}}}'''{{#if: {{{name_alt|}}} | , alt. "{{{name_alt|}}}" }}{{#if: {{{name_lit|}}} | , lit. "{{{name_lit|}}}" }} {{#if: {{{name_jp|}}} |({{{name_jp}}} ''{{{name_ro|}}}'')|}} is event number {{{number}}} in A3! overall. {{#if: {{{extra|}}}|{{{extra|}}}|}}
 
'''{{{name_en|}}}'''{{#if: {{{name_alt|}}} | , alt. "{{{name_alt|}}}" }}{{#if: {{{name_lit|}}} | , lit. "{{{name_lit|}}}" }} {{#if: {{{name_jp|}}} |({{{name_jp}}} ''{{{name_ro|}}}'')|}} is event number {{{number}}} in A3! overall. {{#if: {{{extra|}}}|{{{extra|}}}|}}
  
Line 51: Line 51:
 
'''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=}}<br>
 
'''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=}}<br>
 
'''Previous Event:''' {{#cargo_query:tables=Event|fields=CONCAT("[[",name_en,"]]")|where=number={{{number|}}}-1}}<br>
 
'''Previous Event:''' {{#cargo_query:tables=Event|fields=CONCAT("[[",name_en,"]]")|where=number={{{number|}}}-1}}<br>
'''Next Event:''' {{#cargo_query:tables=Event|fields=CONCAT("[[",name_en,"]]")|where=number={{{number|}}}+1}}<br>
+
'''Next Event:''' {{#cargo_query:tables=Event|fields=CONCAT("[[",name_en,"]]")|where=number={{{number|}}}+1|default=}}<br>
 
[[Category:Events]] [[Category:{{{type|}}} Events]]
 
[[Category:Events]] [[Category:{{{type|}}} Events]]
 
{{clear}}
 
{{clear}}
 
</includeonly>
 
</includeonly>

Revision as of 21:17, 8 January 2018

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