Template:Spell: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
No edit summary
(cove probability added +couple of minor edits)
(46 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''{{PAGENAME}}''' is a {{{level|{{{4}}}}}} level [[spell]]{{{custom_text| in the [[school of {{{school|{{{1}}}}}}]]}}}.
{{{no_text|'''{{{name|{{PAGENAME}}}}}''' is a {{{level|}}} level [[spell]]{{{custom_text| in the [[School of {{{school|}}}]]}}}.}}}
{| align=right border=0 cellpadding=1 cellspacing=0 style="background-color:#CCFFFF; border: 1px solid; border-right: 0px;"
{| cellpadding=0 cellspacing=0 style="background-color:#{{teal 3}}; border: 1px solid black; float:{{{float|right}}}; width:225px; margin: 0 0 0 1em"
|- style="height: 25px;"
| colspan=3 align=center bgcolor={{teal 1}} style="height: 25px;" | '''{{{name|{{PAGENAME}}}}}'''
| width=225 colspan=3 align=center bgcolor=00CCCC | '''{{{name|{{PAGENAME}}}}}'''
|-
|-
| rowspan=5 align=center valign=top | {{{image|[[Image:{{{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|{{{1}}}}}}|{{{school|{{{1}}}}}}]]}}}
| {{-}}{{{exception|[[School of {{{school}}}|{{{school|}}}]]}}}
|-
|-
| '''Level:'''
| '''Level:'''
|  {{{level|{{{4}}}}}}
| {{-}}{{{level|}}}
|-  
|-  
| '''Basic cost:'''
| '''Cost:'''
|  {{{cost|{{{2}}}}}}
| {{-}}{{{cost|}}}
|-  
|-  
| '''Duration:'''
| '''Duration:'''
|  {{{duration|{{{3}}}}}}
| {{-}}{{{duration|}}}
|-
|-
| colspan=3 bgcolor=66FFFF style="border-left: 5px solid #66FFFF; width: 150px;" | '''Basic effect'''
| colspan=3 bgcolor={{teal_2}} | {{-}}'''Basic effect'''
|-
|-
| colspan=3 |  
| colspan=3 |  
{| cellpadding=0 cellspacing=0 style="border-left: 5px solid #CCFFFF; background-color:#CCFFFF; width: 300px; font-size: 90%;"
{| cellpadding=0 cellspacing=0 style="border-left: 5px solid #{{teal_3}}; background-color:#B8E6E6; width: 300px; font-size: 90%;"
| {{{b_effect|}}}
| {{{b_effect|}}}
|}
|}
|-
|-
| colspan=3 bgcolor=66FFFF style="border-left: 5px solid #66FFFF; width: 150px;" | '''Advanced effect'''
| colspan=3 bgcolor={{teal_2}} | {{-}}'''Advanced effect'''
|-
|-
| colspan=3 |
| colspan=3 |
{|cellpadding=0 cellspacing=0 style="border-left: 5px solid #CCFFFF; background-color:#CCFFFF; width: 300px; font-size: 90%;"
{|cellpadding=0 cellspacing=0 style="border-left: 5px solid #{{teal_3}}; background-color:#{{teal_3}}; width: 300px; font-size: 90%;"
| {{{a_effect|}}}
| {{{a_effect|}}}
|}
|}
|-
|-
| colspan=3 bgcolor=66FFFF style="border-left: 5px solid #66FFFF; width: 150px;" | '''Expert effect'''
| colspan=3 bgcolor={{teal_2}} | {{-}}'''Expert effect'''
|-
|-
| colspan=3 |
| colspan=3 |
{|cellpadding=0 cellspacing=0 style="border-left: 5px solid #CCFFFF; background-color:#CCFFFF; width: 300px; font-size: 90%;"
 
{|cellpadding=0 cellspacing=0 style="border-left: 5px solid #{{teal_3}}; background-color:#{{teal_3}}; width: 300px; font-size: 90%;"
| {{{e_effect|}}}
| {{{e_effect|}}}
|}
|-
| bgcolor={{teal 2}} colspan=3 | {{-}}'''Probability of occurrence (%):'''
|-
| colspan=3 |
{| cellpadding=0 cellspacing=0 style="background-color:#{{teal_3}};"
| {{Town|Castle}} || {{-}}{{-}}{{{1|}}}
|-
| {{Town|Rampart}} || {{-}}{{-}}{{{2|}}}
|-
| {{Town|Tower}} || {{-}}{{-}}{{{3|}}} (''{{{4|}}}*'')
|-
| {{Town|Inferno}} || {{-}}{{-}}{{{5|}}}
|-
| {{Town|Necropolis}} || {{-}}{{-}}{{{6|}}}
|-
| {{Town|Dungeon}} || {{-}}{{-}}{{{7|}}}
|-
| {{Town|Stronghold}} || {{-}}{{-}}{{{8|}}}
|-
| {{Town|Fortress}} || {{-}}{{-}}{{{9|}}}
|-
| {{Town|Conflux}} || {{-}}{{-}}{{{10|}}}
|-
| {{Town|Cove}}{{-}}{{withhota}} || {{-}}{{-}}{{{11|}}}
|-
| style="font-size: 90%;" | * Without [[Library]]
|}
|}
|}<noinclude>
|}<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;"  
Line 66: Line 95:
  | image      = </pre>
  | image      = </pre>
|}
|}
[[Category: Templates|{{PAGENAME}}]]</noinclude>
[[Category: Misc templates|{{PAGENAME}}]]</noinclude>

Revision as of 09:26, 5 June 2018

Spell is a level spell in the School of .

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

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       =