Template:BonusR: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
m (Add example (TODO: fix bonus alignment problem with pictures))
mNo edit summary
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{| style="background-color: #{{Blue 0}}; color: white; border: 1px solid #{{Blue 2b}}; text-align:center; display:inline-table;"
<includeonly><span style="display:inline-block; vertical-align:top;">{{overlay
| style="height:52px; width:52px;" |{{{1}}}<br>{{{2}}}
|image={{{1}}} (bonus).png
|}</includeonly><noinclude>
|imagehover=Start with +{{{2|}}} {{#switch: {{{1|}}}| Basic = Wood & Ore | Magic = Mercury, Sulfur, Crystal & Gems | {{{1}}}}}
|imagelink={{#switch: {{{1|}}}| Basic = Resources | Magic = Resources | {{{1}}}}}
|width=64
|height=64
|legendbox=none
|border=no
|overlay{{{2}}}=total
|overlay{{{2}}}form=image
|overlay{{{2}}}color=black
|overlay{{{2}}}top=48
|overlay{{{2}}}left=6
}}</span></includeonly><noinclude>
==Examples==
==Examples==
{| border=1 style="background-color: #{{Blue 0}}; color: white; border: 1px solid #{{Blue 2b}}; text-align:left; {{Sans}}"
{| style="background-color: #{{Blue 1}}; color: white; text-align:left; {{Sans}}"
|- style="background-color: #{{Blue 0}};"
|- style="background-color: #{{Blue 1}};"
|-  
|-  
| colspan=4 style="text-align:center;" | '''Choose a bonus:'''<br>{{BonusB|Castle|Stables}}{{BonusR|{{G}}|5000}}{{BonusR|{{S}}|8}}
| colspan=4 style="text-align:center;" | '''Choose a bonus:'''<br>{{BonusR|Basic|5}}{{BonusR|Magic|10}}{{BonusR|Gold|5000}}{{BonusR|Sulfur|8}}
|}
|}
[[Category:Bonus templates]]</noinclude>
[[Category:Bonus templates]]</noinclude>

Latest revision as of 03:11, 22 October 2024

Examples[edit | hide | hide all]

Choose a bonus:
Start with +5 Wood & Ore
5
Start with +10 Mercury, Sulfur, Crystal & Gems
10
Start with +5000 Gold
5000
Start with +8 Sulfur
8