Template:Season: Difference between revisions
Appearance
imported>Margotbean capitalize because it looks better to me |
imported>Margotbean lowercase correction |
||
| Line 1: | Line 1: | ||
<includeonly><span style="display:inline; margin-right:0;">{{#switch: {{{1}}} | <includeonly><span style="display:inline; margin-right:0;">{{#switch: {{lc:{{{1}}}}} | ||
| | | spring = [[File:Spring.png|{{{width|24px}}}|link=Spring]] [[Spring]] | ||
| | | summer = [[File:Summer.png|{{{width|24px}}}|link=Summer]] [[Summer]] | ||
| | | fall | autumn = [[File:Fall.png|{{{width|24px}}}|link=Fall]] [[Fall]] | ||
| | | winter = [[File:Winter.png|{{{width|24px}}}|link=Winter]] [[Winter]] | ||
| | | marriage = [[File:Mermaid's Pendant.png|{{{width|24px}}}|link=Marriage]] [[Marriage]] | ||
| | | deviations = Deviations | ||
| all | any = [[File:All_Seasons_Icon.png|{{{width|24px}}}|link=Seasons]] [[Seasons|All Seasons]] | |||
|{{{1|}}}}}</span></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | |{{ucfirst:{{{1|}}} }} }}</span></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | ||
Revision as of 22:22, 17 June 2018
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:
Spring
Marriage
Deviations
All Seasons
Summer