Template:Infobox event: Difference between revisions

From My Little Pony Magic Princess Wiki
No edit summary
No edit summary
Line 21: Line 21:
! colspan="2" |Event Information
! colspan="2" |Event Information
|-
|-
|'''Type''' || {{{type}}}
|'''Type''' || [[{{{type}}} Events]]
|-
|-
|'''Update added''' || {{{update}}}
|'''Update added''' || {{{update}}}
Line 29: Line 29:
|'''Re-runs''' ||{{{reruns|}}}
|'''Re-runs''' ||{{{reruns|}}}
|- style="text-align: center;"
|- 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>

Revision as of 23:37, 15 June 2025

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

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