Jump to content

Template:Gold: Difference between revisions

From StepHarvest Wiki
Use real game asset icons
Animated coin, dedicated step icon, CSS scaling
 
Line 1: Line 1:
<includeonly><templatestyles src="Currency/styles.css" /><span class="sh-amount sh-amount-gold">[[File:Coin.gif|16px|link=|alt=Gold]]&nbsp;{{formatnum:{{{1|0}}}}}</span></includeonly><noinclude>
<includeonly><templatestyles src="Currency/styles.css" /><span class="sh-amount sh-amount-gold">[[File:Coin.gif|link=|alt=Gold]]&nbsp;{{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.