User:Leonim/Template:Skillbar/Core
From Guild Wars 2 Wiki
Jump to navigationJump to search
Description[edit]
Builds the layout of a full skillbar, relying on profession and skill choices, with weapon and environment mode swapping placeholders.
Thanks[edit]
- User:Shewmake for the design idea : Template:Skill-Bar.
- User:Kha for the bug hunting.
- User:SarielV for the bevy of updates and fixes.
Usage[edit]
Parameters[edit]
- default
- default
- default
| Parameter | Set | Description | Inner variable | Default |
|---|---|---|---|---|
| id | Required | Skillbar's anchor id | {{#var:skb-id}} | test-id |
| swap | Optional | Alternate skillbar's anchor id | {{#var:skb-swap-id}} | land |
| profession | Advised | Profession | {{#var:skb-profession}} | |
| mode | Optional | Attunement (elementalist) | {{#var:skb-mode}} | fire |
| env | Optional | Land or underwater | {{#var:skb-environment}} | land |
| w-e | Optional | Environmental weapon | {{#var:skb-env-item}} | |
| w-1 | Weapon set | Main-hand weapon | {{#var:skb-main-hand}} | |
| w-2 | Weapon set | Off-hand weapon | {{#var:skb-off-hand}} | |
| h | Healing | Healing skill | ||
| u-1 | Utility | Utility skill (slot:7) | ||
| u-2 | Utility | Utility skill (slot:8) | ||
| u-3 | Utility | Utility skill (slot:9) | ||
| e | Elite | Elite skill | ||
| pet | Pet | Pet or animal companion | {{#var:skb-pet}} | |
| pet-s | Pet | Pet's species-specific or special skill | ||
| pet-h | Pet | Pet's health | 100 | |
| uw-icon | Config | Toggle between ingame or User:Shewmake icons (for environment swap) |
ingame | |
| highlight | Config | Link awareness | {{#var:skb-highlight}} | true |
Call[edit]
{{User:Leonim/Template:Skillbar/Core
| id =
| swap =
| profession =
| mode =
| env =
| w-e =
| w-1 =
| w-2 =
| h =
| u-1 =
| u-2 =
| u-3 =
| e =
| pet =
| pet-s =
| highlight =
| uw-icon =
}}
Examples[edit]
Engineer[edit]
{{User:Leonim/Template:Skillbar/Core
| id = 1
| profession = engineer
| w-e = Elixir Gun
| w-1 = Pistol
| w-2 = Shield
| h = Healing Turret
| u-1 = Elixir Gun
| u-2 = Flamethrower
| u-3 = Bomb Kit
| e = Elixir X
| highlight = true
| uw-icon = ingame
}}
Ranger[edit]
{{User:Leonim/Template:Skillbar/Core
| id = ranger
| profession = Ranger
| w-e = Fiery Greatsword
| w-1 = Sword
| w-2 = Warhorn
| h = Healing Spring
| u-1 = Signet of the Wild
| u-2 = Signet of Renewal
| u-3 = Signet of the Hunt
| e = Rampage As One
| pet = Salamander Drake
| pet-s = Fire Breath
}}
Resources[edit]
Templates[edit]
| This user's contributions are also released under a Attribution-Noncommercial-Share Alike 2.0 license. |
- User:Leonim/Template:Skillbar (provides the UI for the skillbar w/ weapon swapping)
- User:Leonim/Template:Skillbar/Core (provides the UI for a simple skillbar)
- User:Leonim/Template:Skillbar/Core/Weapon-set (provides an icon for equipped items and weapons)
- User:Leonim/Template:Skillbar/Core/Mechanisms (provides an UI-equivalent for profession mechanics)
- User:Leonim/Template:Skillbar/Core/Toolbelt-pocket (to check and edit when toolbelt skills are outdated)
- User:Leonim/Template:Skillbar/Core/Pet-special (to check and edit when animal companion's species-specific skills are outdated)
- User:Leonim/Template:Skillbar/Core/Main-hand (to check and edit when main-hand or environmental weapon skills are outdated)
- User:Leonim/Template:Skillbar/Core/Off-hand (to check and edit when off-hand skills are outdated)
- User:Leonim/Template:Skillbar/Core/Slots (to check and edit when healing, utility or elite skills are outdated : see below for each specific template)
- User:Leonim/Template:Skillbar/Core/Heal (to check and edit when healing skills are outdated)
- User:Leonim/Template:Skillbar/Core/Utility (to check and edit when utility skills are outdated)
- User:Leonim/Template:Skillbar/Core/Elite (to check and edit when elite skills are outdated)
- User:Leonim/Template:Icon (formats an icon's image, size, text and link)
- User:Leonim/Template:IconM (same as above, with fixed medium size and less styling options)
- Template:Progress bar (provides ways to created progress bars)
Images[edit]
- File:User Shewmake icon-border-s.png : small-sized icon border
- File:User Shewmake icon-border-m.png : medium-sized icon border
- File:User Shewmake icon-border-l.png : large or custom-sized icon border
Code[edit]
Click edit to view the code.
Preview[edit]
100% |
|
|
100 / 100 |
||||||||||
|
|
|
|
|
|
|||||||||