Template:Special Event

From HorizonXI Wiki
Revision as of 23:01, 13 February 2023 by Garnet-HorizonXI (Fandom) (talk | contribs) (Created page with "{{#if:{{{1|}}}|{{Special Event/Link|{{{1|}}}|{{{2|{{{1|}}}}}}}}{{#if:{{{year|}}}|<nowiki/> ''({{Special Event/Link|{{#if:||{{{1}}}}} {{{year}}}|{{{year}}}}}{{#if:{{{year 2|}}}|, {{Special Event/Link|{{#if:||{{{1}}}}} {{{year 2}}}|{{{year 2}}}}}{{#if:{{{year 3|}}}|, {{Special Event/Link|{{#if:||{{{1}}}}} {{{year 3}}}|{{{year 3}}}}}{{#if:{{{year 4|}}}|, {{Special Event/Link|{{#if:||{{{1}}}}} {{{year 4}}}|{{{year 4}}}}}{{#if:{{{year 5|}}}|, {{Special Event/Link|{{#if:||{{{1...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

{{Special Event|<event page>|<display>
| year = 
| year 2 =
}}
  • event page: the name of the event's page, used to link to the page. If a guide page exists, it will be linked instead.
  • display: text that will appear instead of the event page's name. This is optional.
  • year, year 2, ...: displays the years in a compact format. Supports up to year 15.

Examples

Code Result
{{Special Event|Happy New Year 2007!}}
Happy New Year 2007!
{{Special Event|Starlight Celebration|year = 2006}}
Starlight Celebration (2006)
{{Special Event|Harvest Festival
| year = 2004
| year 2 = 2005
| year 3 = 2006
| year 4 = 2007
| year 5 = 2008
| year 6 = 2009
}}
Harvest Festival (2004, 2005, 2006, 2007, 2008, 2009)