|
|
| Line 1: |
Line 1: |
| <div style="margin: 1.4em; margin-top:0; margin-right:0; padding: 0px; float: right; clear: right; border:none;"> | | <includeonly>{{ {{{|safesubst:}}}#invoke:Spell|spell_info|{{{1|}}}}}</includeonly><noinclude>This template will generate an infobox followed by a description and quote(s) for a given spell. For example: |
| {{ {{{|safesubst:}}}#invoke:Spell|spell_info|{{{1|}}}}} | | <nowiki>{{spell info|Agony}}</nowiki> |
| {| class="prettytable" style="border:none; margin:0; padding:0; width:20em;"
| | gives you: |
| ! colspan="2" style="font-size:larger;" | Spell Details
| | {{spell info|Agony}} |
| |-
| | |
| ! align="left" | Damage Formula
| | If the spell name is omitted, the page's title is used. |
| | {{{formula|}}}
| | |
| |-
| | [[Category:Templates]]</noinclude> |
| ! align="left" | Max Damage
| |
| | {{{maxdmg|}}}
| |
| |-
| |
| ! align="left" | [[Spell power | Max Power]]
| |
| | {{{maxsp|}}}
| |
| |-
| |
| ! align="left" | Range
| |
| | {{{range|}}}
| |
| |-
| |
| ! align="left" | Targeting
| |
| |{{{target|}}}
| |
| |-
| |
| ! align="left" | To-hit
| |
| |{{{tohit|}}}
| |
| |-
| |
| ! align="left" | Special
| |
| | {{{special|}}}
| |
| |}</div><!--{{#set:power cap={{{power_cap|{{{maxsp}}} }}} }}{{#set:hit type={{{hit_type}}}}}{{#set:hit adder={{{hit_adder}}}}}{{#set:hit num={{{hit_num}}}}}{{#set:hit denom={{{hit_denom}}}}}{{#set:damage calculator={{{dam_calculator}}}}}{{#set:damage numdice={{{dam_numdice}}}}}{{#set:damage adder={{{dam_adder}}}}}{{#set:damage num={{{dam_num}}}}}{{#set:damage denom={{{dam_denom}}}}}[[Category:Attack spells]]
| |
| <noinclude>[[Category:Templates]]</noinclude>
| |
Revision as of 06:22, 22 March 2022
This template will generate an infobox followed by a description and quote(s) for a given spell. For example:
{{spell info|Agony}}
gives you:
Agony
If the spell name is omitted, the page's title is used.