Template:BonusB: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(Automatically crop from the center of the large pic if the small one is not found (TODO: figure out line breaks, links on upgraded buildings))
No edit summary
 
(26 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{-}}{{exist|File:{{{1}}} {{{2}}}.gif|[[File: {{{1}}} {{{2}}}.gif|baseline|Start with {{{2}}}|link={{{2}}}]]|
<includeonly><span style="display:inline-block; vertical-align:top; float:left; width:64px; height:64px;"><div style="position:absolute;z-index:5;">{{exist|File:{{{1}}} {{{2}}}.{{{ext|gif}}}|[[File: {{{1}}} {{{2}}}.{{{ext|gif}}}|baseline|Start with {{{hover|{{{2}}}}}}{{#if: {{{loc|}}}|{{-}}at {{{loc}}}|}}|link={{{2}}}]]|[[File: {{{1}}} {{{2}}}.gif|baseline|Start with {{{hover|{{{2}}}}}}{{#if: {{{loc|}}}|{{-}}at {{{loc}}}|}}|link={{{link|{{{2}}}}}}]]}}</div></span></includeonly><noinclude>
{{CSS image crop|Image = [[File: {{{1}}} {{{2}}} large.gif|baseline|Start with {{{2}}}|link={{{2}}}]]
|bSize = 150
|cWidth = 64
|cHeight = 64
|oTop = 30
|oLeft = 43
}}}}{{-}}</includeonly><noinclude>
==Examples==
==Examples==
{{BonusB|Castle|Stables}}{{BonusB|Dungeon|Mage Guild level 2}}{{BonusB|Necropolis|Blacksmith}}
{{BonusB|Castle|Stables}}{{BonusB|Dungeon|Mage Guild level 2|hover=Mage Guild Level 2|link=Mage Guild}}{{BonusB|Necropolis|Blacksmith}}
[[Category:Bonus templates]]</noinclude>
[[Category:Bonus templates]]</noinclude>

Latest revision as of 16:34, 6 March 2025

Examples[edit | hide | hide all]

Start with Stables
Start with Mage Guild Level 2
Start with Blacksmith