Template:Spell: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(Hide template and add example)
(Remove exist template that would hide missing pictures)
Line 2: Line 2:
| colspan=3 align=center bgcolor={{teal 1}} style="height: 25px; color:white;" | '''{{{name|{{PAGENAME}}}}}'''
| colspan=3 align=center bgcolor={{teal 1}} style="height: 25px; color:white;" | '''{{{name|{{PAGENAME}}}}}'''
|-
|-
| rowspan=5 align=center valign=center style="margin-left: 5px;; margin-right: 5px;" | {{exist|file:{{{image|{{PAGENAME}}.png}}}|[[File:{{{image|{{PAGENAME}}.png}}}|100px]]}}
| rowspan=5 align=center valign=center style="margin-left: 5px;; margin-right: 5px;" | [[File:{{{image|{{PAGENAME}}.png}}}|100px]]
|-
|-
| '''School:'''  
| '''School:'''  

Revision as of 17:45, 12 December 2023

How to use

Copy the code at the beginning of the spell article, and fill in the missing information. Notice, that the factors below are case sensitive meaning, that "school" is not the same as "School".

{{Spell
 | name        = (defaults to PAGENAME)
 | image       = (defaults to PAGENAME.png)
 | custom_text = (defaults to "in the school of {{{school}}}")
 | school      = 
 | level       = 
 | cost        = 
 | duration    = 
 | b_effect    = 
 | a_effect    = 
 | e_effect    = 
}}

Example

Armageddon
School:  Fire Magic
Level:  4th
Cost:  24/20
Duration:  instant
 Basic effect
All troops take (30 + (power × 50)) points of damage.
 Advanced effect
All troops take (60 + (power × 50)) points of damage.
 Expert effect
All troops take (120 + (power × 50)) points of damage.
 Probability of occurrence (%):
Castle   0
Rampart   0
Tower   0 (0*)
Inferno   10
Necropolis   10
Dungeon   20
Stronghold   0
Fortress   0
Conflux   0
Cove Horn of the Abyss   0
* Without Library

Armageddon is a 4th level spell in the School of Fire Magic.