User:Xeon/qrstandard

'''Please note: This guide is under development and is very roughly written up. You may edit this article without restriction to improve the quality of it or leave a note in the talk page on how it can be improved.'''

There are two different types of qr's (quick references) for examples see Enchantment removal quick reference for a complex qr and Resurrection skills quick reference for a simple qr.

Simple Quick Reference
Simple quick references use the current qr template system to give a list of one single characteristic. A characteristic can be for example, skills that resurrect and skills that need adrenaline.

Header
The first wikitext that should be placed is to more the category list onto the right side of the screen. Next the article should have the icons and description of what each icon represents, followed by

. You will only need to put icon references in the article for the ones that appear in it.

Example: - This skill may be earned from a quest. See skill information for details. - Energy requirement - Activation Time - Recharge Time - Maintenance cost

List of skills
Skill lists should appear in the order of Warrior, Ranger, Monk, Necromancer, Mesmer, Assassin, Ritualist, Paragon and last Dervish. Skills are then ordered by attribute alphabetically and then then listed by skills alphabetically.

Example:

Footer
Place the article into the category by adding at the end of the document.

Examples

 * See [ Shout skills quick reference code]
 * See [ Melee attack skills quick reference code]

Footer
Place the article into the category by adding at the end of the document.

Examples

 * See [ Shout skills quick reference code]
 * See [ Melee attack skills quick reference code]

Footer
Place the article into the category by adding at the end of the document.

Examples

 * See [ Shout skills quick reference code]
 * See [ Melee attack skills quick reference code]

Complex Quick Reference
Complex quick references take more time to set up and are complicated, it is recommended you know how to use some wiki code. The complex quick reference system uses a custom template rather then the current qr template that was used in the simple qr system.

Setting up the customized template
Open [ Template:Skill box knockdown code], copy the context of that textbox, this is your template base that you will be editing to make your customized template. Next we need a location to save your template, navigate to:-
 * http://gw.gamewikis.org/wiki?title=Template:Skill box (INSERT TEMPLATE NAME HERE) &action=edit

Paste the code you copied earlier into the textbox.

Next we need to edit the lines
 * class="data" |
 * class="data" |

A target column is generally used in all qr's except where there is only one possible target like in the articles Animate minion quick reference and Preparation skills quick reference. If a target is not required, remove this line.

Breakdown of target column
is a reference to the who the user targets to active this skill on. See Commonly used Target column references for a reference of what are valid targets.

Cases 1:
 * Shove
 * Lose all Adrenaline. All of your other non-attack skills are disabled for 10...6 seconds. Target touched foe is knocked down and takes 15...63 damage.


 * class="data" |

Shove will directly knockdown the touched foe. Therefore we would use the target field with the value "Foe" on the skill template page.

Cases 2:
 * Balthazar's Pendulum
 * For 5...17 seconds, the next time target ally would be knocked down by a foe, that foe is knocked down instead.


 * class="data" |

In a more complex example, the target field points to the ally, so we introduce another field named knockdowntarget and specify that as "Foe attacking target ally" and the target field as "Ally".

Breakdown of custom column
Next we specify the customized columns. In the above code we are looking at, we will be modifying the line | class="data" | and adding extra columns after that. Do not put spaces in or capitalize the name of the column.

Other columns you can add are for example. Look at other references to see what other names are being used.
 * class="data" |
 * class="data" |
 * class="data" |
 * class="data" |

Next we need to edit the line
 * class="notes" |

Change this to the name you have given your columns with "note" attached at the end.

Example:
 * class="notes" |

Save the page, your customized template is now complete.

Creating the quick reference
Copy the following text into your new article named "(ARTICLE NAME) skills quick reference".

! colspan=2 | Name || Target || Duration || Stats || Notes || Skill type || Attr || Cam

Replace "SKILL NAME" with the name of a skill that you want to add to the quick reference.

Replace "TEMPLATE NAME" with the name of the template you created above.

Add columns by renaming "|| Duration" and if you specified more then one column add "|| COLUMN NAME" after that.

Adding data to the quick reference
Your customized columns will be empty or have in its field. You now need to modify the skills template so the data gets included into your fields.

Next to the skill icon and name on the quick reference article you can click the [Edit] button and modify the template.

See an example of how the data should be added: [ Template:Poisonous Bite code]

Your quick reference should now be complete.

Commonly used Target column references

 * Self
 * Foe
 * Earshot (allies within earshot range)
 * All spirit range (natural rituals use this range)
 * Nearby foes (foes nearby to you)
 * Adjacent foes
 * Foe and nearby foes (foe and foes nearby to him)
 * Foe and adjacent foes
 * Trapped foes
 * Foes in well
 * Allies in ward
 * Other ally (can not target yourself)
 * Ally
 * Touched foe
 * Enchanted foe
 * Hexed foe
 * Moving foe
 * Attacking foe
 * Closest minion
 * Party
 * Foes attacking target ally (trigger on foes attacking a character with this enchantment)
 * Foes adjacent to cast location
 * Minions