User:Valento/Sandbox/Arcane Shield

From Guild Wars 2 Wiki
Jump to navigationJump to search
{{infobox status|{{{status|{{#ifeq:{{{historical|n}}}|y|historical}} }}} }}<!--

--><div class="infobox skill {{lc:{{{profession|{{{race|}}}}}}}}">
<div class="icon skill-infobox-icon">
<div style="overflow: hidden; width: 36px; height: 36px; display:inline-block; vertical-align:middle;">
<div style="margin: -6px; overflow: hidden;">[[Has game icon::File:{{{icon|{{#titleparts:{{FULLPAGENAME}}}}.png}}}|48x48px]]</div>
</div>
{{ifimage|{{FULLPAGENAME}} animation.gif|<p>[[:File:{{PAGENAME}} animation.gif|Animation]]</p>}}
</div>
<p class="heading">[[Has canonical name::{{{name|{{#titleparts:{{FULLPAGENAME}}}}}}}]]</p>
<div class="statistics">
{{#if: {{{uw-replaced-by|}}} |<span>[[File:Not available underwater.png|x20px|link=Underwater mode#Underwater skills|Not available underwater]]</span>  |
}}{{#ifeq: {{{initiative|0}}} | 0 ||
{{#set:Has initiative cost={{{initiative}}}}}{{initiative|{{{initiative}}}}}  
}}{{#ifeq: {{{energy|0}}} | 0 ||
{{#set:Has energy cost={{{energy}}}}}{{energy|{{{energy}}}}}  
}}{{#ifeq: {{{upkeep|0}}} | 0 ||
{{#set:Has upkeep cost={{{upkeep}}}}}{{upkeep|{{{upkeep}}}}}  
}}{{#ifeq: {{{activation|0}}} | 0 ||
{{#set:Has activation time={{{activation}}}}}{{activation|{{{activation}}}}}  
}}{{#ifeq: {{{recharge|0}}} | 0 ||
{{#set:Has recharge time={{{recharge}}}}}{{recharge|{{{recharge}}}}}  
}}{{#if: {{{hero points|}}} |<span>[[Has training hero point cost::{{{hero points}}}]] [[File:Hero point.png|20px|Hero point]]</span>  }}{{#if: {{{ground-target|}}} | [[File:Ground_target_aim.png|18px|Ground-targeted|link=Targeting#Ground_targeting]]   {{#set:Is ground targeted=Y}}|{{#set:Is ground targeted=N}}}}
</div>
<div class="wrapper">
{{#if: {{{profession|}}} |
;[[Profession]]
:{{#ifeq: {{lc:{{{profession}}}}} | common 
  | {{common}} [[Profession|All]] {{#set:Is for profession=Any}}
  | {{ {{{profession}}} }} [[Is for profession::{{ucfirst:{{{profession}}}}}]] <small>([[List of {{lc:{{{profession}}}}} skills|skill list]])</small>
 }}{{#set:Has profession sort order={{#switch:{{lc:{{{profession}}}}}
    | guardian = 1
    | warrior = 2
    | engineer = 3
    | revenant = 4
    | ranger = 5
    | thief = 6
    | elementalist = 7
    | mesmer = 8
    | necromancer = 9
    | #default = 10
    }}
  }} | {{#set:Is for profession=Any}} <!-- Default to any if parameter is missing -->
}}{{#if:{{{specialization|}}}|
;Specialization
:[[Is for specialization::{{ucfirst:{{{specialization}}}}}]]
}}{{#if: {{{race|}}} |
; [[Playable races|Race]]
: [[File:{{ucfirst:{{{race}}}}} tango icon 20px.png]] [[Is for race::{{ucfirst:{{{race}}}}}]] <small>([[List of {{lc:{{{race}}}}} racial skills|skill list]])</small>
}}{{#if: {{{pet|}}} |
; [[Pet]]{{#if: {{#pos: {{{pet|}}} |,}} | s }}
: {{#arraymap: {{{pet}}} |,|@@@| [[Is for pet::Juvenile {{ucfirst:@@@}}|{{ucfirst:@@@}}]] |<br>}}
}}{{#if: {{{pet-family|}}} |
; [[Pet]] family
: [[Is for pet family::{{ucfirst:{{{pet-family|}}}}}]]
}}{{#if: {{{monster|}}} |
; [[Monster]]
: [[{{ucfirst:{{{monster}}}}}]]
}}{{#if: {{{parent|}}} |
; Parent skill
: {{skill icon|{{{parent}}}|size=20}} {{#set: Has parent skill={{{parent}}}}}
}}{{ #switch: {{{slot|}}}
| weapon = 
; [[Weapon]] 
: {{#if: {{{mainhand|}}}
  | {{#set:Is for weapon={{{mainhand}}}}}
    {{#switch: {{{mainhand|}}} | 
    | axe = [[Main hand]] [[axe]]
    | dagger = [[Main hand]] [[dagger]]
    | mace = [[Main hand]] [[mace]]
    | pistol = [[Main hand]] [[pistol]]
    | scepter = [[Scepter]]
    | sword = [[Main hand]] [[sword]]
    }}{{#if: {{{offhand|}}}
    | <br>
    }}
}}{{#if: {{{offhand|}}}
  | {{#ifeq: {{lc:{{{type|}}}}} | dual wield
    | {{#set:Requires offhand={{ucfirst:{{{offhand}}}}}}}
    | {{#set:Is for weapon={{{offhand}}}}}
    }}{{#switch: {{{offhand}}}
    | axe =  [[Off-hand]] [[axe]]
    | dagger = [[Off-hand]] [[dagger]]
    | mace = [[Off-hand]] [[mace]]
    | pistol = [[Off-hand]] [[pistol]]
    | sword = [[Off-hand]] [[sword]]
    | focus = [[Focus]]
    | shield = [[Shield]]
    | torch = [[Torch]]
    | warhorn = [[Warhorn]]
    | none | empty = ''[[Off-hand]] empty''
    }}
}}{{#if: {{{twohand|}}}
  | [[Is for weapon::{{ucfirst:{{{twohand}}}}}]]
}}
| weapon kit = ; [[Weapon kit]] : {{#ifexist: File:{{{kit}}}.png | [[File:{{{kit}}}.png{{!}}20x20px{{!}}link={{{kit}}}]] | [[Image:Skill.png{{!}}20x20px{{!}}link={{{kit}}}]]}} [[Is for weapon::{{{kit}}}]]
| backpack kit
| device kit = ; [[Device kit]] : {{#ifexist: File:{{{kit}}}.png | [[File:{{{kit}}}.png{{!}}20x20px{{!}}link={{{kit}}}]] | [[Image:Skill.png{{!}}20x20px{{!}}link={{{kit}}}]]}} [[Is for weapon::{{{kit}}}]]
| environmental
| bundle = ; [[Bundle|Bundle]]:{{#arraymap: {{{twohand|}}} |,|@@@| [[Is for weapon::{{ucfirst:@@@}}|{{#replace: {{ucfirst:@@@}} | (environmental weapon) }}]] |<br>}}
| burst skill = ; [[Weapon]]</p> <p class="info"> [[Main hand]] [[{{lc:{{{mainhand}}}}}]]
| healing = ; [[Skill bar{{!}}Slot]]:[[Healing skill|Healing]] {{#set:Has skill context=Healing}}{{#if:{{{uw-replaced-by|}}}|{{#set:Is usable underwater=N}}|{{#set:Is usable underwater=Y}}}}
| utility = ; [[Skill bar{{!}}Slot]]:[[Utility skill|Utility]] {{#set:Has skill context=Utility}}{{#if:{{{uw-replaced-by|}}}|{{#set:Is usable underwater=N}}|{{#set:Is usable underwater=Y}}}}
| elite = ; [[Skill bar{{!}}Slot]]:[[Elite skill|Elite]] {{#set:Has skill context=Elite}}{{#if:{{{uw-replaced-by|}}}|{{#set:Is usable underwater=N}}|{{#set:Is usable underwater=Y}}}}
| downed = ; [[Skill bar{{!}}Slot]]:[[List of downed skills|Downed]]{{#set:Has skill context=Downed}}
| drowning = ; [[Skill bar{{!}}Slot]]:[[List of drowning skills|Drowning]]{{#set:Has skill context=Drowning}}
| downed and drowning = ;[[Skill bar{{!}}Slot]]:[[List of downed skills|Downed]] <br /> [[List of drowning skills|Drowning]]{{#set:Has skill context=Downed}}
| deathshroud = ; [[Skill bar{{!}}Slot]]: [[Death Shroud]]
| reapershroud = ; [[Skill bar{{!}}Slot]]: [[Reaper's Shroud]]
| pet = ; [[Skill bar{{!}}Slot]]:[[List of pet skills|Pet]]
| mechanic = ; [[Skill bar{{!}}Slot]]:[[Profession mechanic]]{{#set:Has skill context=Profession mechanic}}
| monster = ; [[Skill bar{{!}}Slot]]:[[Monster skill]]
| toy = ; [[Toy]]:{{#if:{{{toy|}}}|[[{{{toy}}}]]|}}
| tonic = ; [[Tonic]]:{{#if:{{{tonic|}}}|[[{{{tonic}}}]]|}}
}}<!-- end switch slot

-->{{#if: {{{activity|}}} |
; [[Activity]] 
: {{#switch: {{lc:{{{activity|}}}}}
  | costume
  | costume brawl = [[Costume Brawl]]
  | #default = [[{{ucfirst:{{{activity|}}}}}]]{{#set:Has skill context=Activity}}{{#set:Is for activity={{ucfirst:{{{activity|}}}}}}}
  }}
}}{{#if: {{{weapon-slot|}}}|{{#set:Has skill slot number={{{weapon-slot}}}}} {{#ifexpr:{{{weapon-slot}}} < 6 and {{{weapon-slot}}} > 0
|;  
: [[File:Weapon slot {{{weapon-slot}}} tango.png|65x20px|Weapon slot {{{weapon-slot}}}]] }} }} {{#if: {{{tool_belt|}}} | {{#switch:{{{slot}}} | healing | utility | elite = {{#if:{{{parent|}}} | <!--don't show tool belt for secondary skills--> |; [[Tool belt]] : {{#ifexist: File:{{{tool_belt}}}.png | [[File:{{{tool_belt}}}.png{{!}}20x20px{{!}}link={{{tool_belt}}}]] | [[Image:Skill.png{{!}}20x20px{{!}}link={{{tool_belt}}}]]}} [[{{{tool_belt}}}]]}} }} }}{{#if: {{{attunement|}}} |
; [[Attunement]]
: [[Is for attunement::{{ucfirst:{{{attunement}}}}} Attunement|{{ucfirst:{{{attunement}}}}}]]
}}{{#if: {{{type|}}} | 
; [[Skill type|Type]]
: {{#arraymap:{{{type}}}|,|@@@|{{#switch:{{lc:@@@}}
                               | deception = [[Deception (skill type)|Deception]] {{#set:Has skill type=Deception}}
                               | tool belt
                               | tool belt skill = [[Has skill type::Tool belt]]
                               | #default = [[Has skill type::{{ucfirst:@@@}}]]
                               }}}}
}}{{#if: {{{activ-type|}}} |
; [[Skill#Skill types{{!}}Activ. type]] 
: {{#switch: {{lc:{{{activ-type|}}}}}
  | chain = [[Chain]]
  | channeled
  | hold = [[Channeled skill|Channeled]]
  | charge = [[Charge skill|Charge]]
  }}
}}{{#if: {{{chain1|}}} |  
; [[Sequence skill|Sequence]] 
: {{#arraymap: {{{chain1|}}}, {{{chain2|}}}, {{{chain3|}}} |,|@@@|
  {{borderless|{{#sub:{{#show: @@@ | ?Has game icon | link = none | default = File:Skill.png }}|5}}|20|link=@@@}}| → 
  }}{{#set:Has chain sequence={{{chain1}}}{{#if:{{{chain2|}}}|, {{{chain2}}}}}{{#if:{{{chain3|}}}|, {{{chain3}}}}}}}
}}{{#if:{{{id|}}}|
; Game link
: {{skill link|{{#explode:{{{id}}}|,|0}}}} {{#arraymap:{{{id}}}|,|@@@|{{#set:Has game id=@@@}}|}}}}
</div>
{{clear}}{{#set:Has context=Skill}}
</div><!--
AUTOCATEGORIZATION - skill description/effects code is after this
-->{{#if: {{NAMESPACE}}<!-- no categories if outside of article namespace -->
          {{#ifeq: {{{categorize|y}}} | n | do not categorize | <!-- categorize --> }}
          {{#switch: {{lc:{{{status|}}}}} | historical | unimplemented | future = do not categorize }}
          {{#ifeq: {{lc:{{{historical}}}}} | y | do not categorize }}<!-- legacy support -->
 | <!-- Do not categorize --> |
{{#if: {{{icon|}}} || {{#ifexist:File:{{#replace:{{FULLPAGENAME}}|:|-}}.png || [[Category:Skills missing icon]] }} }}
{{#if: {{{profession|}}}|
  {{#if: {{{specialization|}}}
   | [[Category:{{ucfirst:{{{specialization|}}}}} skills]]
   | [[Category:{{ucfirst:{{{profession|}}}}} skills]]
  }}
}}
{{#if: {{{race|}}}
 | [[Category:{{ucfirst:{{{race|}}}}} skills]]
}}
<!---Attunement-->
{{#if: {{{attunement|}}}
 | {{ #switch: {{lc:{{{attunement|}}}}}
   | air = [[Category:Air attunement skills]] 
   | earth = [[Category:Earth attunement skills]] 
   | fire = [[Category:Fire attunement skills]]
   | water = [[Category:Water attunement skills]]
   }}
}}
<!--Activity-->
{{#if: {{{activity|}}}
 | {{ #switch: {{lc:{{{activity|}}}}}
   | costume
   | costume brawl = [[Category:Costume Brawl skills]]
   | #default = [[Category:{{ucfirst:{{{activity|}}}}} skills]]
   }}
}}
<!---Weapon--->
{{#if: {{{mainhand|}}}
 | {{#switch: {{lc:{{{mainhand}}}}}
   | scepter = [[Category:Scepter skills]]
   | #default = [[Category:Main-hand {{lc:{{{mainhand}}}}} skills]]
   }}
}}
{{#if: {{{offhand|}}}
 | {{#switch: {{lc:{{{offhand}}}}}
   | none | empty = 
   | focus
   | shield
   | torch
   | warhorn = [[Category:{{ucfirst:{{{offhand}}}}} skills]]{{#set:Has skill context=Offhand}}
   | #default = [[Category:Off-hand {{lc:{{{offhand}}}}} skills]]{{#set:Has skill context=Offhand}}
   }}
}}
{{#if: {{{twohand|}}}
 | {{#arraymap: {{{twohand}}} |,|@@@| 
      {{#switch: {{{slot|}}}
       | environmental
       | bundle = [[Category:Bundle skills]]
       | weapon = [[Category:{{ucfirst:@@@}} skills]]
      }}
   |}}
}}
<!---Type--->
{{#switch: {{lc:{{{type|}}}}}
 | arcane = [[Category:Arcane skills]]
 | aura = [[Category:Aura skills]]
 | banner = [[Category:Banner skills]]
 | burst
 | burst skill = [[Category:Burst skills]]
 | cantrip = [[Category:Cantrip skills]]
 | clone = [[Category:Clone skills]]
 | conjure = [[Category:Conjure skills]]
 | consecration = [[Category:Consecration skills]]
 | corruption = [[Category:Corruption skills]]
 | backpack kit
 | device kit = [[Category:Device kit skills]]
 | dual
 | dual skill = [[Category:Dual skills]]
 | deception = [[Category:Deception skills]]
 | elixir = [[Category:Elixir skills]]
 | gadget = [[Category:Gadget skills]]
 | glamour = [[Category:Glamour skills]]
 | glyph = [[Category:Glyph skills]]
 | intervention = [[Category:Intervention skills]]
 | manipulation = [[Category:Manipulation skills]]
 | mantra = [[Category:Mantra skills]]
 | mark = [[Category:Mark skills]]
 | meditation = [[Category:Meditation skills]]
 | minion = [[Category:Minion skills]]
 | phantasm = [[Category:Phantasm skills]]
 | physical = [[Category:Physical skills]]
 | preparation = [[Category:Preparation skills]]
 | shatter = [[Category:Shatter skills]]
 | shout = [[Category:Shout skills]]{{DEFAULTSORT:{{#replace:{{{name|{{FULLPAGENAME}}}}}|"|}}}}
 | signet = [[Category:Signet skills]]
 | spectral = [[Category:Spectral skills]]
 | spirit
 | spirit skill = [[Category:Spirit skills]]
 | spirit weapon = [[Category:Spirit weapon skills]]
 | survival = [[Category:Survival skills]]
 | stance = [[Category:Stance skills]]
 | stealth attack = [[Category:Stealth Attack skills]]
 | stolen skill = [[Category:Stolen skills]]
 | symbol = [[Category:Symbol skills]]
 | tome = [[Category:Tome skills]]
 | tool belt skill = [[Category:Tool belt skills]]
 | transform = [[Category:Transform skills]]
 | trap = [[Category:Trap skills]]
 | trick = [[Category:Trick skills]]
 | turret = [[Category:Turret skills]]
 | ward = [[Category:Ward skills]]
 | weapon kit = [[Category:Weapon kit skills]]
 | well = [[Category:Well skills]]
 | venom = [[Category:Venom skills]]
 | virtue = [[Category:Virtue skills]]
}}
<!---Slot--->
{{#switch: {{lc:{{{slot|}}}}}
 | healing = [[Category:Healing skills]] 
 | elite = [[Category:Elite skills]] 
 | utility = [[Category:Utility skills]] 
 | deathshroud = [[Category:Death Shroud skills]]
 | reapershroud = [[Category:Reaper's Shroud skills]]
 | downed = [[Category:Downed skills]] 
 | drowning = [[Category:Drowning skills]] 
 | downed and drowning = [[Category:Downed skills]][[Category:Drowning skills]]
 | monster = [[Category:Monster skills]]
 | pet = [[Category:Pet skills]]
 | toy = [[Category:{{{toy|}}} skills]]
 | tonic = [[Category:{{{tonic|}}} skills]]
 | weapon kit
 | backpack kit
 | device kit = [[Category:{{{kit|}}} skills]]
}}
<!---Ground targeting--->
{{#if: {{{ground-target|}}}
 | [[Category:Ground-targeted skills]]
}}
<!---Polymorph forms-->
{{#switch: {{lc:{{{parent|}}}}}
 | polymorph tuna = [[Category:Tuna Form skills]]
 | polymorph moa = [[Category:Moa Form skills]]
}}
<!---Activation type-->
{{#switch: {{lc:{{{activ-type}}}}} 
 | chain = [[Category:Chain skills]]
 | channeled = [[Category:Channeled skills]]
 | charge = [[Category:Charge skills]]
}}
}}<!-- Here's the description/effects section-->{{#ifeq:{{{uw-replaced-by|none}}}|none|<!--display nothing when there is no replacement skill-->|:[[File:Not available underwater.png|x20px]] ''This skill has an [[underwater mode|underwater]] replacement: [[{{{uw-replaced-by}}}]]''}}{{#if:{{{uw-replaces|}}}|:[[File:Underwater.png|x20px]] ''This skill is the [[underwater mode|underwater]] replacement for: [[{{{uw-replaces|}}}]]''}}
{{Quotation|In-game description <sup>[[[Guild Wars 2 Wiki:Skill formatting|?]]]</sup>|[[Has game description::{{{description|''No description available.''}}}]]
{{{variables|}}}
}}  
{{clear}}
<!-- Related traits
-->{{#vardefine:related_traits|{{#ask:[[Relates to skill::{{FULLPAGENAME}}]]|link = none}}}}
{{#if: {{#var:related_traits|}} | <includeonly>== Related [[trait]]s ==</includeonly>
{{#arraymap:
{{#var:related_traits}}
|,|@@@|* {{trait icon|@@@}} - {{trait description|@@@}}|\n}} }}