Template:CreatureNew: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(Working template - only update with stable updates to test version)
 
No edit summary
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><span style="display:inline-block;float:right;margin-bottom:8px;margin-left:8px"><div style="position:relative;z-index:5;">[[File:Creature-box.png|link=]]
<includeonly><span style="display:inline-block;float:right;margin-bottom:8px;margin-left:8px"><div style="position:relative;z-index:5;"><div style="pointer-events:none">[[File:Creature-box.png|link=]]</div>
<span style="width:800px><div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;width:306px;z-index:10;top:28px;font-size:90%;line-height:16px;text-align:center;vertical-align:middle;">{{{name|}}}</div></span>
<span style="width:800px><div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;width:306px;z-index:10;top:27px;font-size:90%;line-height:16px;text-align:center;vertical-align:middle;">{{{display_name|{{{name|}}}}}}</div></span>
<span style="width:200px><div style="position:absolute;width:149px;z-index:11;bottom:201px;text-align:center;">{{swh|{{exist|File:Creature {{{name|}}} (HotA).png|[[File:Creature {{{name|}}} (HotA).png]]|{{{Image|[[File:Creature {{{name|}}}.png]]}}}}}|{{{Image|[[File:Creature {{{name|}}}.png]]}}}|noicon=}}</div></span>
<span style="width:200px><div style="position:absolute;width:149px;z-index:11;bottom:201px;text-align:center;">{{swh|{{exist|File:Creature {{{name|}}} (HotA).png|[[File:Creature {{{name|}}} (HotA).png]]|{{{Image|[[File:Creature {{{name|}}}.png]]}}}}}|{{{Image|[[File:Creature {{{name|}}}.png]]}}}|noicon=}}</div></span>
<div style="position:absolute;left:24px;z-index:10;top:51px;">{{{Image|[[File:CreatureBackground {{{faction|}}}.png|link=]]}}}</div>
<div style="position:absolute;left:24px;z-index:10;top:51px;">{{{Image|[[File:CreatureBackground {{{faction|}}}.png|link=]]}}}</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;left:158px;z-index:10;top:52px;width:282px;font-size:89%;line-height:16px;text-align:justify;text-justify:inter-word">[[Primary Skill|<span style="color:#{{Gold 2}}">Attack Skill</span>]]</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;left:158px;z-index:10;top:52px;width:80px;font-size:89%;line-height:16px;text-align:justify;text-justify:inter-word">[[Primary Skill|<span style="color:#{{Gold 2}}">Attack Skill</span>]]</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;right:28px;z-index:10;top:52px;width:282px;font-size:89%;line-height:16px;text-align:right">{{{attack|}}}</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;right:28px;z-index:10;top:52px;width:64px;font-size:89%;line-height:16px;text-align:right">{{{attack|}}}</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;left:158px;z-index:10;top:71px;width:282px;font-size:89%;line-height:16px;text-align:justify;text-justify:inter-word">[[Primary Skill|<span style="color:#{{Gold 2}}">Defense Skill</span>]]</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;left:158px;z-index:10;top:71px;width:80px;font-size:89%;line-height:16px;text-align:justify;text-justify:inter-word">[[Primary Skill|<span style="color:#{{Gold 2}}">Defense Skill</span>]]</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;right:28px;z-index:10;top:71px;width:282px;font-size:89%;line-height:16px;text-align:right">{{{defense|}}}</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;right:28px;z-index:10;top:71px;width:64px;font-size:89%;line-height:16px;text-align:right">{{{defense|}}}</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;left:158px;z-index:10;top:89px;width:282px;font-size:89%;line-height:16px;text-align:justify;text-justify:inter-word">{{#if:{{{shots|}}}|Shots|}}</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;left:158px;z-index:10;top:89px;width:64px;font-size:89%;line-height:16px;text-align:justify;text-justify:inter-word">{{#if:{{{shots|}}}|Shots|}}</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;right:28px;z-index:10;top:89px;width:282px;font-size:89%;line-height:16px;text-align:right">{{{shots|}}}</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;right:28px;z-index:10;top:89px;width:64px;font-size:89%;line-height:16px;text-align:right">{{{shots|}}}</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;left:158px;z-index:10;top:108px;width:282px;font-size:89%;line-height:16px;text-align:justify;text-justify:inter-word">[[Damage|<span style="color:#{{Gold 2}}">Damage</span>]]</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;left:158px;z-index:10;top:108px;width:64px;font-size:89%;line-height:16px;text-align:justify;text-justify:inter-word">[[Damage|<span style="color:#{{Gold 2}}">Damage</span>]]</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;right:28px;z-index:10;top:108px;width:282px;font-size:89%;line-height:16px;text-align:right">{{{damage|}}}</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;right:28px;z-index:10;top:108px;width:64px;font-size:89%;line-height:16px;text-align:right">{{{damage|}}}</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;left:158px;z-index:10;top:127px;width:282px;font-size:89%;line-height:16px;text-align:justify;text-justify:inter-word">[[Health|<span style="color:#{{Gold 2}}">Health</span>]]</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;left:158px;z-index:10;top:127px;width:64px;font-size:89%;line-height:16px;text-align:justify;text-justify:inter-word">[[Health|<span style="color:#{{Gold 2}}">Health</span>]]</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;right:28px;z-index:10;top:127px;width:282px;font-size:89%;line-height:16px;text-align:right">{{{health|}}}</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;right:28px;z-index:10;top:127px;width:64px;font-size:89%;line-height:16px;text-align:right">{{{health|}}}</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;left:158px;z-index:10;top:146px;width:282px;font-size:89%;line-height:16px;text-align:justify;text-justify:inter-word">[[Speed|<span style="color:#{{Gold 2}}">Speed</span>]]</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;left:158px;z-index:10;top:146px;width:64px;font-size:89%;line-height:16px;text-align:justify;text-justify:inter-word">[[Speed|<span style="color:#{{Gold 2}}">Speed</span>]]</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;right:28px;z-index:10;top:146px;width:282px;font-size:89%;line-height:16px;text-align:right">{{{speed|}}}</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;right:28px;z-index:10;top:146px;width:64px;font-size:89%;line-height:16px;text-align:right">{{{speed|}}}</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;left:158px;z-index:10;top:165px;width:282px;font-size:89%;line-height:16px;text-align:justify;text-justify:inter-word">Move</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;left:158px;z-index:10;top:165px;width:64px;font-size:89%;line-height:16px;text-align:justify;text-justify:inter-word">Move</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;right:28px;z-index:10;top:165px;width:282px;font-size:89%;line-height:16px;text-align:right">{{{move|}}}</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;right:28px;z-index:10;top:165px;width:64px;font-size:89%;line-height:16px;text-align:right">{{{move|}}}</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;left:158px;z-index:10;top:184px;width:282px;font-size:89%;line-height:16px;text-align:justify;text-justify:inter-word">Size</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;left:158px;z-index:10;top:184px;width:64px;font-size:89%;line-height:16px;text-align:justify;text-justify:inter-word">Size</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;right:28px;z-index:10;top:184px;width:282px;font-size:89%;line-height:16px;text-align:right">{{{size|}}}</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;right:28px;z-index:10;top:184px;width:64px;font-size:89%;line-height:16px;text-align:right">{{{size|}}}</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;left:158px;z-index:10;top:203px;width:282px;font-size:89%;line-height:16px;text-align:justify;text-justify:inter-word">Growth</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;left:158px;z-index:10;top:203px;width:64px;font-size:89%;line-height:16px;text-align:justify;text-justify:inter-word">Growth</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;right:28px;z-index:10;top:203px;width:282px;font-size:89%;line-height:16px;text-align:right">{{{growth|}}}</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;right:28px;z-index:10;top:203px;width:64px;font-size:89%;line-height:16px;text-align:right">{{{growth|}}}</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;left:158px;z-index:10;top:221px;width:282px;font-size:89%;line-height:16px;text-align:justify;text-justify:inter-word">[[AI Value|<span style="color:#{{Gold 2}}">AI Value</span>]]</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;left:158px;z-index:10;top:221px;width:64px;font-size:89%;line-height:16px;text-align:justify;text-justify:inter-word">[[AI Value|<span style="color:#{{Gold 2}}">AI Value</span>]]</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;right:28px;z-index:10;top:221px;width:282px;font-size:89%;line-height:16px;text-align:right">{{{aivalue|}}}</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;right:28px;z-index:10;top:221px;width:64px;font-size:89%;line-height:16px;text-align:right">{{{aivalue|}}}</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;left:158px;z-index:10;top:239px;width:282px;font-size:89%;line-height:16px;text-align:justify;text-justify:inter-word">[[AI Value|<span style="color:#{{Gold 2}}">Fight Value</span>]]</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;left:158px;z-index:10;top:239px;width:80px;font-size:89%;line-height:16px;text-align:justify;text-justify:inter-word">[[AI Value|<span style="color:#{{Gold 2}}">Fight Value</span>]]</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;right:28px;z-index:10;top:239px;width:282px;font-size:89%;line-height:16px;text-align:right">{{{fightvalue|}}}</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;right:28px;z-index:10;top:239px;width:64px;font-size:89%;line-height:16px;text-align:right">{{{fightvalue|}}}</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;left:48px;z-index:10;top:190px;width:282px;font-size:89%;line-height:16px;text-align:justify;text-justify:inter-word">Unit Cost</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;left:32px;z-index:10;top:190px;width:96px;font-size:89%;line-height:16px;text-align:justify;text-justify:inter-word">Cost Per Troop</div>
<div>{{#if:{{{resource|}}}|<span style="width:100px><div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;width:107px;z-index:10;top:210px;font-size:90%;line-height:16px;text-align:center;vertical-align:middle;">[[File:Gold symbol for text.png|link=]]<br>{{{goldcost|}}}</div></span><span style="width:100px><div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;width:187px;z-index:10;top:210px;font-size:90%;line-height:16px;text-align:center;vertical-align:middle;">[[File:{{{resource|}}} symbol for text.png|link=]]<br>{{{rescost|}}}</div></span>|<span style="width:100px><div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;width:147px;z-index:10;top:210px;font-size:90%;line-height:16px;text-align:center;vertical-align:middle;">[[File:Gold symbol for text.png|link=]]<br>{{{goldcost|}}}</div></span>}}</div>
<div>{{#if:{{{resource|}}}|<span style="width:100px><div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;width:107px;z-index:10;top:210px;font-size:90%;line-height:16px;text-align:center;vertical-align:middle;">[[File:Gold symbol for text.png|link=]]<br>{{{goldcost|}}}</div></span><span style="width:100px><div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;width:189px;z-index:10;top:210px;font-size:90%;line-height:16px;text-align:center;vertical-align:middle;">[[File:{{{resource|}}} symbol for text.png|link=]]<br>{{{rescost|}}}</div></span>|<span style="width:100px><div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;width:147px;z-index:10;top:210px;font-size:90%;line-height:16px;text-align:center;vertical-align:middle;">[[File:Gold symbol for text.png|link=]]<br>{{{goldcost|}}}</div></span>}}</div>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;left:28px;z-index:10;top:262px;width:246px;font-size:89%;line-height:16px;text-align:justify;text-justify:inter-word">{{{abilities|}}}</div></div></span></includeonly><noinclude>
<div style="font-weight:bold;color: #FFFFFF;{{Shadow}} height:10px;position:absolute;left:28px;z-index:10;top:264px;width:246px;font-size:89%;line-height:14px;text-align:justify;text-justify:inter-word">{{{abilities|}}}</div></div></span></includeonly><noinclude>
{{CreatureTest
{{CreatureNew
| name          = Halberdier
| name          = Halberdier
| faction        = Castle
| faction        = Castle
| attack        = 6
| attack        = {{gt|6}}
| defense        = 5
| defense        = 5
| shots          =  
| shots          =  
| damage        = 2–3
| damage        = {{gt|2}}–3
| health        = 10
| health        = 10
| speed          = 5
| speed          = {{gt|5}}
| move          = Ground
| move          = Ground
| size          = 1
| size          = 1
Line 45: Line 45:
| resource      =  
| resource      =  
| rescost        =  
| rescost        =  
| abilities      = Immune to jousting.
| abilities      = Immune to {{gl|jousting}} bonus.
}}
}}
{{CreatureTest
{{CreatureNew
| name          = Pikeman
| name          = Pikeman
| faction        = Castle
| faction        = Castle
Line 64: Line 64:
| resource      =  
| resource      =  
| rescost        =  
| rescost        =  
| abilities      = Immune to jousting.
| abilities      = Immune to {{gl|jousting}} bonus.
}}
}}
{{CreatureNew
| name          = Paladin
| display_name  = Dracolich
| faction        = Neutral Alt
| attack        = {{gt|19}}
| defense        = {{gt|17}}
| shots          =
| damage        = 25–50
| health        = {{gt|200}}
| speed          = {{gt|14}}
| move          = Flying
| size          = 2
| growth        = 1
| aivalue        = {{swh|4919|4696}}
| fightvalue    = 3228
| goldcost      = 3000
| resource      = Mercury
| rescost        = 1
| abilities      = {{gl|Undead}}. Flies. -1 enemy {{gl|Morale}}. {{gl|Aging}} attack.
}}
'''NOTE:''' Use <nowiki>{{gt|xxx}}</nowiki> to mark numeric stats buffed by the creature upgrade.
'''NOTE:''' Lines breaks should be unnecessary - the text is justified and will always fill the line width.
__NOTOC__
__NOTOC__
[[Category:Creature templates]]</noinclude>
[[Category:Creature templates]]</noinclude>

Latest revision as of 01:27, 5 January 2025

Halberdier
6
5
2–3
10
5
Move
Ground
Size
1
Growth
14
115
115
Cost Per Troop

75
Immune to jousting bonus.
Pikeman
4
5
1–3
10
4
Move
Ground
Size
1
Growth
14
80
100
Cost Per Troop

60
Immune to jousting bonus.
Dracolich
19
17
25–50
200
14
Move
Flying
Size
2
Growth
1
4919 Horn of the Abyss4696 Shadow of Death
3228
Cost Per Troop

3000

1
Undead. Flies. -1 enemy Morale. Aging attack.

NOTE: Use {{gt|xxx}} to mark numeric stats buffed by the creature upgrade.

NOTE: Lines breaks should be unnecessary - the text is justified and will always fill the line width.