Difference between revisions of "Template:Rune infobox"

From Isleward Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
<div class="infobox">
 
<div class="infobox">
 
<div class="heading">[[Has canonical name::{{{name|{{PAGENAME}}}}}]]</div>
 
<div class="heading">[[Has canonical name::{{{name|{{PAGENAME}}}}}]]</div>
<div class="icon">{{#if: {{{rune icon|}}}|[[Has 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><!--
 
--><div class="wrapper"><dl><!--
 
--><div class="wrapper"><dl><!--
Line 40: Line 40:
 
| range =
 
| range =
 
| element =
 
| element =
 +
}}
 +
 +
not implemented yet:
 
| stat type =
 
| stat type =
<!-- | stat mult = -->
+
| stat mult =
 
| threat mult =
 
| threat mult =
<!-- | aura effect = -->
+
| aura effect =
<!-- | mana reserve = -->
+
| mana reserve =
<!-- | need los = -->
+
| need los =
<!-- | is attack = -->
+
| is attack =
<!-- | use weapon range = -->
+
| use weapon range =
<!-- | auto = -->
+
| auto =
}}</pre>
+
</pre>
  
 
=== Parameters ===
 
=== Parameters ===
 
All parameters are optional.
 
All parameters are optional.
 
;name
 
;name
: Ability name (without "Rune of"). Defaults to <code>{{PAGENAME}}</code>
+
: Ability name (without "Rune of"). Defaults to <code>{{PAGENAME}}</code>.
 
;icon
 
;icon
 
: Ability icon filename. Defaults to <code><nowiki>File:<name>.png</nowiki></code>
 
: Ability icon filename. Defaults to <code><nowiki>File:<name>.png</nowiki></code>
 +
;rune icon
 +
: Rune icon filename.
 
;description
 
;description
: Ability description
+
: Ability description.
 +
; 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.
  
 
</noinclude>
 
</noinclude>

Revision as of 01:13, 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 =

| mana cost =
| cooldown =
| cast time =
| range =
| element =
}}

not implemented yet:
| stat type =
| stat mult =
| threat mult =
| aura effect =
| mana reserve =
| need los =
| is attack =
| use weapon range =
| auto =

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