Template:BonusR: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
Legate (talk | contribs)
Correct the link on Basic/Magic by just linking everything to the Resource page
 
Line 1: Line 1:
<includeonly><span style="display:inline-block; vertical-align:top; float:left; width:64px; height:64px;"><div style="position:absolute;z-index:5;">[[File:{{{1}}} (bonus).png|Start with +{{{2|}}} {{#switch: {{{1|}}}| Basic = Wood & Ore | Magic = Mercury, Sulfur, Crystal & Gems | {{{1}}}}}|link={{{1}}}]]</div>
<includeonly><span style="display:inline-block; vertical-align:top; float:left; width:64px; height:64px;"><div style="position:absolute;z-index:5;">[[File:{{{1}}} (bonus).png|Start with +{{{2|}}} {{#switch: {{{1|}}}| Basic = Wood & Ore | Magic = Mercury, Sulfur, Crystal & Gems | {{{1}}}}}|link=Resource]]</div>
<div style="position:absolute;width:58px"><div style="font-weight:bold; font-family:serif; color: #FFFFFF; text-shadow: 0px 1px 1px black; position:absolute; right:2px; z-index:10; top:44px; text-align:right">{{{2}}}</div></div></span></includeonly><noinclude>
<div style="position:absolute;width:58px"><div style="font-weight:bold; font-family:serif; color: #FFFFFF; text-shadow: 0px 1px 1px black; position:absolute; right:2px; z-index:10; top:44px; text-align:right">{{{2}}}</div></div></span></includeonly><noinclude>
==Examples==
==Examples==
{{BonusR|Basic|5}}{{BonusR|Magic|10}}{{BonusR|Gold|5000}}{{BonusR|Sulfur|8}}
{{BonusR|Basic|5}}{{BonusR|Magic|10}}{{BonusR|Gold|5000}}{{BonusR|Sulfur|8}}
[[Category:Bonus templates]]</noinclude>
[[Category:Bonus templates]]</noinclude>

Latest revision as of 20:38, 21 March 2025

Examples[edit | hide | hide all]

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