Difference between revisions of "Template:GearList/doc"

From SpiralKnights

Jump to: navigation, search
m (fix duplicate file issues)
m (See Also: managed to merge 'em! working on abilities next.)
Line 426: Line 426:
 
:[[Template:ArmorList]]
 
:[[Template:ArmorList]]
 
::[[Template:ArmorList/start]]
 
::[[Template:ArmorList/start]]
:::[[Template:ListAbilities/Armor]] - uses specific Armor icons
+
:::[[Template:ListAbilities/Armor]]
:::[[Template:ListDefense/normal/armor]] - uses specific Armor icons
+
 
:::[[Template:ListDefense/elemental/armor]] - uses specific Armor icons
+
:::[[Template:ListDefense/piercing/armor]] - uses specific Armor icons
+
:::[[Template:ListDefense/shadow/armor]] - uses specific Armor icons
+
:::[[Template:ListStatus/Curse/armor]] - uses specific Armor icons
+
:::[[Template:ListStatus/Fire/armor]] - uses specific Armor icons
+
:::[[Template:ListStatus/Freeze/armor]] - uses specific Armor icons
+
:::[[Template:ListStatus/Poison/armor]] - uses specific Armor icons
+
:::[[Template:ListStatus/Shock/armor]] - uses specific Armor icons
+
:::[[Template:ListStatus/Sleep/armor]] - uses specific Armor icons
+
:::[[Template:ListStatus/Stun/armor]] - uses specific Armor icons
+
::::Editors: I'd love to be able to merge these into two templates: [[Template:ListDefense]] and [[Template:ListStatus]] for all items, but I can't seem to get the "switch of a switch of a switch" to work correctly. Implementing this merge would be a snap, cause all you'd have to do is edit the relevant Gearlist template's <nowiki>{{{ListDefense|type}}}</nowiki> fields...
+
 
'''Associated Templates''':
 
'''Associated Templates''':
 
----
 
----

Revision as of 03:41, 23 February 2015

Usage

To organize combat items for searching, comparison, and general knowledge. This template is part of a large system of templates - so read this documentation carefully before making changes. There is a template for Armor, Helmets, Shields, Trinkets, Bombs, Handguns, and Swords. These are all related to each other with icon symbolism, several #switch templates, and header-sortable table behavior. I consider the total usage (using and editing) difficulty of this "template system" to be in three levels - the first being the easiest, and the last being the "hardest" in that it is "risky" and can "break" the system. But an editor should be able to use this template and change it easily after reading this documentation. I hope. Grab some popcorn and settle in, because it's a big read!



Level 1: Understanding the Templates


The following Note is on every page that uses one of these lists (implemented by placing {{Note-GearList}} in the page code). It explains the general behavior of the template for users who may be unfamiliar with it:

The following logic explanations describe icons, their inspiration, and how they are designed.





Level 2: Populating the Pages that use these Templates


The game has suddenly updated with new armor items, or something. We need to add them to the appropriate list. Here's what the values mean, and where they should go:

We don't see status bars other than these lengths for armor or helms. Shields are another matter.
Counting pixels isn't all that bad: So far, the only defense (normal, elemental, piercing, shadow) bar values we see after quantifying via pixel counting are:

00.05
00.07
00.10
00.12


01.07
01.11
01.12
01.14


02.00
02.02


04.00
04.04
04.05
04.06


05.01
05.05
05.07
05.08


06.05
06.13


07.11


08.13


0 should never be entered.

Level 3: Updating the Templates' Code with New Values


The game has suddenly updated with new helmet items, or something. They have stat values and intensity levels of abilities that we've never seen before. Here's how to get them into the template smoothly, so they can be sorted in with the older items:





See Also

Forum Node 105837 contains feedback and other user contributions for this enormous project. Thank you all for your time and effort.

Example GearList Image GearList Images - all images used in this template system except for actual icons of gear items. Not all images in this category are being used at the moment - some of them are "in preparation for potential future things" or "options."

Personal tools