Template:Spell: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (remove resize that blurs images) |
||
(22 intermediate revisions by 7 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" | |||
{| cellpadding=0 cellspacing=0 style="background-color:#{{teal 3}}; border: 1px solid | | colspan=3 align=center bgcolor={{teal 1}} style="height: 25px; color:white;" | '''{{{name|{{PAGENAME}}}}}''' | ||
| colspan=3 align=center bgcolor={{teal 1}} style="height: 25px;" | '''{{{name|{{PAGENAME}}}}}''' | |||
|- | |- | ||
| rowspan=5 align=center valign= | | rowspan=5 align=center valign=center style="margin-left: 5px;; margin-right: 5px;" | [[File:{{{image|{{PAGENAME}}.png}}}]] | ||
|- | |- | ||
| '''School:''' | | '''School:''' | ||
| {{-}}{{{exception|[[School of {{{school|}}}]]}}} | | {{-}}{{{exception|[[School of {{{school}}}|{{{school|}}}]]}}} | ||
|- | |- | ||
| '''Level:''' | | '''Level:''' | ||
| {{-}}{{{level|}}} | | {{-}}{{{level|}}} | ||
|- | |- | ||
| ''' | | '''Cost:''' | ||
| {{-}}{{{cost|}}} | | {{-}}{{{cost|}}} | ||
|- | |- | ||
Line 40: | Line 39: | ||
|- | |- | ||
| bgcolor={{teal 2}} colspan=3 | {{-}}''' | | bgcolor={{teal 2}} colspan=3 | {{-}}'''Probability of occurrence (%):''' | ||
|- | |- | ||
| colspan=3 | | | colspan=3 | | ||
Line 49: | Line 48: | ||
| {{Town|Rampart}} || {{-}}{{-}}{{{2|}}} | | {{Town|Rampart}} || {{-}}{{-}}{{{2|}}} | ||
|- | |- | ||
| {{Town|Tower}} || {{-}}{{-}}{{{3|}}} | | {{Town|Tower}} || {{-}}{{-}}{{{3|}}} (''{{{4|}}}*'') | ||
|- | |- | ||
| {{Town|Inferno}} || {{-}}{{-}}{{{ | | {{Town|Inferno}} || {{-}}{{-}}{{{5|}}} | ||
|- | |- | ||
| {{Town|Necropolis}} || {{-}}{{-}}{{{ | | {{Town|Necropolis}} || {{-}}{{-}}{{{6|}}} | ||
|- | |- | ||
| {{Town|Dungeon}} || {{-}}{{-}}{{{ | | {{Town|Dungeon}} || {{-}}{{-}}{{{7|}}} | ||
|- | |- | ||
| {{Town|Stronghold}} || {{-}}{{-}}{{{ | | {{Town|Stronghold}} || {{-}}{{-}}{{{8|}}} | ||
|- | |- | ||
| {{Town|Fortress}} || {{-}}{{-}}{{{ | | {{Town|Fortress}} || {{-}}{{-}}{{{9|}}} | ||
|- | |- | ||
| {{Town|Conflux}} || {{-}}{{-}}{{{ | | {{Town|Conflux}} || {{-}}{{-}}{{{10|}}} | ||
|- | |||
| {{Town|Cove}}{{-}}{{withhota}} || {{-}}{{-}}{{{11|}}} | |||
|- | |||
| {{Town|Factory}}{{-}}{{withhota}} || {{-}}{{-}}{{{12|}}} | |||
|- | |||
| style="font-size: 90%;" | * Without [[Library]] | |||
|} | |} | ||
|}<noinclude> | |}{{{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 " | 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;" | ||
| <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 80: | Line 87: | ||
|} | |} | ||
==Example== | |||
{| | {{Spell |0|0|0|0|10|10|20|0|0|0|0 | ||
| | | name = Armageddon | ||
| | | image = Armageddon.png | ||
| | | school = Fire Magic | ||
| level = 4th | |||
| cost = 24/20 | |||
| duration = instant | |||
| | | b_effect = All troops take (30 + (power × 50)) points of damage. | ||
| | | a_effect = All troops take (60 + (power × 50)) points of damage. | ||
| e_effect = All troops take (120 + (power × 50)) points of damage. | |||
[[Category: | }} | ||
[[Category: Spell templates|{{PAGENAME}}]]</noinclude> |
Revision as of 12:54, 16 May 2024
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 | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Advanced effect | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Expert effect | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Probability of occurrence (%): | |||||||||||||||||||||||||
|
Armageddon is a 4th level spell in the School of Fire Magic.