Difference between revisions of "User:Kckckc/Sandbox4"

From Isleward Wiki
Jump to navigation Jump to search
(copy template for testing)
 
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--
+
|-
Page top level heading -->= {{PAGENAME}} =
+
| {{Item icon|{{{Has canonical name|}}}|icon={{{Has game icon|}}}}}
<div class="infobox">
+
| {{{Has item type|}}}
<div class="heading">[[Has canonical name::{{{name|{{PAGENAME}}}}}]]</div>
+
| {{{Has item quality|}}}
<div class="icon">{{#if: {{{rune icon|}}}|[[Has ability rune icon::File:{{{rune icon}}}|100x100px]]}}<!--
+
| {{{Has level|}}}
-->[[Has game icon::File:{{{icon|{{{name|{{PAGENAME}}}}}.png}}}|100x100px]]</div><!--
+
| {{{reputation|a}}}
--><div class="wrapper"><dl><!--
+
| {{{cost|a}}}
-->{{#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: {{{cooldown|}}}|<dt>Cooldown</dt><dd>[[Has ability cooldown::{{{cooldown}}}]]</dd>}}<!--
 
-->{{#if: {{{cast time|}}}|<dt>Cast time</dt><dd>[[Has ability cast time::{{{cast time}}}]]</dd>}}<!--
 
-->{{#if: {{{range|}}}|<dt>Range</dt><dd>[[Has ability range::{{{range}}}]]</dd>}}<!--
 
-->{{#if: {{{element|}}}|<dt>Element</dt><dd>[[Has ability element::{{{element}}}]]</dd>}}<!--
 
-->{{#if: {{{stat1|}}}|<dt><br /></dt><dd></dd><dt>{{{stat1}}}</dt><dd>{{{stat1 min}}}–{{{stat1 max}}}</dd>}}<!--
 
-->{{#if: {{{stat2|}}}|<dt>{{{stat2}}}</dt><dd>{{{stat2 min}}}–{{{stat2 max}}}</dd>}}<!--
 
-->{{#if: {{{stat3|}}}|<dt>{{{stat3}}}</dt><dd>{{{stat3 min}}}–{{{stat3 max}}}</dd>}}<!--
 
-->{{#if: {{{stat4|}}}|<dt>{{{stat4}}}</dt><dd>{{{stat4 min}}}–{{{stat4 max}}}</dd>}}<!--
 
-->{{#if: {{{stat5|}}}|<dt>{{{stat5}}}</dt><dd>{{{stat5 min}}}–{{{stat5 max}}}</dd>}}<!--
 
--></dl></div></div><!--
 
description quote -->{{#if: {{{description|}}}|{{quotation|game|[[Has game description::{{{description}}}]]}}}}<!--
 
 
 
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 ==
 
Creates an ability page for a rune, including the title, infobox, description quote, etc.
 
Sets SMW properties.
 
 
 
== Usage ==
 
<pre>{{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 =
 
</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>
 
;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.
 
 
 
</noinclude>
 

Latest revision as of 20:26, 22 July 2022

|- | [[File:|32px|link=]] [[|]] | | | | a | a