Difference between revisions of "Template:Rune infobox"

From Isleward Wiki
Jump to navigation Jump to search
Line 6: Line 6:
 
-->[[Has game icon::File:{{{icon|{{{name|{{PAGENAME}}}}}.png}}}|100x100px]]</div><!--
 
-->[[Has game icon::File:{{{icon|{{{name|{{PAGENAME}}}}}.png}}}|100x100px]]</div><!--
 
--><div class="wrapper"><dl><!--
 
--><div class="wrapper"><dl><!--
-->{{#if: {{{stat type|}}}|<dt>Stat type</dt><dd>{{#set:|Has ability scaling={{{stat type}}}|+step=,}}{{{stat type}}}</dd>}}<!--
+
-->{{#if: {{{stat type|}}}|<dt>Stat type</dt><dd>{{#set:|Has ability scaling={{{stat type}}}|+sep=,}}{{{stat type}}}</dd>}}<!--
 
-->{{#if: {{{mana cost|}}}|<dt>Mana cost</dt><dd>[[Has ability mana cost::{{{mana cost}}}]]</dd>}}<!--
 
-->{{#if: {{{mana cost|}}}|<dt>Mana cost</dt><dd>[[Has ability mana cost::{{{mana cost}}}]]</dd>}}<!--
 
-->{{#if: {{{cooldown|}}}|<dt>Cooldown</dt><dd>[[Has ability cooldown::{{{cooldown}}}]]</dd>}}<!--
 
-->{{#if: {{{cooldown|}}}|<dt>Cooldown</dt><dd>[[Has ability cooldown::{{{cooldown}}}]]</dd>}}<!--

Revision as of 03:05, 30 May 2022

Description

Creates an ability page for a rune, including the title, infobox, description quote, etc. Sets SMW properties.

Usage

{{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

All parameters are optional.

name
Ability name (without "Rune of"). Defaults to Rune infobox.
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.