Template:Infobox event: Difference between revisions

From My Little Pony Magic Princess Wiki
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 17: Line 17:
! colspan="2" |{{PAGENAME}}
! colspan="2" |{{PAGENAME}}
|-
|-
| colspan="2" | [[File:{{PAGENAME}}.png]]
| colspan="2" | [[File:{{PAGENAME}}.png|300px|center]]
|-
|-
! colspan="2" |Event Information
! colspan="2" |Event Information
|-
|-
|'''Type''' || {{{type}}}
|'''Type''' || {{#switch:{{{type}}}|Blitz=[[Blitz Events]]|Siege=[[Siege Events]]|{{{type|}}}}}
|-
|-
|'''Update added''' || {{{update}}}
|'''Update added''' || {{{update}}}
Line 28: Line 28:
|-
|-
|'''Re-runs''' ||{{{reruns|}}}
|'''Re-runs''' ||{{{reruns|}}}
|-
|- style="text-align: center;"
|← {{#cargo_query:tables=Events|fields=CONCAT('[[',_pageID,']]')=Page|where=number={{{number|}}}-1}}||{{#cargo_query:tables=Events|fields=CONCAT('[[',_pageID,']]')=Page|where=number={{{number|}}}+1}} →
|{{#ifeq:{{#cargo_query:tables=Events|fields=CONCAT('[[',_pageID,']]')=Page|where=number={{{number|}}}-1}}|No results||← {{#cargo_query:tables=Events|fields=CONCAT('[[',_pageID,']]')=Page|where=number={{{number|}}}-1}}}}||{{#ifeq:{{#cargo_query:tables=Events|fields=CONCAT('[[',_pageID,']]')=Page|where=number={{{number|}}}+1}}|No results||{{#cargo_query:tables=Events|fields=CONCAT('[[',_pageID,']]')=Page|where=number={{{number|}}}+1}} →}}
|}
|}
[[Category:{{{type|}}} event]]</includeonly>
[[Category:{{{type|}}} event]]</includeonly>

Latest revision as of 23:42, 15 June 2025

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

{{Infobox event
|number=
|type=
|update=
|startdate=
|enddate=
|reruns=
}}