Template:Creature bank: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(Undo revision 66433 by Legate (talk))
Tag: Undo
(Add example, hide base template to remove the need for ghost pic)
Line 1: Line 1:
{| width={{{width|}}} cellspacing=0 cellpadding=2 style="border:1px solid; border-color:rgba(0,0,0,0); text-align: center; color:black; background:#{{Grey 4}}; margin-left:8px; float:right; margin-bottom: 10px; "
<includeonly>{| width={{{width|}}} cellspacing=0 cellpadding=2 style="border:1px solid; border-color:rgba(0,0,0,0); text-align: center; color:black; background:#{{Grey 4}}; margin-left:8px; float:right; margin-bottom: 10px; "
|- align=center
|- align=center
| colspan=4 style="background-color:#{{Grey 1}};" | <span style="color:white;">'''{{{name|{{PAGENAME}}}}}'''</span>
| colspan=4 style="background-color:#{{Grey 1}};" | <span style="color:white;">'''{{{name|{{PAGENAME}}}}}'''</span>
Line 19: Line 19:
|-
|-
{{{event|}}}
{{{event|}}}
|}<noinclude>
|}</includeonly><noinclude>
==Usage==
<pre>
<pre>
{{Creature bank}}
{{Creature bank
{{Creature bank row|''<Chance percentage>''|Pikeman|''<Number of creatures>''|''<Informative text>''}}
| width=
|}</pre>
| image=
| content=
{{Creature bank row (see [[:Template:Creature bank row]]}}
| vs= (defaults to [[file:{{PAGENAME}}_(vs).png]])
| event=
}}</pre>


==Example==
{{Creature bank
| width= 140px
| image= [[File:Crypt (dirt-grass-swamp).gif]]
| content=
{{Creature bank row|30 %|Skeleton|30|Walking Dead|20|1500 {{Gold}}||XP=480|T2=}}
{{Creature bank row|30 %|Skeleton|25|Walking Dead|20|Wight|5|2000 {{Gold}}||XP=540|T3=}}
{{Creature bank row|30 %|Skeleton|20|Walking Dead|20|Wight|10|Vampire|5|2500 {{Gold}}<br>Artifact [[Artifact#Class|<span title="Treasure">(T)</span>]] ||XP=750|T4=}}
{{Creature bank row|10 %|Skeleton|20|Walking Dead|20|Wight|10|Vampire|10|5000 {{Gold}}<br>Artifact [[Artifact#Class|<span title="Treasure">(T)</span>]] ||XP=900|T4=}}
| event={{!}} colspan=4 style="background-color:#{{grey 2}};" {{!}}'''Event'''
{{!-}}
{{!}} colspan=4 {{!}} ''You tentatively approach the burial crypt of ancient warriors. Do you want to search the graves?<br>* * *<br>Upon defeating the undead guardians you spend several hours searching the graves and find nothing. Such a despicable act reduces your army's morale.''}}
{{clear|both}}
== See also ==
== See also ==
* [[:Template: Creature bank row]]
* [[:Template: Creature bank row]]


[[Category: Table templates|{{PAGENAME}}]]</noinclude>
[[Category: Table templates|{{PAGENAME}}]]</noinclude>

Revision as of 18:11, 12 December 2023

Usage

{{Creature bank
| width=	
| image=	
| content=	
{{Creature bank row (see [[:Template:Creature bank row]]}}
| vs= (defaults to [[file:{{PAGENAME}}_(vs).png]])
| event=
}}

Example

Creature bank
Picture
% Guards Content XP
 30 % 
Skeleton
30
Walking Dead
20
1500 Gold Experience
480
 30 % 
Skeleton
25
Walking Dead
20
Wight
5
2000 Gold Experience
540
 30 % 
Skeleton
20
Walking Dead
20
Wight
10
Vampire
5
2500 Gold
Artifact (T)
Experience
750
 10 % 
Skeleton
20
Walking Dead
20
Wight
10
Vampire
10
5000 Gold
Artifact (T)
Experience
900
Visiting scheme
File:Creature bank (vs).png
Event
You tentatively approach the burial crypt of ancient warriors. Do you want to search the graves?
* * *
Upon defeating the undead guardians you spend several hours searching the graves and find nothing. Such a despicable act reduces your army's morale.

See also