Template:Spell: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(18 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{| cellpadding=0 cellspacing=0 style="background-color:#{{teal 3}}; color: | <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:300px; margin: 0 0 0 1em; margin-left:8px; margin-bottom:8px;" | ||
! colspan=3 style="height: 25px; color:white; background-color:#{{teal 1}}A0!important;" | {{{name|{{PAGENAME}}}}} | |||
|- | |- | ||
| rowspan=5 align=center valign=center style="margin-left: | | rowspan=5 align=center valign=center style="margin-left: 4px; margin-right: 4px;" | [[File:{{{image|{{PAGENAME}}.png}}}]] | ||
|- | |- | ||
| '''School:''' | | '''School:''' | ||
| | | {{{exception|[[School of {{{school}}}|{{{school|}}}]]}}} | ||
|- | |- | ||
| '''Level:''' | | '''Level:''' | ||
| | | {{{level|}}} | ||
|- | |- | ||
| '''Cost:''' | | '''Cost:''' | ||
| | | {{{cost|}}} | ||
|- | |- | ||
| '''Duration:''' | | '''Duration:''' | ||
| | | {{{duration|}}} | ||
|- | |- | ||
! colspan=3 align=left style="background-color:#{{teal_2}}; padding-left:4px" | Basic effect | |||
|- | |- | ||
| colspan=3 | | colspan=3 style="padding-left:4px; padding-right:4px" | {{{b_effect|}}} | ||
|- | |||
| {{{b_effect|}}} | | colspan=3 | {{-}} | ||
|} | |- | ||
! colspan=3 align=left style="background-color:#{{teal_2}}; padding-left:4px" | Advanced effect | |||
|- | |- | ||
| colspan=3 | | colspan=3 style="padding-left:4px; padding-right:4px" | {{{a_effect|}}} | ||
|- | |- | ||
| colspan=3 | | | colspan=3 | {{-}} | ||
|- | |- | ||
! colspan=3 align=left style="background-color:#{{teal_2}}; padding-left:4px" | Expert effect | |||
|- | |- | ||
| colspan=3 | | colspan=3 style="padding-left:4px; padding-right:4px" | {{{e_effect|}}} | ||
| {{{e_effect|}}} | |||
|- | |- | ||
| | | colspan=3 | {{-}} | ||
|- | |- | ||
! colspan=3 align=left style="background-color:#{{teal_2}}; padding-left:4px" | Probability of occurrence (%): | |||
| | |||
|- | |- | ||
| {{Town| | | style="padding-left:4px" | {{Town|Castle}} |||| {{{1|}}} | ||
|- | |- | ||
| {{Town| | | style="padding-left:4px" | {{Town|Rampart}} |||| {{{2|}}} | ||
|- | |- | ||
| {{Town| | | style="padding-left:4px" | {{Town|Tower}} |||| {{{3|}}} (''{{{4|}}}*'') | ||
|- | |- | ||
| {{Town| | | style="padding-left:4px" | {{Town|Inferno}} |||| {{{5|}}} | ||
|- | |- | ||
| {{Town| | | style="padding-left:4px" | {{Town|Necropolis}} |||| {{{6|}}} | ||
|- | |- | ||
| {{Town| | | style="padding-left:4px" | {{Town|Dungeon}} |||| {{{7|}}} | ||
|- | |- | ||
| {{Town| | | style="padding-left:4px" | {{Town|Stronghold}} |||| {{{8|}}} | ||
|- | |- | ||
| {{Town| | | style="padding-left:4px" | {{Town|Fortress}} |||| {{{9|}}} | ||
|- | |- | ||
| {{Town|Cove}}{{-}}{{ | | style="padding-left:4px" | {{Town|Conflux}} |||| {{{10|}}} | ||
|- class='onlyhota' | |||
| style="padding-left:4px" | {{Town|Cove}}{{-wh}} |||| {{{11|}}} | |||
|- class='onlyhota' | |||
| style="padding-left:4px" | {{Town|Factory}}{{-wh}} |||| {{{12|}}} | |||
|- | |- | ||
| style=" | | style="padding-left:4px" | * Without [[Library]] |||| | ||
| | |}</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 73: | Line 65: | ||
{| 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 83: | Line 78: | ||
|} | |} | ||
==Example== | |||
{| | {{Spell |0|0|0|0|10|10|20|0|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 22:33, 22 March 2025
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 | ||
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 (%): | ||
![]() |
0 | |
![]() |
0 | |
![]() |
0 (0*) | |
![]() |
10 | |
![]() |
10 | |
![]() |
20 | |
![]() |
0 | |
![]() |
0 | |
![]() |
0 | |
![]() ![]() |
0 | |
![]() ![]() |
0 | |
* Without Library |