Template:Spell: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
m (remove resize that blurs images)
mNo edit summary
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{| cellpadding=0 cellspacing=0 style="background-color:#{{teal 3}}; color:#{{Teal 1}}; border:1px solid; border-color:rgba(0,0,0,0); float:{{{float|right}}}; width:225px; margin: 0 0 0 1em"
<includeonly>{| cellpadding=0 cellspacing=0 style="background-color:#{{teal 3}}A0!important; color:#{{Teal 1}}; border-color:rgba(0,0,0,0); float:{{{float|right}}}; width:225px; margin: 0 0 0 1em; margin-left:8px;"
| colspan=3 align=center bgcolor={{teal 1}} style="height: 25px; color:white;" | '''{{{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: 5px; margin-right: 5px;" | [[File:{{{image|{{PAGENAME}}.png}}}]]
|-
|-
| '''School:'''  
| '''School:'''  
Line 16: Line 16:
| {{-}}{{{duration|}}}
| {{-}}{{{duration|}}}
|-
|-
| colspan=3 bgcolor={{teal_2}} | {{-}}'''Basic effect'''
! colspan=3 align=left style="background-color:#{{teal_2}}" | {{-}}Basic effect
|-
|-
| colspan=3 |  
| colspan=3 |  
Line 23: Line 23:
|}
|}
|-
|-
| colspan=3 bgcolor={{teal_2}} | {{-}}'''Advanced effect'''
! colspan=3 align=left style="background-color:#{{teal_2}}" | {{-}}Advanced effect
|-
|-
| colspan=3 |
| colspan=3 |
Line 30: Line 30:
|}
|}
|-
|-
| colspan=3 bgcolor={{teal_2}} | {{-}}'''Expert effect'''
! colspan=3 align=left style="background-color:#{{teal_2}}" | {{-}}Expert effect
|-
|-
| colspan=3 |
| colspan=3 |
Line 39: Line 39:


|-
|-
| bgcolor={{teal 2}} colspan=3 | {{-}}'''Probability of occurrence (%):'''
! colspan=3 align=left style="background-color:#{{teal_2}}" | {{-}}Probability of occurrence (%):
|-
|-
| colspan=3 |
| colspan=3 |


{| cellpadding=0 cellspacing=0 style="background-color:#{{teal_3}};"
{| cellpadding=0 cellspacing=0 style="background-color:#{{teal_3}}; width: 300px;"
| {{Town|Castle}} || {{-}}{{-}}{{{1|}}}
| {{Town|Castle}} || {{-}}{{-}}{{{1|}}}
|-
|-
Line 61: Line 61:
|-
|-
| {{Town|Conflux}} || {{-}}{{-}}{{{10|}}}
| {{Town|Conflux}} || {{-}}{{-}}{{{10|}}}
|-
|- class='onlyhota'
| {{Town|Cove}}{{-}}{{withhota}} || {{-}}{{-}}{{{11|}}}
| {{Town|Cove}}{{-}}{{withhota}} || {{-}}{{-}}{{{11|}}}
|-
|- class='onlyhota'
| {{Town|Factory}}{{-}}{{withhota}} || {{-}}{{-}}{{{12|}}}
| {{Town|Factory}}{{-}}{{withhota}} || {{-}}{{-}}{{{12|}}}
|-
|-
| style="font-size: 90%;" | * Without [[Library]]
| style="font-size: 90%;" | * Without [[Library]]
|}
|}
|}{{{no_text|'''{{{name|{{PAGENAME}}}}}''' is a {{{level|}}} level [[spell]]{{{custom_text| in the [[School of {{{school|}}}]]}}}.}}}</includeonly><noinclude>
|}</includeonly><noinclude>
== How to use ==
== 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".  
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".  
Line 88: Line 88:


==Example==
==Example==
{{Spell |0|0|0|0|10|10|20|0|0|0|0
{{Spell |0|0|0|0|10|10|20|0|0|0|0|0
  | name        = Armageddon
  | name        = Armageddon
  | image      = Armageddon.png
  | image      = Armageddon.png

Latest revision as of 23:03, 20 March 2025

How to use[edit | hide | hide all]

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[edit | hide]

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