Template:BonusCr: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(Update hover text to handle war machines)
mNo edit summary
 
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{-}}[[File: {{{1}}} portrait.gif|baseline|Start with {{{2|a}}} {{{1}}}(s)|link={{{1}}}]]{{-}}</includeonly><noinclude>
<includeonly><span style="display:inline-block; vertical-align:top;">{{overlay
|image={{{1}}} portrait.png
|imagehover=Start with {{{2|a}}} {{{1}}}{{#if: {{{2|}}}|(s)|}}{{#if: {{{loc|}}}|{{-}}at {{{loc}}}|}}
|imagelink={{{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>
==Syntax==
* (1st param) = Creature
* (2nd param) = Number of creautres
* loc = where the creatures will appear
 
==Examples==
==Examples==
{{BonusCr|Wyvern Monarch|3}}
{{BonusCr|Wyvern Monarch|13|loc=Castle (49, 85, 0)}}{{BonusCr|Ballista}}
{{BonusCr|Ballista}}
[[Category:Bonus templates]]</noinclude>
[[Category:Bonus templates]]</noinclude>

Latest revision as of 21:01, 29 October 2024

Syntax[edit | hide | hide all]

  • (1st param) = Creature
  • (2nd param) = Number of creautres
  • loc = where the creatures will appear

Examples[edit | hide]

Start with 13 Wyvern Monarch(s) at Castle (49, 85, 0)
13
Start with a Ballista