Difference between revisions of "Template:GearList/Offensive"
From SpiralKnights
m (test - bomb stat src parameter) |
m (fix to show "good" abilities first, bad abilities second, as in-game (left to right = top to bottom)) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 76: | Line 76: | ||
}}{{#if:{{{ability 1|}}}{{{stat src|}}} | }}{{#if:{{{ability 1|}}}{{{stat src|}}} | ||
|<span style="display: none;">-1</span> | |<span style="display: none;">-1</span> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| | | | ||
}}{{#if:{{{ability 1|}}} | }}{{#if:{{{ability 1|}}} | ||
− | |{{{ability 1|}}} | + | |{{{ability 1|}}}{{#if:{{{stat src|}}}|, |}} |
| | | | ||
}}{{#if:{{{ability 2|}}} | }}{{#if:{{{ability 2|}}} | ||
Line 94: | Line 85: | ||
}}{{#if:{{{ability 3|}}} | }}{{#if:{{{ability 3|}}} | ||
|, {{{ability 3|}}} | |, {{{ability 3|}}} | ||
+ | | | ||
+ | }}{{#if:{{{stat src|}}} | ||
+ | |{{#switch:{{{stat src|}}} | ||
+ | |#default = {{{stat src|}}} | ||
+ | |regular = {{{intensity|}}} [[{{{status|}}}]] (regular attack/combos only) | ||
+ | |charge = {{{intensity|}}} [[{{{status|}}}]] (charge attack only) | ||
+ | |both = {{{intensity|}}} [[{{{status|}}}]] (both regular/combos and charge attack, chance value might differ) | ||
+ | |bomb = {{{intensity|}}} [[{{{status|}}}]] (bombs only have charge attacks) | ||
+ | }}{{#if:{{{penalty 1|}}}|, |}} | ||
| | | | ||
}}{{#if:{{{penalty 1|}}} | }}{{#if:{{{penalty 1|}}} | ||
− | |{{#if:{{{ability 1 | + | |{{#if:{{{ability 1|}}} |
|, | |, | ||
− | |}}<span style="color:#BA2F72">{{{penalty 1|}}} | + | |}}<span style="color:#BA2F72">{{{penalty 1|}}}</span> |
| | | | ||
}}{{#if:{{{penalty 2|}}} | }}{{#if:{{{penalty 2|}}} | ||
− | |, {{{penalty 2|}}} | + | |, <span style="color:#BA2F72">{{{penalty 2|}}}</span> |
| | | | ||
− | }}{{#if:{{{penalty 3|}}}|, {{{penalty 3|}}}</span> | + | }}{{#if:{{{penalty 3|}}}|, <span style="color:#BA2F72">{{{penalty 3|}}}</span> |
| | | | ||
}}<span style="display: none;">0</span><noinclude> | }}<span style="display: none;">0</span><noinclude> | ||
|}</noinclude></includeonly><noinclude> | |}</noinclude></includeonly><noinclude> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> |
Latest revision as of 23:26, 9 July 2015
[edit] [ ] Template documentation
Contents
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
- See what links to the template for examples in action.
{{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:
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.
The above documentation is transcluded from Template:GearList/Offensive/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |