Difference between revisions of "Template:Rune infobox"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
<div class="icon">{{#if: {{{rune icon|}}}|[[Has ability rune icon::File:{{{rune icon}}}|100x100px]]}}<!-- | <div class="icon">{{#if: {{{rune icon|}}}|[[Has ability rune icon::File:{{{rune icon}}}|100x100px]]}}<!-- | ||
-->[[Has game icon::File:{{{icon|{{{name|{{PAGENAME}}}}}.png}}}|100x100px]]</div><!-- | -->[[Has game icon::File:{{{icon|{{{name|{{PAGENAME}}}}}.png}}}|100x100px]]</div><!-- | ||
− | + | -->{{Ability infobox helper | |
− | -->{{ | + | |stat type={{{stat type|}}} |
− | + | |mana cost={{{mana cost|}}} | |
− | + | |cooldown={{{cooldown|}}} | |
− | + | |cast time={{{cast time|}}} | |
− | + | |range={{{range|}}} | |
− | + | |element={{{element|}}} | |
− | + | |stat1={{{stat1|}}} | |
− | + | |stat1 min={{{stat1 min|}}} | |
− | | | + | |stat1 max={{{stat1 max|}}} |
− | | | + | |stat2={{{stat2|}}} |
− | + | |stat2 min={{{stat2 min|}}} | |
− | + | |stat2 max={{{stat2 max|}}} | |
− | + | |stat3={{{stat3|}}} | |
− | | | + | |stat3 min={{{stat3 min|}}} |
− | | | + | |stat3 max={{{stat3 max|}}} |
− | + | |stat4={{{stat4|}}} | |
− | + | |stat4 min={{{stat4 min|}}} | |
− | + | |stat4 max={{{stat4 max|}}} | |
− | | | + | |stat5={{{stat5|}}} |
− | | | + | |stat5 min={{{stat5 min|}}} |
− | + | |stat5 max={{{stat5 max|}}} | |
− | + | }}</div><!-- | |
− | |||
− | | | ||
− | | | ||
− | |||
− | |||
− | |||
− | | | ||
− | | | ||
− | }} | ||
− | |||
description quote -->{{#if: {{{description|}}}|{{quotation|game|[[Has game description::{{{description}}}]]}}}}<!-- | description quote -->{{#if: {{{description|}}}|{{quotation|game|[[Has game description::{{{description}}}]]}}}}<!-- | ||
Latest revision as of 09:55, 1 June 2022
Description[edit]
Creates an ability page for a rune, including the title, infobox, description quote, etc. Sets SMW properties.
Usage[edit]
{{Rune infobox | name = | icon = | rune icon = | description = | stat type = | mana cost = | cooldown = | cast time = | range = | element = | stat1 = | stat1 min = | stat1 max = | stat2 = ... }} not implemented yet: | stat mult = | threat mult = | aura effect = | mana reserve = | need los = | is attack = | use weapon range = | auto = | stat1 negative = | stat1 integer =
Parameters[edit]
All parameters are optional.
- name
- Ability name (without "Rune of"). Defaults to
{{PAGENAME}}
. - icon
- Ability icon filename. Defaults to
File:<name>.png
- rune icon
- Rune icon filename.
- description
- Ability description.
- stat type
- Stats that scale the ability. One of Strength, Intellect, Dexterity. If there's two or more, separate them with a single comman.
- mana cost
- Ability mana cost.
- cooldown
- Ability cooldown.
- cast time
- Ability cast time.
- range
- Ability range.
- element
- Ability element. One of arcane, fire, frost, holy, poison, physical.
- statN
- Name of stat. Up to 5 stats (from stat1 to stat5) are supported.
- statN min
- Min roll of stat.
- statN max
- Max roll of stat.