Difference between revisions of "Template:Season"
Jump to navigation
Jump to search
Rigel Kent (talk | contribs) (deleted possibly unneeded <span> container) |
Rigel Kent (talk | contribs) (added {{{2}}} parameter to specify a day) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{1}}} | <includeonly>{{#switch: {{{1}}} | ||
− | | Spring = [[File:Spring.gif|{{{width|24px}}}|link=|alt=|class=pixels]] [[Spring]] | + | | Spring = [[File:Spring.gif|{{{width|24px}}}|link=|alt=|class=pixels]] [[Spring]]{{#if:{{{2|}}}| {{{2}}}}} |
− | | Summer = [[File:Summer.gif|{{{width|24px}}}|link=|alt=|class=pixels]] [[Summer]] | + | | Summer = [[File:Summer.gif|{{{width|24px}}}|link=|alt=|class=pixels]] [[Summer]]{{#if:{{{2|}}}| {{{2}}}}} |
− | | Fall = [[File:Fall.gif|{{{width|24px}}}|link=|alt=|class=pixels]] [[Fall]] | + | | Fall = [[File:Fall.gif|{{{width|24px}}}|link=|alt=|class=pixels]] [[Fall]]{{#if:{{{2|}}}| {{{2}}}}} |
− | | Winter = [[File:Winter.gif|{{{width|24px}}}|link=|alt=|class=pixels]] [[Winter]] | + | | Winter = [[File:Winter.gif|{{{width|24px}}}|link=|alt=|class=pixels]] [[Winter]]{{#if:{{{2|}}}| {{{2}}}}} |
| Marriage = [[File:Mermaid's Pendant.gif|{{{width|24px}}}|link=|alt=|class=pixels]] [[Marriage]] | | Marriage = [[File:Mermaid's Pendant.gif|{{{width|24px}}}|link=|alt=|class=pixels]] [[Marriage]] | ||
| Deviations = Deviations | | Deviations = Deviations | ||
|{{{1|}}}}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | |{{{1|}}}}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> |
Revision as of 04:37, 22 July 2017
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}}
Results:
24px Spring
24px Marriage
Deviations
All
24px Summer 24