m Rayanth moved page User:Yrael oramara/Sandbox/Template:GetSkillLink/doc to User:Yrael Oramara/Sandbox/Template:GetSkillLink/doc: Automatically moved page while merging the account "Yrael oramara" to "Yrael Oramara" |
m Comment out category as per policy for user space. UniWiki:Categorization. |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude>{{main|User:Yrael | <noinclude>{{main|User:Yrael Oramara/Sandbox/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:red">in red</span> on the page itself. | ||
| Line 14: | Line 14: | ||
=== Examples === | === Examples === | ||
:<code><nowiki>{{User:Yrael | :<code><nowiki>{{User:Yrael Oramara/Sandbox/Template:GetSkillLink|Mechanics}}</nowiki></code> gives {{User:Yrael Oramara/Sandbox/Template:GetSkillLink|Mechanics}} [[Skills:Armor#Mechanics|Mechanics]] | ||
:<code><nowiki>{{User:Yrael | :<code><nowiki>{{User:Yrael Oramara/Sandbox/Template:GetSkillLink|Gallente Battleship}}</nowiki></code> gives {{User:Yrael Oramara/Sandbox/Template:GetSkillLink|Gallente Battleship}} | ||
:<code><nowiki>{{User:Yrael | :<code><nowiki>{{User:Yrael Oramara/Sandbox/Template:GetSkillLink|Cloaking|IV}}</nowiki></code> gives {{User:Yrael Oramara/Sandbox/Template:GetSkillLink|Cloaking|IV}} | ||
:<code><nowiki>{{User:Yrael | :<code><nowiki>{{User:Yrael Oramara/Sandbox/Template:GetSkillLink|Wabbit-Hunting}}</nowiki></code> gives {{User:Yrael Oramara/Sandbox/Template:GetSkillLink|Wabbit-Hunting}} | ||
=== Dependencies === | === Dependencies === | ||
:The template uses {{tl|!}} to generate the pipe character for the piped links. | :The template uses {{tl|!}} to generate the pipe character for the piped links. | ||
| 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:Template]]--></includeonly> | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude><!--[[Category:Template documentation]]--></noinclude> | ||