Difference between revisions of "User:Kckckc/Sandbox4"
Jump to navigation
Jump to search
(copy template for testing) |
(stat subobjects) |
||
Line 12: | Line 12: | ||
-->{{#if: {{{range|}}}|<dt>Range</dt><dd>[[Has ability range::{{{range}}}]]</dd>}}<!-- | -->{{#if: {{{range|}}}|<dt>Range</dt><dd>[[Has ability range::{{{range}}}]]</dd>}}<!-- | ||
-->{{#if: {{{element|}}}|<dt>Element</dt><dd>[[Has ability element::{{{element}}}]]</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: {{{stat1|}}}|{{#subobject:stat1 |
− | -->{{#if: {{{stat2|}}}|<dt>{{{stat2}}}</dt><dd>{{{stat2 min}}}–{{{stat2 max}}}</dd>}}<!-- | + | |Has stat name={{{stat1}}} |
− | -->{{#if: {{{stat3|}}}|<dt>{{{stat3}}}</dt><dd>{{{stat3 min}}}–{{{stat3 max}}}</dd>}}<!-- | + | |Has stat min={{{stat1 min}}} |
− | -->{{#if: {{{stat4|}}}|<dt>{{{stat4}}}</dt><dd>{{{stat4 min}}}–{{{stat4 max}}}</dd>}}<!-- | + | |Has stat max={{{stat1 max}}} |
− | -->{{#if: {{{stat5|}}}|<dt>{{{stat5}}}</dt><dd>{{{stat5 min}}}–{{{stat5 max}}}</dd>}}<!-- | + | }}<dt><br /></dt><dd></dd><dt>{{{stat1}}}</dt><dd>{{{stat1 min}}}–{{{stat1 max}}}</dd>}}<!-- |
+ | -->{{#if: {{{stat2|}}}|{{#subobject:stat2 | ||
+ | |Has stat name={{{stat2}}} | ||
+ | |Has stat min={{{stat2 min}}} | ||
+ | |Has stat max={{{stat2 max}}} | ||
+ | }}<dt>{{{stat2}}}</dt><dd>{{{stat2 min}}}–{{{stat2 max}}}</dd>}}<!-- | ||
+ | -->{{#if: {{{stat3|}}}|{{#subobject:stat3 | ||
+ | |Has stat name={{{stat3}}} | ||
+ | |Has stat min={{{stat3 min}}} | ||
+ | |Has stat max={{{stat3 max}}} | ||
+ | }}<dt>{{{stat3}}}</dt><dd>{{{stat3 min}}}–{{{stat3 max}}}</dd>}}<!-- | ||
+ | -->{{#if: {{{stat4|}}}|{{#subobject:stat4 | ||
+ | |Has stat name={{{stat4}}} | ||
+ | |Has stat min={{{stat4 min}}} | ||
+ | |Has stat max={{{stat4 max}}} | ||
+ | }}<dt>{{{stat4}}}</dt><dd>{{{stat4 min}}}–{{{stat4 max}}}</dd>}}<!-- | ||
+ | -->{{#if: {{{stat5|}}}|{{#subobject:stat5 | ||
+ | |Has stat name={{{stat5}}} | ||
+ | |Has stat min={{{stat5 min}}} | ||
+ | |Has stat max={{{stat5 max}}} | ||
+ | }}<dt>{{{stat5}}}</dt><dd>{{{stat5 min}}}–{{{stat5 max}}}</dd>}}<!-- | ||
--></dl></div></div><!-- | --></dl></div></div><!-- | ||
description quote -->{{#if: {{{description|}}}|{{quotation|game|[[Has game description::{{{description}}}]]}}}}<!-- | description quote -->{{#if: {{{description|}}}|{{quotation|game|[[Has game description::{{{description}}}]]}}}}<!-- | ||
AUTOCATEGORIZATION | AUTOCATEGORIZATION | ||
+ | |||
+ | {{#subobject:stat1 | ||
+ | |Has stat name={{{stat1}}} | ||
+ | |Has stat min={{{stat1 min}}} | ||
+ | |Has stat max={{{stat1 max}}} | ||
+ | }} | ||
-->{{#if: {{NAMESPACE}} <!-- no categories if outside of article namespace --> | -->{{#if: {{NAMESPACE}} <!-- no categories if outside of article namespace --> |
Revision as of 01:27, 31 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
Kckckc/Sandbox4
. - 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.