Template:Season: Difference between revisions
Appearance
Initial StepHarvest theme setup |
Vertically center season icon in tag |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><templatestyles src="Season/styles.css" /><span class="sh-season sh-season-{{lc:{{{1|spring}}}}}">{{ucfirst:{{lc:{{{1|Spring}}}}}}}</span></includeonly><noinclude> | <includeonly><templatestyles src="Season/styles.css" /><span class="sh-season sh-season-{{lc:{{{1|spring}}}}}">{{#ifexist:File:Season {{lc:{{{1|spring}}}}}.png|[[File:Season {{lc:{{{1|spring}}}}}.png|14px|link=|alt=]]|}}{{ucfirst:{{lc:{{{1|Spring}}}}}}}</span></includeonly><noinclude> | ||
Renders an in game season as a colored tag, using the seasonal palette from the game's theme files. | Renders an in game season as a colored tag with the season's icon, using the seasonal palette from the game's theme files. | ||
== Usage == | == Usage == | ||
Latest revision as of 15:38, 11 June 2026
Renders an in game season as a colored tag with the season's icon, using the seasonal palette from the game's theme files.
Usage
{{Season|spring}} {{Season|summer}} {{Season|fall}} {{Season|winter}}
For a comma separated list of seasons (as stored in infobox parameters), use the helper module instead:
{{#invoke:StepHarvest|seasons|spring, fall}}