Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:GetSkillLink: Difference between revisions

Template page
Expand documentation
Template done, and "level" is the correct term!
Line 425: Line 425:
}}{{#if:{{{2|}}}|&nbsp;{{{2}}}|}}]]<noinclude>
}}{{#if:{{{2|}}}|&nbsp;{{{2}}}|}}]]<noinclude>
== Documentation ==
== Documentation ==
{{WIP}}
:This template produces a link to the appropriate skill page. It was created to streamline page writing (you no longer need to look up a skill's group in order to link to it, as this template will do it for you) and to flag any pages which need updating when CCP decides to rename or move skills in a future game expansion. Any pages with outdated skill links will be added to the category [[:Category:Obsolete Skills|Obsolete Skills]] and will be shown <span style="color:red">in red</span> on the page itself.  
:This template produces a link to the appropriate skill page. It was created to streamline page writing (you no longer need to look up a skill's group in order to link to it, as this template will do it for you) and to flag any pages which need updating when CCP decides to rename or move skills in a future game expansion. Any pages with outdated skill links will be added to the category [[:Category:Obsolete Skills|Obsolete Skills]] and will be shown <span style="color:red">in red</span> on the page itself.  
:This template feeds the more general {{tl|Sk}} template; in most cases, it's recommended that you use {{tl|Sk}} to link to skills, as it has more options and is easier to use.  
:This template feeds the more general {{tl|Sk}} template; in most cases, it's recommended that you use {{tl|Sk}} to link to skills, as it has more options and is easier to use.  


=== Syntax ===
=== Syntax ===
{{code|<nowiki>{{GetSkillLink | skill | rank }}</nowiki>}}
{{code|<nowiki>{{GetSkillLink | skill | level }}</nowiki>}}


;skill
;skill
:The name of the skill you would like to link to. Please make sure it's capitalised properly (use title case spelling, i.e. <code>Gallente Strategic Cruiser</code>, not <code>Gallente strategic cruiser</code>).
:The name of the skill you would like to link to. Please make sure it's capitalised properly (use title case spelling, i.e. <code>Gallente Strategic Cruiser</code>, not <code>Gallente strategic cruiser</code>).


;rank
;level
:The rank of the skill (<code>I</code> to <code>V</code>). This parameter is optional; you can omit it if you would only like to link to the skill without reference to a particular skill rank.
:The level of the skill (<code>I</code> to <code>V</code>). This parameter is optional; you can omit it if you would only like to link to the skill without reference to a particular skill level.


=== Examples ===
=== Examples ===