Template:BonusB: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(Automatically use the large file if the small one is not found)
(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))
Line 1: Line 1:
<includeonly>{{-}}{{exist|File:{{{1}}} {{{2}}}.gif|[[File: {{{1}}} {{{2}}}.gif|baseline|Start with {{{2}}}|link={{{2}}}]]|[[File: {{{1}}} {{{2}}} large.gif|baseline|Start with {{{2}}}|link={{{2}}}]]}}{{-}}</includeonly><noinclude>
<includeonly>{{-}}{{exist|File:{{{1}}} {{{2}}}.gif|[[File: {{{1}}} {{{2}}}.gif|baseline|Start with {{{2}}}|link={{{2}}}]]|
{{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|Castle|Stables}}{{BonusB|Dungeon|Mage Guild level 2}}{{BonusB|Necropolis|Blacksmith}}
{{BonusB|Dungeon|Mage Guild level 3}}
[[Category:Bonus templates]]</noinclude>
[[Category:Bonus templates]]</noinclude>

Revision as of 16:21, 15 December 2023

Examples

 Start with Stables  Start with Mage Guild level 2  Start with Blacksmith