Difference between revisions of "Template:Season"
Margotbean (talk | contribs) m (Reverted edits by IBugOne (talk) to last revision by Margotbean) Tag: Rollback |
|||
(33 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#switch: {{{1}}} | + | <includeonly><span style="display:inline; margin-right:0;">{{#switch: {{lc:{{{1}}}}} |
− | | spring = [[File:Spring.png|{{{width|24px}}}]] [[Spring]] | + | |1|01|spring|[[spring]] = [[File:Spring.png|{{{width|24px}}}|link=]]{{#if:{{{2|}}}| {{{2|}}}}} [[Spring]] |
− | | summer = [[File:Summer.png|{{{width|24px}}}]] [[Summer]] | + | |2|02|summer|[[summer]] = [[File:Summer.png|{{{width|24px}}}|link=]]{{#if:{{{2|}}}| {{{2|}}}}} [[Summer]] |
− | | fall= [[File:Fall.png|{{{width|24px}}}]] [[Fall]] | + | |3|03|fall|autumn|[[fall]]|[[autumn]] = [[File:Fall.png|{{{width|24px}}}|link=]]{{#if:{{{2|}}}| {{{2|}}}}} [[Fall]] |
− | | winter= [[File:Winter.png|{{{width|24px}}}]] [[Winter]] | + | |4|04|winter|[[winter]] = [[File:Winter.png|{{{width|24px}}}|link=]]{{#if:{{{2|}}}| {{{2|}}}}} [[Winter]] |
− | | | + | |marriage|[[marriage]] = [[File:Mermaid's Pendant.png|{{{width|24px}}}|link=]] [[Marriage]] |
− | + | |deviations = Deviations | |
+ | |5|05|all|any = [[File:All Seasons Icon.png|{{{width|24px}}}|link=]] [[Seasons|All]] | ||
+ | |#default = {{ucfirst:{{{1|}}} }} }}</span></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> |
Latest revision as of 05:16, 23 June 2024
Description
This template displays the icon for the requested season, plus the season as a link to its associated article.
Notes
The template recognizes two special values of season, Marriage and Deviations, for the sake of NPC schedule pages (see Template:ScheduleHeader).
Use
{{Season|name of season|day (optional)|width (optional)}}
Examples
{{Season|Spring}} {{Season|Marriage}} {{Season|Deviations}} {{Season|All|width=48}} {{Season|Summer|24}}