Template:Spell: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
! colspan=3 style="height: 25px; color:white; background-color:#{{teal 1}}A0!important;" | {{{name|{{PAGENAME}}}}}
! colspan=3 style="height: 25px; color:white; background-color:#{{teal 1}}A0!important;" | {{{name|{{PAGENAME}}}}}
|-
|-
| rowspan=5 align=center valign=center style="margin-left: 5px; margin-right: 5px;" | [[File:{{{image|{{PAGENAME}}.png}}}]]
| rowspan=5 align=center valign=center style="margin-left: 4px; margin-right: 4px;" | [[File:{{{image|{{PAGENAME}}.png}}}]]
|-
|-
| '''School:'''  
| '''School:'''  
Line 18: Line 18:
! colspan=3 align=left style="background-color:#{{teal_2}}; padding-left:4px" | Basic effect
! colspan=3 align=left style="background-color:#{{teal_2}}; padding-left:4px" | Basic effect
|-
|-
| colspan=3 style="padding-left:4px" | {{{b_effect|}}}
| colspan=3 style="padding-left:4px; padding-right:4px" | {{{b_effect|}}}
|-
| colspan=3 | {{-}}
|-
|-
! colspan=3 align=left style="background-color:#{{teal_2}}; padding-left:4px" | Advanced effect
! colspan=3 align=left style="background-color:#{{teal_2}}; padding-left:4px" | Advanced effect
|-
|-
| colspan=3 style="padding-left:4px" | {{{a_effect|}}}
| colspan=3 style="padding-left:4px; padding-right:4px" | {{{a_effect|}}}
|-
| colspan=3 | {{-}}
|-
|-
! colspan=3 align=left style="background-color:#{{teal_2}}; padding-left:4px" | Expert effect
! colspan=3 align=left style="background-color:#{{teal_2}}; padding-left:4px" | Expert effect
|-
|-
| colspan=3 style="padding-left:4px" | {{{e_effect|}}}
| colspan=3 style="padding-left:4px; padding-right:4px" | {{{e_effect|}}}
|-
| colspan=3 | {{-}}
|-
|-
! colspan=3 align=left style="background-color:#{{teal_2}}; padding-left:4px" | Probability of occurrence (%):
! colspan=3 align=left style="background-color:#{{teal_2}}; padding-left:4px" | Probability of occurrence (%):
|-
|-
| {{Town|Castle}} |||| {{{1|}}}
| style="padding-left:4px" | {{Town|Castle}} |||| {{{1|}}}
|-
|-
| {{Town|Rampart}} |||| {{{2|}}}
| style="padding-left:4px" | {{Town|Rampart}} |||| {{{2|}}}
|-
|-
| {{Town|Tower}} |||| {{{3|}}} (''{{{4|}}}*'')
| style="padding-left:4px" | {{Town|Tower}} |||| {{{3|}}} (''{{{4|}}}*'')
|-
|-
| {{Town|Inferno}} |||| {{{5|}}}
| style="padding-left:4px" | {{Town|Inferno}} |||| {{{5|}}}
|-
|-
| {{Town|Necropolis}} |||| {{{6|}}}
| style="padding-left:4px" | {{Town|Necropolis}} |||| {{{6|}}}
|-
|-
| {{Town|Dungeon}} |||| {{{7|}}}
| style="padding-left:4px" | {{Town|Dungeon}} |||| {{{7|}}}
|-
|-
| {{Town|Stronghold}} |||| {{{8|}}}
| style="padding-left:4px" | {{Town|Stronghold}} |||| {{{8|}}}
|-
|-
| {{Town|Fortress}} |||| {{{9|}}}  
| style="padding-left:4px" | {{Town|Fortress}} |||| {{{9|}}}  
|-
|-
| {{Town|Conflux}} |||| {{{10|}}}
| style="padding-left:4px" | {{Town|Conflux}} |||| {{{10|}}}
|- class='onlyhota'
|- class='onlyhota'
| {{Town|Cove}}{{-wh}} |||| {{{11|}}}
| style="padding-left:4px" | {{Town|Cove}}{{-wh}} |||| {{{11|}}}
|- class='onlyhota'
|- class='onlyhota'
| {{Town|Factory}}{{-wh}} |||| {{{12|}}}
| style="padding-left:4px" | {{Town|Factory}}{{-wh}} |||| {{{12|}}}
|-
|-
| * Without [[Library]] ||||
| style="padding-left:4px" | * Without [[Library]] ||||
|}</includeonly><noinclude>
|}</includeonly><noinclude>
== How to use ==
== How to use ==

Revision as of 22:32, 22 March 2025

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
Factory Horn of the Abyss 0
* Without Library