Template:Cn: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
Legate (talk | contribs)
mNo edit summary
popup enabled
Line 1: Line 1:
<includeonly>{{swh|noicon=|{{exist|File:Creature portrait {{{image|{{{1}}}}}} (HotA) small.gif|[[File:Creature portrait {{{image|{{{1}}}}}} (HotA) small.gif|{{{1}}}|link={{{2|{{{1}}}}}}{{{border|}}}]]|[[File: Creature portrait {{{image|{{{1}}}}}} small.gif|{{{1}}}|link={{{2|{{{1}}}}}}{{{border|}}}]]}}|[[File:Creature portrait {{{image|{{{1}}}}}} small.gif|{{{1}}}|link={{{2|{{{1}}}}}}{{{border|}}}]]}}{{-}}{{{noname|[[{{{2|{{{1}}}}}}|{{{name|{{{1}}}}}}]]}}}</includeonly><noinclude>
<includeonly>{{swh|noicon=|{{exist|File:Creature portrait {{{image|{{{1}}}}}} (HotA) small.gif|[[File:Creature portrait {{{image|{{{1}}}}}} (HotA) small.gif|{{{1}}}|link={{{2|{{{1}}}}}}{{{border|}}}]]|[[File: Creature portrait {{{image|{{{1}}}}}} small.gif|{{{1}}}|link={{{2|{{{1}}}}}}{{{border|}}}]]}}|[[File:Creature portrait {{{image|{{{1}}}}}} small.gif|{{{1}}}|link={{{2|{{{1}}}}}}{{{border|}}}]]}}{{-}}{{{noname|{{hoverable|{{{2|{{{1}}}}}}|text={{{name|{{{1}}}}}}|{{#invoke:String|replace|CreaturePopup{{{2|{{{1}}}}}}| |_}}}}{{Creature{{#switch:{{#invoke:String|find|{{{2|{{{1}}}}}}| and }}| 0 = | s}}/{{{2|{{{1}}}}}}|popupid={{#invoke:String|replace|CreaturePopup{{{2|{{{1}}}}}}| |_}}}}}}}</includeonly><noinclude>
'''Cn''' is short of creature name.
'''Cn''' is short of creature name.


Line 25: Line 25:
| {{cn|Rogue|image=Orc Chieftain (HotA)}} || <pre>{{cn|Rogue|image=Orc Chieftain (HotA)}}</pre>
| {{cn|Rogue|image=Orc Chieftain (HotA)}} || <pre>{{cn|Rogue|image=Orc Chieftain (HotA)}}</pre>
|}
|}


[[Category: Table templates|Creature name]]
[[Category: Table templates|Creature name]]
__NOTOC__</noinclude>
__NOTOC__</noinclude>

Revision as of 18:03, 24 August 2025

Cn is short of creature name.

Use

The template is used to show a creature's image and a name, both leading to the creature article. The variables for the template are:

  1. = Creature name
  2. = Link (if needed)
  • image= to override the name used for the image
  • noname= for a creature portrait without text
  • name= for a custom naming
  • border= ...not sure?

Test

RogueRogue Rogue

Rogue
8
3
2–4
10
6
Move
Ground
Size
1
Growth
8
135
135
Cost

100

, Black KnightBlack Knight Black Knight

Black Knight
16
16
15–30
120
7
Move
Ground
Size
2
Growth
2
2087
1753
Cost

1200

Undead. Curses enemies.

, RogueRogue NomadNomad Rogues and Nomads

Troll
14
7
10–15
40
7
Move
Ground
Size
1
Growth
3
1024
1024
Cost

500

, HalflingHalfling Halflings

Halfling
4
2
Shots
24
1–3
4
5
Move
Ground
Size
1
Growth
15
75
60
Cost

40

Shoots. Minimum Luck is +1.

and Halfling and Halfling GrenadierHalfling and Halfling Grenadier Factory Halflings

Halfling
4
2
Shots
24
1–3
4
5
Move
Ground
Size
1
Growth
15
75
60
Cost

40

Shoots. Minimum Luck is +1.
Halfling Grenadier
5
2
Shots
24
2–3
4
6
Move
Ground
Size
1
Growth
15
95
75
Cost

60

Shoots. Minimum Luck is +1. Ranged attack ignores 20% of enemy Defense skill.

, RogueRogue Rogue

Rogue
8
3
2–4
10
6
Move
Ground
Size
1
Growth
8
135
135
Cost

100

Examples

RogueRogue Rogue
Rogue
8
3
2–4
10
6
Move
Ground
Size
1
Growth
8
135
135
Cost

100

||
{{Cn|Rogue}}
RogueRogue NomadNomad Rogues and Nomads
Troll
14
7
10–15
40
7
Move
Ground
Size
1
Growth
3
1024
1024
Cost

500

||
{{Cn|Rogue|noname=}}{{Cn|Nomad|name=Rogues and Nomads|Troll}}
HalflingHalfling Halflings
Halfling
4
2
Shots
24
1–3
4
5
Move
Ground
Size
1
Growth
15
75
60
Cost

40

Shoots. Minimum Luck is +1.
and Halfling and Halfling GrenadierHalfling and Halfling Grenadier Factory Halflings
Halfling
4
2
Shots
24
1–3
4
5
Move
Ground
Size
1
Growth
15
75
60
Cost

40

Shoots. Minimum Luck is +1.
Halfling Grenadier
5
2
Shots
24
2–3
4
6
Move
Ground
Size
1
Growth
15
95
75
Cost

60

Shoots. Minimum Luck is +1. Ranged attack ignores 20% of enemy Defense skill.
||
{{Cn|Halfling|name=Halflings}} and {{Cn|Halfling and Halfling Grenadier|image=Halfling (Factory)|name=Factory Halflings}}
RogueRogue Rogue
Rogue
8
3
2–4
10
6
Move
Ground
Size
1
Growth
8
135
135
Cost

100

||
{{cn|Rogue|image=Orc Chieftain (HotA)}}