Template:Skill link: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
(Created page with "<includeonly><span class="gem-link {{#switch: {{{1}}} | Arc | Arctic Breath | Clarity | Cold Snap | Conductivity | Conversion Trap | Critical Weakness | Discharge | D...")
 
No edit summary
Line 1: Line 1:
<includeonly><span class="gem-link {{#switch: {{{1}}}
<includeonly>{{#switch: {{{2|{{{1}}}}}}
  | Arc
  | Arc
  | Arctic Breath
  | Arctic Breath
Line 31: Line 31:
  | Wrath
  | Wrath
  | Flammability
  | Flammability
   = int-skill
   = {{#if: {{{icononly|}}} | [[File:IntelligenceSkillGemIcon_small.png|link={{{1}}}|{{{2|{{{1}}}}}}]] | <span class="gem-link int-skill">{{#if: {{{2|}}} | [[{{{1}}}|{{{2}}}]] | [[{{{1}}}]]}}</span> }}
  | Bear Trap
  | Bear Trap
  | Blood Rage
  | Blood Rage
Line 59: Line 59:
  | Viper Strike
  | Viper Strike
  | Whirling Blades
  | Whirling Blades
   = dex-skill
   = {{#if: {{{icononly|}}} | [[File:DexteritySkillGemIcon_small.png|link={{{1}}}|{{{2|{{{1}}}}}}]] | <span class="gem-link dex-skill">{{#if: {{{2|}}} | [[{{{1}}}|{{{2}}}]] | [[{{{1}}}]]}}</span> }}
  | Anger
  | Anger
  | Cleave
  | Cleave
Line 83: Line 83:
  | Vitality
  | Vitality
  | Warlord's Mark
  | Warlord's Mark
   = str-skill
   = {{#if: {{{icononly|}}} | [[File:StrengthSkillGemIcon_small.png|link={{{1}}}|{{{2|{{{1}}}}}}]] | <span class="gem-link str-skill">{{#if: {{{2|}}} | [[{{{1}}}|{{{2}}}]] | [[{{{1}}}]]}}</span> }}
  | Added Chaos Damage
  | Added Chaos Damage
  | Added Lightning Damage
  | Added Lightning Damage
Line 99: Line 99:
  | Minion Speed
  | Minion Speed
  | Remote Mine
  | Remote Mine
   = int-suppt
   = {{#if: {{{icononly|}}} | [[File:IntelligenceSupportGemIcon_small.png|link={{{1}}}|{{{2|{{{1}}}}}}]] | <span class="gem-link int-suppt">{{#if: {{{2|}}} | [[{{{1}}}|{{{2}}}]] | [[{{{1}}}]]}}</span> }}
  | Added Cold Damage
  | Added Cold Damage
  | Additional Accuracy
  | Additional Accuracy
Line 116: Line 116:
  | Point Blank
  | Point Blank
  | Trap
  | Trap
   = dex-suppt
   = {{#if: {{{icononly|}}} | [[File:DexteritySupportGemIcon_small.png|link={{{1}}}|{{{2|{{{1}}}}}}]] | <span class="gem-link dex-suppt">{{#if: {{{2|}}} | [[{{{1}}}|{{{2}}}]] | [[{{{1}}}]]}}</span> }}
  | Added Fire Damage
  | Added Fire Damage
  | Blood Magic
  | Blood Magic
Line 135: Line 135:
  | Stun
  | Stun
  | Weapon Elemental Damage
  | Weapon Elemental Damage
   = str-suppt
   = {{#if: {{{icononly|}}} | [[File:StrengthSupportGemIcon_small.png|link={{{1}}}|{{{2|{{{1}}}}}}]] | <span class="gem-link str-suppt">{{#if: {{{2|}}} | [[{{{1}}}|{{{2}}}]] | [[{{{1}}}]]}}</span> }}
}}">{{#if: {{{icononly|}}}
| [[{{{1}}}|{{{2|{{{1}}}}}}]]
        | [[{{{1}}}|&nbsp;]]
}}</includeonly><noinclude>
        | {{#if: {{{2|}}}
            | [[{{{1}}}|{{{2}}}]]  
            | [[{{{1}}}]]
        }}
    }}</span></includeonly><noinclude>
{{Documentation}}
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Revision as of 13:54, 1 February 2013

Template documentation[view] [edit] [history] [purge]


Lua logo

This template uses the following modules:

Shortcut

Query based skill link. Use this to link skills from Template:Skill

Overview

Creates a link to a skill page.

Pages with broken skill links will be added to the maintenance category Category:Pages with broken skill links.

Parameters

Page selection

Page search

One of these is required. Do not specify more than one.

Parameter Value Description
id str Id of the skill to link against
skill_name str Name of the skill to search for. This can pose a problem if there are multiple skills with the same name - in that case use id instead.

Output overrides

All of these are optional and can be used to customize the item link.

Parameter Value Description
name str This parameter can be used to specify different link text than the skill name. This should be used mainly for grammatical purposes. If the link text is significantly different than the skill name, consider using a normal wikilink instead of this template.
large boolean If set to true, instead of the small icon in front of the name, a large icon will be shown below the skill (suitable for tables).
icon str File to use for the inline icon link.
skip_query boolean Skip querying for the skill.

Examples

Basic Usage

{{Skill link|Icestorm}}, {{Skill link|skill_name=Icestorm}}, {{Skill link|id=IcestormUniqueStaff12}}, {{Skill link |skip_query=true |page=Skill:IcestormUniqueStaff12 |name=Icestorm |icon=File:Icestorm skill icon.png}}

Yields:

Icestorm, [[{{{1}}}|{{{1}}}]], [[{{{1}}}|{{{1}}}]], [[{{{1}}}|{{{1}}}]]

{{Skill link
|Icestorm
|Icestorms
|large=True
}}

Yields:

[[Icestorm |Icestorms ]]