Difference between revisions of "Template:GearList/Offensive"

From SpiralKnights

Jump to: navigation, search
m (tweak for status abilities (test))
m (more intuitive input)
Line 74: Line 74:
 
|<span style="display: none;">1</span>
 
|<span style="display: none;">1</span>
 
|
 
|
}}{{#if:{{{ability 1|}}}
+
}}{{#if:{{{ability 1|}}}{{{stat src|}}}
 
|<span style="display: none;">-1</span>
 
|<span style="display: none;">-1</span>
 
|
 
|
}}{{#if:{{{ability 1|}}}
+
}}{{#if:{{{stat src|}}}
|{{#switch:{{{ability 1|}}}
+
|{{#switch:{{{stat src|}}}
|#default = {{{ability 1|}}}
+
|#default = {{{stat src|}}}
 
|regular  = {{{intensity|}}} {{{status|}}} (chance is for regular attack only)
 
|regular  = {{{intensity|}}} {{{status|}}} (chance is for regular attack only)
 
|charge  = {{{intensity|}}} {{{status|}}} (chance is for charge attack only)
 
|charge  = {{{intensity|}}} {{{status|}}} (chance is for charge attack only)
 
|both    = {{{intensity|}}} {{{status|}}} (chance is for both regular and charge attack)
 
|both    = {{{intensity|}}} {{{status|}}} (chance is for both regular and charge attack)
 
}}
 
}}
 +
|
 +
}}{{#if:{{{ability 1|}}}
 +
|{{{ability 1|}}}
 
|
 
|
 
}}{{#if:{{{ability 2|}}}
 
}}{{#if:{{{ability 2|}}}
Line 92: Line 95:
 
|
 
|
 
}}{{#if:{{{penalty 1|}}}
 
}}{{#if:{{{penalty 1|}}}
|{{#if:{{{ability 1|}}}
+
|{{#if:{{{ability 1|}}}{{{stat src|}}}
 
|,&nbsp;
 
|,&nbsp;
 
|}}<span style="color:#BA2F72">{{{penalty 1|}}}
 
|}}<span style="color:#BA2F72">{{{penalty 1|}}}

Revision as of 19:11, 26 June 2015

[edit] [purge] Template documentation

Usage

This template is part of the Gear List System.

This template should be used to organize armor and helmet items into a sortable list with other items of the same type. Use in junction with Template:GearList/Defensive/Start.

Code

{{GearList/Defensive
| name      = 
| normal    = 
| piercing  = 
| elemental = 
| shadow    = 
| as        =
| status    =
| intensity =
| stat src  =
| ability 1 = 
| ability 2 = 
| ability 3 = 
| penalty 1 = 
| penalty 2 = 
| penalty 3 = 
}}

Examples

{{GearList/Offensive
| name      = Fang of Vog
| normal    = 5.02
| elemental = 5.02
| as        = 4.06
| status    = fire
| intensity = Good chance of causing strong
| stat src  = both
| penalty 1 = Chance of receiving Fire (with charge)
| combat    = Calibur
}}

Notes

For general entry:

  • Please add new items to the bottom of the list. This is because the list is ordered by Date of Release when in default.
  • If items are released at the same time, just group them together alphabetically, then add 'em all to the bottom of the established list.

For defense data entry:

  • WikiTool-DefenseBars.png

For ability entry:

  • Please only use parameters that apply to the item. For example, if the item does not have any chance to inflict status, leave out | status = | intensity = | stat src = entirely.
  • If the item has no abilities or penalties, don't include any ability 1 or penalty 1 parameters, and so on. Several parts of the template use #if: conditions for these parameters.
Personal tools