Template:SmCost: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
m (Shrink testing)
(Attempt at making this template more compact)
Line 1: Line 1:
{| align=center cellspacing=0 cellpadding=0 style="background-color:#{{{bgcolor|}}}; text-align:center; width:100%"
<includeonly>{| align=center cellspacing=0 cellpadding=5 style="background-color:#{{{bgcolor|}}}; text-align:center"
|- valign=middle align=middle
|- valign=middle align=middle
| {{-}}{{{1|}}}
| {{#switch: {{{1|}}}| | style="display: none;"}} | {{-}}{{{1|}}}
| {{-}}{{{2|2}}}
| {{#switch: {{{2|}}}| | style="display: none;"}} | {{-}}{{{2|}}}
| {{-}}{{{3|3}}}
| {{#switch: {{{3|}}}| | style="display: none;"}} | {{-}}{{{3|}}}
| {{-}}{{{4|4}}}
| {{#switch: {{{4|}}}| | style="display: none;"}} | {{-}}{{{4|}}}
| {{-}}{{{5|5}}}
| {{#switch: {{{5|}}}| | style="display: none;"}} | {{-}}{{{5|}}}
| {{-}}{{{6|6}}}
| {{#switch: {{{6|}}}| | style="display: none;"}} | {{-}}{{{6|}}}
| {{-}}{{{7|7}}}
| {{#switch: {{{7|}}}| | style="display: none;"}} | {{-}}{{{7|}}}
|}<noinclude>
|}</includeonly><noinclude>
== Examples ==
<pre>{{SmCost|{{M}}<br>10|{{G}}<br>7500}}</pre>
{{SmCost|{{M}}<br>10|{{G}}<br>7500}}
<pre>{{SmCost|{{W}}<br>100|{{M}}<br>100|{{O}}<br>100|{{S}}<br>100|{{C}}<br>100|{{Gem}}<br>100|{{G}}<br>50000}}</pre>
{{SmCost|{{W}}<br>100|{{M}}<br>100|{{O}}<br>100|{{S}}<br>100|{{C}}<br>100|{{Gem}}<br>100|{{G}}<br>50000}}


[[Category: Help templates]]</noinclude>
[[Category: Help templates]]</noinclude>

Revision as of 14:09, 22 March 2024

Examples

{{SmCost|{{M}}<br>10|{{G}}<br>7500}}
 Mercury
10
 Gold
7500
         
{{SmCost|{{W}}<br>100|{{M}}<br>100|{{O}}<br>100|{{S}}<br>100|{{C}}<br>100|{{Gem}}<br>100|{{G}}<br>50000}}
 Wood
100
 Mercury
100
 Ore
100
 Sulfur
100
 Crystal
100
 Gem
100
 Gold
50000