Template:Spell: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
(16 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{{no_text|'''{{PAGENAME}}''' is a {{{level|}}} level [[spell]]{{{custom_text| in the [[School of {{{school|}}}]]}}}.}}}
{| cellpadding=0 cellspacing=0 style="background-color:#{{teal 3}}; border: 1px solid black; float:{{{float|right}}}; width:225px; margin: 0 0 0 1em"
{| cellpadding=0 cellspacing=0 style="background-color:#{{teal 3}}; border: 1px solid black; float:{{{float|right}}}; width:225px; margin: 0 0 0 1em"
| colspan=3 align=center bgcolor={{teal 1}} style="height: 25px;" | '''{{{name|{{PAGENAME}}}}}'''
| colspan=3 align=center bgcolor={{teal 1}} style="height: 25px;" | '''{{{name|{{PAGENAME}}}}}'''
|-
|-
| rowspan=5 align=center valign=top | [[File:{{{image|{{PAGENAME}}.png}}}]]
| rowspan=5 align=center valign=center style="margin-left: 5px;; margin-right: 5px;" | [[File:{{{image|{{PAGENAME}}.png}}}|100px]]
|-
|-
| '''School:'''  
| '''School:'''  
| {{-}}{{{exception|[[School of {{{school|}}}]]}}}
| {{-}}{{{exception|[[School of {{{school}}}|{{{school|}}}]]}}}
|-
|-
| '''Level:'''
| '''Level:'''
| {{-}}{{{level|}}}
| {{-}}{{{level|}}}
|-  
|-  
| '''Basic cost:'''
| '''Cost:'''
| {{-}}{{{cost|}}}
| {{-}}{{{cost|}}}
|-  
|-  
Line 40: Line 39:


|-
|-
| bgcolor={{teal 2}} colspan=3 | {{-}}'''Appearing propabilities (%):'''
| bgcolor={{teal 2}} colspan=3 | {{-}}'''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}};"
| {{Town|Castle}}
| {{Town|Castle}} || {{-}}{{-}}{{{1|}}}
| sytle="margin-left: 5px;" | {{{1|}}}
|-
|-
| {{Town|Rampart}} || {{-}}{{{2|}}}
| {{Town|Rampart}} || {{-}}{{-}}{{{2|}}}
|-
|-
| {{Town|Tower}} || {{-}}{{{3|}}}
| {{Town|Tower}} || {{-}}{{-}}{{{3|}}} (''{{{4|}}}*'')
|-
|-
| {{Town|Inferno}} || {{-}}{{{4|}}}
| {{Town|Inferno}} || {{-}}{{-}}{{{5|}}}
|-
|-
| {{Town|Necropolis}} || {{-}}{{{5|}}}
| {{Town|Necropolis}} || {{-}}{{-}}{{{6|}}}
|-
|-
| {{Town|Dungeon}} || {{-}}{{{6|}}}
| {{Town|Dungeon}} || {{-}}{{-}}{{{7|}}}
|-
|-
| {{Town|Stronghold}} || {{-}}{{{7|}}}
| {{Town|Stronghold}} || {{-}}{{-}}{{{8|}}}
|-
|-
| {{Town|Fortress}} || {{-}}{{{8|}}}  
| {{Town|Fortress}} || {{-}}{{-}}{{{9|}}}  
|-
|-
| {{Town|Conflux}} || {{-}}{{{9|}}}
| {{Town|Conflux}} || {{-}}{{-}}{{{10|}}}
|-
| {{Town|Cove}}{{-}}{{withhota}} || {{-}}{{-}}{{{11|}}}
|-
| style="font-size: 90%;" | * Without [[Library]]
|}
|}
|}<noinclude>
|}{{{no_text|'''{{{name|{{PAGENAME}}}}}''' is a {{{level|}}} level [[spell]]{{{custom_text| in the [[School of {{{school|}}}]]}}}.}}}<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". Additionally, note that the school should be written with small first letters (e.g. earth magic).  
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".  


{| style="background: transparent;"  
{| style="background: transparent;"  

Revision as of 10:29, 6 March 2020

Spell
File:Spell.png
School:  [[School of {{{school}}}|]]
Level:  
Cost:  
Duration:  
 Basic effect
 Advanced effect
 Expert effect
 Probability of occurrence (%):
Castle   
Rampart   
Tower    (*)
Inferno   
Necropolis   
Dungeon   
Stronghold   
Fortress   
Conflux   
Cove Horn of the Abyss   
* Without Library

Spell is a level spell in the School of .

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
 | school      = 
 | level       = 
 | cost        = 
 | duration    = 
 | b_effect    = 
 | a_effect    = 
 | e_effect    = 
}}

You can also replace the "in the school of X magic" text with a custom text by adding a custom_text variable row:

 | custom_text = 

You can also use another image by including image variable row:

 | image       =