Template talk:PvX skill bar/Cell

From Guild Wars Wiki
Jump to navigationJump to search

String function[edit]

[[Image:²{#if: ²{#pos: ²{lc:{{{1}}}}² ¦ pvp }² ¦ ²{ #sub:%PAGE% | 0 | ²{#expr: ²{#len: %PAGE%}² - 6 }² }² ¦ %PAGE% }² (large).jpg|56px|link=%PAGE%]]
Walkthrough of the above gibberish
  1. Check for presence of "pvp" in the lower case version of the skill name.
    1. If it does contain "pvp" — Write the name of the skill from the first character to the (number of characters - 6) i.e. the string length of SPACE(PvP)
    2. If it does not contain "pvp" — Write the name of the skill.

File:User Chieftain Alex Chieftain Signature.jpg Chieftain Alex 11:27, 12 August 2012 (UTC)

Errors[edit]

Doesn't currently work for:

Signet of Capture "Save Yourselves!" Aura of Holy Might Elemental Lord Ether Nightmare Selfless Spirit Shadow Sanctuary Signet of Corruption Spear of Fury Summon Spirits Triple Shot

Lightbringer's Gaze Lightbringer Signet

"There's Nothing to Fear!" Critical Agility Cry of Pain Eternal Aura Intensity Necrosis Never Rampage Alone Seed of Life Sunspear Rebirth Signet Vampirism Whirlwind Attack

Asura summon Air of Superiority Asuran Scan Mental Block Mindbender Pain Inverter Radiation Field Smooth Criminal Summon Ice Imp Summon Mursaat Summon Naga Shaman Summon Ruby Djinn Technobabble

Alkar's Alchemical Acid Black Powder Mine Brawling Headbutt Breath of the Great Dwarf "By Ural's Hammer!" "Don't Trip!" Drunken Master Dwarven Stability Ear Bite Great Dwarf Armor Great Dwarf Weapon Light of Deldrimor Low Blow Snow Storm

Deft Strike Ebon Battle Standard of Courage Ebon Battle Standard of Honor Ebon Battle Standard of Wisdom Ebon Escape Ebon Vanguard Assassin Support Ebon Vanguard Sniper Support Signet of Infection Sneak Attack Tryptophan Signet Weakness Trap Winds

A Touch of Guile Club of a Thousand Bears "Dodge This!" Feel No Pain "Finish Him!" "I Am the Strongest!" "I Am Unstoppable!" Raven Blessing Ursan Blessing Volfen Blessing "You Move Like a Dwarf!" "You Are All Weaklings!"

So I guess I'll need to exclude those. File:User Chieftain Alex Chieftain Signature.jpg Chieftain Alex 13:15, 12 August 2012 (UTC)