Template:Gold: Difference between revisions
Appearance
Initial StepHarvest theme setup |
Animated coin, dedicated step icon, CSS scaling |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><templatestyles src="Currency/styles.css" /><span class="sh-amount sh-amount-gold">[[File: | <includeonly><templatestyles src="Currency/styles.css" /><span class="sh-amount sh-amount-gold">[[File:Coin.gif|link=|alt=Gold]] {{formatnum:{{{1|0}}}}}</span></includeonly><noinclude> | ||
Renders a gold amount with the coin icon. In the game, gold is always shown with a coin icon, never as plain text, and the wiki mirrors that. | Renders a gold amount with the animated coin icon. In the game, gold is always shown with a coin icon, never as plain text, and the wiki mirrors that. | ||
The file is embedded at its original size and scaled down with CSS on purpose: server side thumbnails on this wiki are made with GD, which would flatten the GIF to a single frame and kill the animation. | |||
== Usage == | == Usage == | ||
Latest revision as of 15:36, 11 June 2026
Renders a gold amount with the animated coin icon. In the game, gold is always shown with a coin icon, never as plain text, and the wiki mirrors that.
The file is embedded at its original size and scaled down with CSS on purpose: server side thumbnails on this wiki are made with GD, which would flatten the GIF to a single frame and kill the animation.
Usage
{{Gold|55}} {{Gold|1250}}
See also Template:Steps.