Template:SmCost: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(overhaul template to not need as much formatting on the input side.)
m (Formatting)
 
Line 1: Line 1:
<includeonly>{| align=center cellspacing=0 cellpadding=5 style="background-color:#{{{bgcolor|}}}; text-align:center"
<includeonly>
{| align=center cellspacing=0 cellpadding=5 style="background-color:#{{{bgcolor|}}}; text-align:center"
|- valign=middle align=middle
|- valign=middle align=middle
| {{#switch: {{{w|}}}| =style="display: none;"|}} | {{#switch: {{{vert|}}}| y={{W}}<br>{{{w|}}} | {{{w|}}}{{-}}{{W}}}}
| {{#switch: {{{w|}}}| =style="display: none;"|}} | {{#switch: {{{vert|}}}| y={{W}}<br>{{{w|}}} | {{{w|}}}{{-}}{{W}}}}

Latest revision as of 19:52, 15 April 2024

Examples[edit]

{{SmCost|vert=y|m=10|g=7500}}
Wood
Mercury
10
Ore
Sulfur
Crystal
Gem
Gold
7500
{{SmCost|vert=y|w=100|m=100|o=100|s=100|c=100|gem=100|g=50000}}
Wood
100
Mercury
100
Ore
100
Sulfur
100
Crystal
100
Gem
100
Gold
50000
{{SmCost|m=10|g=7500}}
 Wood 10 Mercury  Ore  Sulfur  Crystal  Gem 7500 Gold
{{SmCost|w=100|m=100|o=100|s=100|c=100|gem=100|g=50000}}
100 Wood 100 Mercury 100 Ore 100 Sulfur 100 Crystal 100 Gem 50000 Gold