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/doc: Difference between revisions

Template page
Development notes: updated for Arms Race 1.0
m Replace hard-coded color with design-token.
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{main|Template:GetSkillLink}}</noinclude>
<noinclude>{{main|Template:GetSkillLink}}</noinclude>
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: var(--color-error)">in this color</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.  
Line 22: Line 22:


=== See also ===
=== See also ===
*{{tl|GetSkillPrice}} and {{tl|GetSkillMult}}, very similar templates for the skillbook NPC-seeded price and the skill training time multiplier.
*{{tl|GetSkillPrice}}, {{tl|GetSkillMult}}, and {{tl|GetSkillAlpha}}: very similar templates for the skillbook NPC-seeded price, the skill training time multiplier, and the max skill level for Alpha clones.
*{{tl|Sk}} and {{tl|Skill}}, the primary users of this template.
*{{tl|Sk}} and {{tl|Skill}}, the primary users of this template.


=== Development notes ===
=== Development notes ===
:This template is, essentially, a lookup function for all the skills currently in the game. When CCP changes the skill names or groups, or adds/removes skills in a future expansion, update this template (as well as {{tl|GetSkillPrice}} and {{tl|GetSkillMult}}). If skills are merely moved from one group to another, all the links (generated with, for instance, {{tl|Sk}}) on the wiki will be automatically updated. If skill names change, then any pages with obsolete skill names will be listed in [[:Category:Obsolete Skills]], so that you can easily find and correct them.  
:This template is, essentially, a lookup function for all the skills currently in the game. When CCP changes the skill names or groups, or adds/removes skills in a future expansion, update this template (as well as {{tl|GetSkillPrice}} and {{tl|GetSkillMult}}). If skills are merely moved from one group to another, all the links (generated with, for instance, {{tl|Sk}}) on the wiki will be automatically updated. If skill names change, then any pages with obsolete skill names will be listed in [[:Category:Obsolete Skills]], so that you can easily find and correct them.  
:The skill information was last updated for: '''Arms Race 1.0'''.
:The skill information was last updated for: '''Version 22.01 - Equinox''' (11 June 2024).


==== Instructions for updating the template ====
==== Instructions for updating the template ====
Line 40: Line 40:
Therefore, to update the template, modify the affected lines as per the scheme above. The skills are grouped and in alphabetical order (to make it easier to maintain the template), so if necessary move some lines around to preserve this order. Don't forget to also update {{tl|GetSkillPrice}} and {{tl|GetSkillMult}} (which use a very similar coding for the skillbook price and training time multiplier).  
Therefore, to update the template, modify the affected lines as per the scheme above. The skills are grouped and in alphabetical order (to make it easier to maintain the template), so if necessary move some lines around to preserve this order. Don't forget to also update {{tl|GetSkillPrice}} and {{tl|GetSkillMult}} (which use a very similar coding for the skillbook price and training time multiplier).  


<includeonly>[[Category:Template]]</includeonly>
<includeonly>[[Category:Data templates]]</includeonly>
<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>