Editing Template:Spell

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
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"
'''{{PAGENAME}}''' is a {{{level|{{{4}}}}}} level [[spell]]{{{custom_text| in the [[school of {{{school|{{{1}}}}}}]]}}}.
| colspan=3 align=center bgcolor={{teal 1}} style="height: 25px; color:white;" | '''{{{name|{{PAGENAME}}}}}'''
{| align=right border=0 cellpadding=1 cellspacing=0 style="background-color:#CCFFFF; border: 1px solid; border-right: 0px;"
|- style="height: 25px;"
| width=225 colspan=3 align=center bgcolor=00CCCC | '''{{{name|{{PAGENAME}}}}}'''
|-
|-
| rowspan=5 align=center valign=center style="margin-left: 5px;; margin-right: 5px;" | [[File:{{{image|{{PAGENAME}}.png}}}]]
| rowspan=5 align=center valign=top | [[Image:{{{Image|{{PAGENAME}}}}}.png]]
|-
|-
| '''School:'''  
| '''School:'''  
| {{-}}{{{exception|[[School of {{{school}}}|{{{school|}}}]]}}}
| &nbsp;[[School of {{{school|{{{1}}}}}}|{{{school|{{{1}}}}}}]]
|-
|-
| '''Level:'''
| '''Level:'''
| {{-}}{{{level|}}}
| &nbsp;{{{level|{{{4}}}}}}
|-  
|-  
| '''Cost:'''
| '''Basic cost:'''
| {{-}}{{{cost|}}}
| &nbsp;{{{cost|{{{2}}}}}}
|-  
|-  
| '''Duration:'''
| '''Duration:'''
| {{-}}{{{duration|}}}
| &nbsp;{{{duration|{{{3}}}}}}
|-
|-
| colspan=3 bgcolor={{teal_2}} | {{-}}'''Basic effect'''
| colspan=3 bgcolor=66FFFF style="border-left: 5px solid #66FFFF;" | '''Basic effect:'''
|-
|-
| colspan=3 |  
|  
{| cellpadding=0 cellspacing=0 style="border-left: 5px solid #{{teal_3}}; background-color:#B8E6E6; width: 300px; font-size: 90%;"
{| cellpadding=0 cellspacing=0 style="border-left: 5px solid #CCFFFF; background-color:#CCFFFF; width: 250px;"
| {{{b_effect|}}}
| {{{b_effect|}}}
|}
|}
|-
| colspan=3 bgcolor={{teal_2}} | {{-}}'''Advanced effect'''
|-
|-
| colspan=3 |
| colspan=3 |
{|cellpadding=0 cellspacing=0 style="border-left: 5px solid #{{teal_3}}; background-color:#{{teal_3}}; width: 300px; font-size: 90%;"
{|cellpadding=0 cellspacing=0 style="border-left: 5px solid #CCFFFF; background-color:#CCFFFF; width: 250px;"
| {{{a_effect|}}}
| '''Advanced effect:'''<br>{{{a_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: 250px;"
{|cellpadding=0 cellspacing=0 style="border-left: 5px solid #{{teal_3}}; background-color:#{{teal_3}}; width: 300px; font-size: 90%;"
| '''Expert effect:'''<br>{{{e_effect|}}}
| {{{e_effect|}}}
|}
|}
|}<noinclude>


|-
| 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|}}}
|-
| {{Town|Factory}}{{-}}{{withhota}} || {{-}}{{-}}{{{12|}}}
|-
| style="font-size: 90%;" | * Without [[Library]]
|}
|}{{{no_text|'''{{{name|{{PAGENAME}}}}}''' is a {{{level|}}} level [[spell]]{{{custom_text| in the [[School of {{{school|}}}]]}}}.}}}</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". Additionally, note that the school should be written with small first letters (e.g. earth magic).  


{| style="background: transparent;"  
{| style="background: transparent;"  
| <pre>{{Spell
| <pre>{{Spell
| name        = (defaults to PAGENAME)
| image      = (defaults to PAGENAME.png)
| custom_text = (defaults to "in the school of {{{school}}}")
  | school      =  
  | school      =  
  | level      =  
  | level      =  
Line 87: Line 51:
|}
|}


==Example==
You can also replace the "in the school of X magic" text with a custom text by adding a custom_text variable row:
{{Spell |0|0|0|0|10|10|20|0|0|0|0
{| style="background: transparent;"
| name        = Armageddon
| <pre>
| image      = Armageddon.png
  | custom_text = </pre>
  | school      = Fire Magic
|}
| level      = 4th
 
| cost        = 24/20
[[Category:Help templates|{{PAGENAME}}]]</noinclude>
| duration    = instant
| b_effect    = All troops take (30 + (power &times; 50)) points of damage.
| a_effect    = All troops take (60 + (power &times; 50)) points of damage.
| e_effect    = All troops take (120 + (power &times; 50)) points of damage.
}}
[[Category: Spell templates|{{PAGENAME}}]]</noinclude>
Please note that all contributions to Heroes 3 wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)