Difference between revisions of "Template:Rune infobox"

From Isleward Wiki
Jump to navigation Jump to search
(wip)
 
(more work)
Line 1: Line 1:
<includeonly>{{#if: {{{description|}}}|{{#set:Has game description={{{description}}}}}}}<!--
+
<includeonly><!--
-->= {{{name|{{PAGENAME}}}}} =</includeonly><noinclude>
 
{{wip}}
 
  
 +
PROPERTIES
 +
 +
Has canonical name -->{{#set:Has canonical name={{{name|{{PAGENAME}}}}}}}<!--
 +
Has game icon -->{{#set:Has game icon={{{icon|{{{name|{{PAGENAME}}}}}}}}}}}<!--
 +
Has game description -->{{#if: {{{description|}}}|{{#set:Has game description={{{description}}}}}}}<!--
 +
Has ability mana cost -->{{#if: {{{mana cost|}}}|{{#set:Has ability mana cost={{{mana cost}}}}}}}<!--
 +
Has ability cooldown -->{{#if: {{{cooldown|}}}|{{#set:Has ability cooldown={{{cooldown}}}}}}}<!--
 +
Has ability cast time -->{{#if: {{{cast time|}}}|{{#set:Has ability cast time={{{cast time}}}}}}}<!--
 +
Has ability range -->{{#if: {{{range|}}}|{{#set:Has ability range={{{range}}}}}}}<!--
 +
Has ability element -->{{#if: {{{element|}}}|{{#set:Has ability element={{{element}}}}}}}<!--
 +
(Page top level heading) -->= {{{name|{{PAGENAME}}}}} =<!--
 +
 +
AUTOCATEGORIZATION
 +
 +
-->{{#if {{NAMESPACE}}<!-- no categories if outside of article namespace -->
 +
{{#ifeq: {{{categorize|y}}} | n | do not categorize | <!-- categorize --> }}
 +
<!-- todo: categorize on status -->
 +
| <!-- do not categorize if any of the above were set --> |
 +
<!-- categorize -->
 +
[[Category:Runes]]
 +
}}
 +
</includeonly><noinclude>
 
== Description ==
 
== Description ==
  
 
== Usage ==
 
== Usage ==
 
<pre>{{Rune infobox
 
<pre>{{Rune infobox
| name =  
+
| name =
 +
| icon =
 
| description =
 
| description =
 +
<!-- | rune icon -->
 +
 +
| mana cost =
 
| cooldown =
 
| cooldown =
 
| cast time =
 
| cast time =
 
| range =
 
| range =
|  
+
| element =
}}
+
| stat type =
 +
<!-- | stat mult = -->
 +
| threat mult =
 +
<!-- | aura effect = -->
 +
<!-- | mana reserve = -->
 +
<!-- | need los = -->
 +
<!-- | is attack = -->
 +
<!-- | use weapon range = -->
 +
<!-- | auto = -->
 +
}}</pre>
  
 +
=== Parameters ===
 +
All parameters are optional.
 +
;name
 +
: Ability name (without "Rune of"). Defaults to <code>{{PAGENAME}}</code>
 +
;icon
 +
: Ability icon filename. Defaults to <code><nowiki>File:<name>.png</nowiki></code>
 +
;description
 +
: Ability description
  
 
</noinclude>
 
</noinclude>

Revision as of 23:07, 29 May 2022

Description

Usage

{{Rune infobox
| name =
| icon =
| description =
<!-- | rune icon -->

| mana cost =
| cooldown =
| cast time =
| range =
| element =
| 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
description
Ability description