Difference between revisions of "Template:Attack spell row"

From CrawlWiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly>|[[{{{1}}}]]
+
<includeonly>|[[{{{1}}}]]{{{2|}}}
 
|{{#show: {{{1}}} | ?spell level }}
 
|{{#show: {{{1}}} | ?spell level }}
 
|{{#show: {{{1}}} | ?power cap }}
 
|{{#show: {{{1}}} | ?power cap }}
Line 10: Line 10:
 
|{{#show: {{{1}}} | ?damage denom }}
 
|{{#show: {{{1}}} | ?damage denom }}
 
|{{calc_hit| {{{1}}} | 50 }}
 
|{{calc_hit| {{{1}}} | 50 }}
|{{calc_damage| {{{1}}} | 50 }}
+
|{{calc_damage| {{{1}}} | 50 | {{{3|1}}} }}
 
|{{calc_hit| {{{1}}} | 100 }}
 
|{{calc_hit| {{{1}}} | 100 }}
|{{calc_damage| {{{1}}} | 100 }}
+
|{{calc_damage| {{{1}}} | 100 | {{{3|1}}} }}
 
|{{calc_hit| {{{1}}} | 150 }}
 
|{{calc_hit| {{{1}}} | 150 }}
|{{calc_damage| {{{1}}} | 150 }}
+
|{{calc_damage| {{{1}}} | 150 | {{{3|1}}} }}
 
|{{calc_hit| {{{1}}} | 200 }}
 
|{{calc_hit| {{{1}}} | 200 }}
|{{calc_damage| {{{1}}} | 200 }}
+
|{{calc_damage| {{{1}}} | 200 {{{3|1}}} }}
|----</includeonly><noinclude>[[Category:Templates]]</noinclude>
+
|----</includeonly><noinclude>
 +
This template was created to make the [[List of attack spells and beams by maximum damage] page easier to maintain.
 +
 
 +
This template can accept 3 parameters:
 +
*The first one is the name of a spell. The corresponding page must contain an AttackSpell template.
 +
*The second one is an optional string which will appear after the name of the spell.
 +
*The third one is a number which represents a resistance. The maximum damage of the selected spell will be divided by this number. Its default value is 1.
 +
 
 +
[[Category:Templates]]</noinclude>

Revision as of 19:51, 23 May 2014

This template was created to make the [[List of attack spells and beams by maximum damage] page easier to maintain.

This template can accept 3 parameters:

  • The first one is the name of a spell. The corresponding page must contain an AttackSpell template.
  • The second one is an optional string which will appear after the name of the spell.
  • The third one is a number which represents a resistance. The maximum damage of the selected spell will be divided by this number. Its default value is 1.