Difference between revisions of "Template:GetSkillLink"

From EVE University Wiki
Jump to: navigation, search
(Moved documentation to Template:GetSkillLink/doc.)
m (Reverted edits by Djavin novienta (talk) to last revision by Noemie belacqua)
Line 1: Line 1:
<includeonly>[[Skills:{{#switch: {{{1|}}}
+
[[Skills:{{#switch: {{{1|}}}
 
<!--------- SKILL GROUP: Armor ------------>
 
<!--------- SKILL GROUP: Armor ------------>
 
  | Armor Layering = Armor#Armor Layering{{!}}Armor Layering
 
  | Armor Layering = Armor#Armor Layering{{!}}Armor Layering
 +
| Armor Resistance Phasing = Armor#Armor Resistance Phasing{{!}}Armor Resistance Phasing
 
  | Capital Remote Armor Repair Systems = Armor#Capital Remote Armor Repair Systems{{!}}Capital Remote Armor Repair Systems
 
  | Capital Remote Armor Repair Systems = Armor#Capital Remote Armor Repair Systems{{!}}Capital Remote Armor Repair Systems
 
  | Capital Remote Hull Repair Systems = Armor#Capital Remote Hull Repair Systems{{!}}Capital Remote Hull Repair Systems
 
  | Capital Remote Hull Repair Systems = Armor#Capital Remote Hull Repair Systems{{!}}Capital Remote Hull Repair Systems
Line 13: Line 14:
 
  | Remote Hull Repair Systems = Armor#Remote Hull Repair Systems{{!}}Remote Hull Repair Systems
 
  | Remote Hull Repair Systems = Armor#Remote Hull Repair Systems{{!}}Remote Hull Repair Systems
 
  | Repair Systems = Armor#Repair Systems{{!}}Repair Systems
 
  | Repair Systems = Armor#Repair Systems{{!}}Repair Systems
  | Thermal Armor Compensation = Armor#Thermal Armor Compensation{{!}}Thermal Armor Compensation
+
  | Thermic Armor Compensation = Armor#Thermic Armor Compensation{{!}}Thermic Armor Compensation
 
<!--------- SKILL GROUP: Corporation Management -------->
 
<!--------- SKILL GROUP: Corporation Management -------->
 +
| Anchoring = Corporation Management#Anchoring{{!}}Anchoring
 
  | Corporation Management = Corporation Management#Corporation Management{{!}}Corporation Management
 
  | Corporation Management = Corporation Management#Corporation Management{{!}}Corporation Management
 
  | Diplomatic Relations = Corporation Management#Diplomatic Relations{{!}}Diplomatic Relations
 
  | Diplomatic Relations = Corporation Management#Diplomatic Relations{{!}}Diplomatic Relations
Line 20: Line 22:
 
  | Megacorp Management = Corporation Management#Megacorp Management{{!}}Megacorp Management
 
  | Megacorp Management = Corporation Management#Megacorp Management{{!}}Megacorp Management
 
  | Sovereignty = Corporation Management#Sovereignty{{!}}Sovereignty
 
  | Sovereignty = Corporation Management#Sovereignty{{!}}Sovereignty
 +
| Starbase Defense Management = Corporation Management#Starbase Defense Management{{!}}Starbase Defense Management
 
<!--------- SKILL GROUP: Drones ------------------------>
 
<!--------- SKILL GROUP: Drones ------------------------>
 
  | Advanced Drone Avionics = Drones#Advanced Drone Avionics{{!}}Advanced Drone Avionics
 
  | Advanced Drone Avionics = Drones#Advanced Drone Avionics{{!}}Advanced Drone Avionics
 +
| Advanced Drone Interfacing = Drones#Advanced Drone Interfacing{{!}}Advanced Drone Interfacing
 
  | Amarr Drone Specialization = Drones#Amarr Drone Specialization{{!}}Amarr Drone Specialization
 
  | Amarr Drone Specialization = Drones#Amarr Drone Specialization{{!}}Amarr Drone Specialization
 
  | Caldari Drone Specialization = Drones#Caldari Drone Specialization{{!}}Caldari Drone Specialization
 
  | Caldari Drone Specialization = Drones#Caldari Drone Specialization{{!}}Caldari Drone Specialization
Line 30: Line 34:
 
  | Drone Sharpshooting = Drones#Drone Sharpshooting{{!}}Drone Sharpshooting
 
  | Drone Sharpshooting = Drones#Drone Sharpshooting{{!}}Drone Sharpshooting
 
  | Drones = Drones#Drones{{!}}Drones
 
  | Drones = Drones#Drones{{!}}Drones
  | Fighter Hangar Management = Drones#Fighter Hangar Management{{!}}Fighter Hangar Management
+
  | Fighter Bombers = Drones#Fighter Bombers{{!}}Fighter Bombers
 
  | Fighters = Drones#Fighters{{!}}Fighters
 
  | Fighters = Drones#Fighters{{!}}Fighters
 
  | Gallente Drone Specialization = Drones#Gallente Drone Specialization{{!}}Gallente Drone Specialization
 
  | Gallente Drone Specialization = Drones#Gallente Drone Specialization{{!}}Gallente Drone Specialization
 
  | Heavy Drone Operation = Drones#Heavy Drone Operation{{!}}Heavy Drone Operation
 
  | Heavy Drone Operation = Drones#Heavy Drone Operation{{!}}Heavy Drone Operation
| Heavy Fighters = Drones#Heavy Fighters{{!}}Heavy Fighters
+
  | Ice Harvester Drone Operation = Drones#Ice Harvester Drone Operation{{!}}Ice Harvester Drone Operation
  | Ice Harvesting Drone Operation = Drones#Ice Harvester Drone Operation{{!}}Ice Harvester Drone Operation
+
  | Ice Harvester Drone Specialization = Drones#Ice Harvester Drone Specialization{{!}}Ice Harvester Drone Specialization
  | Ice Harvesting Drone Specialization = Drones#Ice Harvester Drone Specialization{{!}}Ice Harvester Drone Specialization
 
 
  | Light Drone Operation = Drones#Light Drone Operation{{!}}Light Drone Operation
 
  | Light Drone Operation = Drones#Light Drone Operation{{!}}Light Drone Operation
| Light Fighters = Drones#Light Fighters{{!}}Light Fighters
 
 
  | Medium Drone Operation = Drones#Medium Drone Operation{{!}}Medium Drone Operation
 
  | Medium Drone Operation = Drones#Medium Drone Operation{{!}}Medium Drone Operation
 
  | Mining Drone Operation = Drones#Mining Drone Operation{{!}}Mining Drone Operation
 
  | Mining Drone Operation = Drones#Mining Drone Operation{{!}}Mining Drone Operation
Line 46: Line 48:
 
  | Salvage Drone Operation = Drones#Salvage Drone Operation{{!}}Salvage Drone Operation
 
  | Salvage Drone Operation = Drones#Salvage Drone Operation{{!}}Salvage Drone Operation
 
  | Sentry Drone Interfacing = Drones#Sentry Drone Interfacing{{!}}Sentry Drone Interfacing
 
  | Sentry Drone Interfacing = Drones#Sentry Drone Interfacing{{!}}Sentry Drone Interfacing
| Support Fighters = Drones#Support Fighters{{!}}Support Fighters
 
 
<!--------- SKILL GROUP: Electronic Systems ------------>
 
<!--------- SKILL GROUP: Electronic Systems ------------>
| Burst Projector Operation = Electronic Systems#Burst Projector Operation{{!}}Burst Projector Operation
 
 
  | Cloaking = Electronic Systems#Cloaking{{!}}Cloaking
 
  | Cloaking = Electronic Systems#Cloaking{{!}}Cloaking
 
  | Electronic Warfare = Electronic Systems#Electronic Warfare{{!}}Electronic Warfare
 
  | Electronic Warfare = Electronic Systems#Electronic Warfare{{!}}Electronic Warfare
 
  | Frequency Modulation = Electronic Systems#Frequency Modulation{{!}}Frequency Modulation
 
  | Frequency Modulation = Electronic Systems#Frequency Modulation{{!}}Frequency Modulation
 
  | Long Distance Jamming = Electronic Systems#Long Distance Jamming{{!}}Long Distance Jamming
 
  | Long Distance Jamming = Electronic Systems#Long Distance Jamming{{!}}Long Distance Jamming
 +
| Projected Electronic Counter Measures = Electronic Systems#Projected Electronic Counter Measures{{!}}Projected Electronic Counter Measures
 
  | Propulsion Jamming = Electronic Systems#Propulsion Jamming{{!}}Propulsion Jamming
 
  | Propulsion Jamming = Electronic Systems#Propulsion Jamming{{!}}Propulsion Jamming
 
  | Sensor Linking = Electronic Systems#Sensor Linking{{!}}Sensor Linking
 
  | Sensor Linking = Electronic Systems#Sensor Linking{{!}}Sensor Linking
Line 61: Line 62:
 
  | Target Breaker Amplification = Electronic Systems#Target Breaker Amplification{{!}}Target Breaker Amplification
 
  | Target Breaker Amplification = Electronic Systems#Target Breaker Amplification{{!}}Target Breaker Amplification
 
  | Target Painting = Electronic Systems#Target Painting{{!}}Target Painting
 
  | Target Painting = Electronic Systems#Target Painting{{!}}Target Painting
  | Weapon Destabilization = Electronic Systems#Weapon Destabilization{{!}}Weapon Destabilization
+
  | Turret Destabilization = Electronic Systems#Turret Destabilization{{!}}Turret Destabilization
 
  | Weapon Disruption = Electronic Systems#Weapon Disruption{{!}}Weapon Disruption
 
  | Weapon Disruption = Electronic Systems#Weapon Disruption{{!}}Weapon Disruption
 
<!--------- SKILL GROUP: Engineering ------------>
 
<!--------- SKILL GROUP: Engineering ------------>
Line 68: Line 69:
 
  | Capacitor Management = Engineering#Capacitor Management{{!}}Capacitor Management
 
  | Capacitor Management = Engineering#Capacitor Management{{!}}Capacitor Management
 
  | Capacitor Systems Operation = Engineering#Capacitor Systems Operation{{!}}Capacitor Systems Operation
 
  | Capacitor Systems Operation = Engineering#Capacitor Systems Operation{{!}}Capacitor Systems Operation
  | Capital Capacitor Emission Systems = Engineering#Capital Energy Emission Systems{{!}}Capital Energy Emission Systems
+
  | Capital Energy Emission Systems = Engineering#Capital Energy Emission Systems{{!}}Capital Energy Emission Systems
 
  | CPU Management = Engineering#CPU Management{{!}}CPU Management
 
  | CPU Management = Engineering#CPU Management{{!}}CPU Management
 
  | Electronics Upgrades = Engineering#Electronics Upgrades{{!}}Electronics Upgrades
 
  | Electronics Upgrades = Engineering#Electronics Upgrades{{!}}Electronics Upgrades
Line 76: Line 77:
 
  | Nanite Operation = Engineering#Nanite Operation{{!}}Nanite Operation
 
  | Nanite Operation = Engineering#Nanite Operation{{!}}Nanite Operation
 
  | Power Grid Management = Engineering#Power Grid Management{{!}}Power Grid Management
 
  | Power Grid Management = Engineering#Power Grid Management{{!}}Power Grid Management
| Resistance Phasing = Engineering#Resistance Phasing{{!}}Resistance Phasing
 
 
  | Thermodynamics = Engineering#Thermodynamics{{!}}Thermodynamics
 
  | Thermodynamics = Engineering#Thermodynamics{{!}}Thermodynamics
 
  | Weapon Upgrades = Engineering#Weapon Upgrades{{!}}Weapon Upgrades
 
  | Weapon Upgrades = Engineering#Weapon Upgrades{{!}}Weapon Upgrades
 
<!--------- SKILL GROUP: Gunnery ------------>
 
<!--------- SKILL GROUP: Gunnery ------------>
| Capital Artillery Specialization = Gunnery#Capital Artillery Specialization{{!}}Capital Artillery Specialization
 
| Capital Autocannon Specialization = Gunnery#Capital Autocannon Specialization{{!}}Capital Autocannon Specialization
 
| Capital Beam Laser Specialization = Gunnery#Capital Beam Laser Specialization{{!}}Capital Beam Laser Specialization
 
| Capital Blaster Specialization = Gunnery#Capital Blaster Specialization{{!}}Capital Blaster Specialization
 
 
  | Capital Energy Turret = Gunnery#Capital Energy Turret{{!}}Capital Energy Turret
 
  | Capital Energy Turret = Gunnery#Capital Energy Turret{{!}}Capital Energy Turret
 
  | Capital Hybrid Turret = Gunnery#Capital Hybrid Turret{{!}}Capital Hybrid Turret
 
  | Capital Hybrid Turret = Gunnery#Capital Hybrid Turret{{!}}Capital Hybrid Turret
 
  | Capital Projectile Turret = Gunnery#Capital Projectile Turret{{!}}Capital Projectile Turret
 
  | Capital Projectile Turret = Gunnery#Capital Projectile Turret{{!}}Capital Projectile Turret
| Capital Pulse Laser Specialization = Gunnery#Capital Pulse Laser Specialization{{!}}Capital Pulse Laser Specialization
 
| Capital Railgun Specialization = Gunnery#Capital Railgun Specialization{{!}}Capital Railgun Specialization
 
 
  | Controlled Bursts = Gunnery#Controlled Bursts{{!}}Controlled Bursts
 
  | Controlled Bursts = Gunnery#Controlled Bursts{{!}}Controlled Bursts
 
  | Doomsday Operation = Gunnery#Doomsday Operation{{!}}Doomsday Operation
 
  | Doomsday Operation = Gunnery#Doomsday Operation{{!}}Doomsday Operation
| Doomsday Rapid Firing = Gunnery#Doomsday Rapid Firing{{!}}Doomsday Rapid Firing
 
 
  | Gunnery = Gunnery#Gunnery{{!}}Gunnery
 
  | Gunnery = Gunnery#Gunnery{{!}}Gunnery
 
  | Large Artillery Specialization = Gunnery#Large Artillery Specialization{{!}}Large Artillery Specialization
 
  | Large Artillery Specialization = Gunnery#Large Artillery Specialization{{!}}Large Artillery Specialization
Line 145: Line 138:
 
  | Auto-Targeting Missiles = Missiles#Auto-Targeting Missiles{{!}}Auto-Targeting Missiles
 
  | Auto-Targeting Missiles = Missiles#Auto-Targeting Missiles{{!}}Auto-Targeting Missiles
 
  | Bomb Deployment = Missiles#Bomb Deployment{{!}}Bomb Deployment
 
  | Bomb Deployment = Missiles#Bomb Deployment{{!}}Bomb Deployment
 +
| Citadel Cruise Missiles = Missiles#Citadel Cruise Missiles{{!}}Citadel Cruise Missiles
 +
| Citadel Torpedoes = Missiles#Citadel Torpedoes{{!}}Citadel Torpedoes
 
  | Cruise Missile Specialization = Missiles#Cruise Missile Specialization{{!}}Cruise Missile Specialization
 
  | Cruise Missile Specialization = Missiles#Cruise Missile Specialization{{!}}Cruise Missile Specialization
 
  | Cruise Missiles = Missiles#Cruise Missiles{{!}}Cruise Missiles
 
  | Cruise Missiles = Missiles#Cruise Missiles{{!}}Cruise Missiles
Line 165: Line 160:
 
  | Torpedoes = Missiles#Torpedoes{{!}}Torpedoes
 
  | Torpedoes = Missiles#Torpedoes{{!}}Torpedoes
 
  | Warhead Upgrades = Missiles#Warhead Upgrades{{!}}Warhead Upgrades
 
  | Warhead Upgrades = Missiles#Warhead Upgrades{{!}}Warhead Upgrades
| XL Cruise Missile Specialization = Missiles#XL Cruise Missile Specialization{{!}}XL Cruise Missile Specialization
 
| XL Cruise Missiles = Missiles#XL Cruise Missiles{{!}}XL Cruise Missiles
 
| XL Torpedo Specialization = Missiles#XL Torpedo Specialization{{!}}XL Torpedo Specialization
 
| XL Torpedoes = Missiles#XL Torpedoes{{!}}XL Torpedoes
 
 
<!--------- SKILL GROUP: Navigation ------------>
 
<!--------- SKILL GROUP: Navigation ------------>
 
  | Acceleration Control = Navigation#Acceleration Control{{!}}Acceleration Control
 
  | Acceleration Control = Navigation#Acceleration Control{{!}}Acceleration Control
Line 262: Line 253:
 
  | Advanced Laboratory Operation = Science#Advanced Laboratory Operation{{!}}Advanced Laboratory Operation
 
  | Advanced Laboratory Operation = Science#Advanced Laboratory Operation{{!}}Advanced Laboratory Operation
 
  | Amarr Encryption Methods = Science#Amarr Encryption Methods{{!}}Amarr Encryption Methods
 
  | Amarr Encryption Methods = Science#Amarr Encryption Methods{{!}}Amarr Encryption Methods
  | Amarr Starship Engineering = Science#Amarr Starship Engineering{{!}}Amarr Starship Engineering
+
  | Amarrian Starship Engineering = Science#Amarrian Starship Engineering{{!}}Amarrian Starship Engineering
 
  | Astronautic Engineering = Science#Astronautic Engineering{{!}}Astronautic Engineering
 
  | Astronautic Engineering = Science#Astronautic Engineering{{!}}Astronautic Engineering
 
  | Caldari Encryption Methods = Science#Caldari Encryption Methods{{!}}Caldari Encryption Methods
 
  | Caldari Encryption Methods = Science#Caldari Encryption Methods{{!}}Caldari Encryption Methods
Line 272: Line 263:
 
  | Engineering Subsystem Technology = Science#Engineering Subsystem Technology{{!}}Engineering Subsystem Technology
 
  | Engineering Subsystem Technology = Science#Engineering Subsystem Technology{{!}}Engineering Subsystem Technology
 
  | Gallente Encryption Methods = Science#Gallente Encryption Methods{{!}}Gallente Encryption Methods
 
  | Gallente Encryption Methods = Science#Gallente Encryption Methods{{!}}Gallente Encryption Methods
  | Gallente Starship Engineering = Science#Gallente Starship Engineering{{!}}Gallente Starship Engineering
+
  | Gallentean Starship Engineering = Science#Gallentean Starship Engineering{{!}}Gallentean Starship Engineering
 
  | Graviton Physics = Science#Graviton Physics{{!}}Graviton Physics
 
  | Graviton Physics = Science#Graviton Physics{{!}}Graviton Physics
 
  | High Energy Physics = Science#High Energy Physics{{!}}High Energy Physics
 
  | High Energy Physics = Science#High Energy Physics{{!}}High Energy Physics
Line 312: Line 303:
 
  | Shield Upgrades = Shields#Shield Upgrades{{!}}Shield Upgrades
 
  | Shield Upgrades = Shields#Shield Upgrades{{!}}Shield Upgrades
 
  | Tactical Shield Manipulation = Shields#Tactical Shield Manipulation{{!}}Tactical Shield Manipulation
 
  | Tactical Shield Manipulation = Shields#Tactical Shield Manipulation{{!}}Tactical Shield Manipulation
  | Thermal Shield Compensation = Shields#Thermal Shield Compensation{{!}}Thermal Shield Compensation
+
  | Thermic Shield Compensation = Shields#Thermic Shield Compensation{{!}}Thermic Shield Compensation
 
<!--------- SKILL GROUP: Social ------------>
 
<!--------- SKILL GROUP: Social ------------>
 
  | Connections = Social#Connections{{!}}Connections
 
  | Connections = Social#Connections{{!}}Connections
Line 399: Line 390:
 
  | Spaceship Command = Spaceship Command#Spaceship Command{{!}}Spaceship Command
 
  | Spaceship Command = Spaceship Command#Spaceship Command{{!}}Spaceship Command
 
  | Transport Ships = Spaceship Command#Transport Ships{{!}}Transport Ships
 
  | Transport Ships = Spaceship Command#Transport Ships{{!}}Transport Ships
<!--------- SKILL GROUP: Structure Management ------------>
 
| Anchoring = Structure Management#Anchoring{{!}}Anchoring
 
| Starbase Defense Management = Structure Management#Starbase Defense Management{{!}}Starbase Defense Management
 
| Structure Doomsday Operation = Structure Management#Structure Doomsday Operation{{!}}Structure Doomsday Operation
 
| Structure Electronic Systems = Structure Management#Structure Electronic Systems{{!}}Structure Electronic Systems
 
| Structure Engineering Systems = Structure Management#Structure Engineering Systems{{!}}Structure Engineering Systems
 
| Structure Missile Systems = Structure Management#Structure Missile Systems{{!}}Structure Missile Systems
 
 
<!--------- SKILL GROUP: Subsystems ------------>
 
<!--------- SKILL GROUP: Subsystems ------------>
 
  | Amarr Defensive Systems = Subsystems#Amarr Defensive Systems{{!}}Amarr Defensive Systems
 
  | Amarr Defensive Systems = Subsystems#Amarr Defensive Systems{{!}}Amarr Defensive Systems
Line 453: Line 437:
 
<!--------- SKILL GROUP: Default ------------>
 
<!--------- SKILL GROUP: Default ------------>
 
  | #default = <span style="color:red" title="This is an obsolete skill, please correct the link.">{{{1|Unknown}}}</span>[[Category:Obsolete Skills]]  
 
  | #default = <span style="color:red" title="This is an obsolete skill, please correct the link.">{{{1|Unknown}}}</span>[[Category:Obsolete Skills]]  
}}{{#if:{{{2|}}}|&nbsp;{{{2}}}|}}]]</includeonly><noinclude>
+
}}{{#if:{{{2|}}}|&nbsp;{{{2}}}|}}]]<noinclude>
{{documentation}}
+
== Documentation ==
</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 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 ===
 +
{{code|<nowiki>{{GetSkillLink | skill | level }}</nowiki>}}
 +
 
 +
;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>).
 +
 
 +
;level
 +
:The level of the skill (as per the usual Eve convention, use upper-case Roman numerals (like <code>I</code>, <code>III</code> or <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 ===
 +
:<code><nowiki>{{GetSkillLink|Mechanics}}</nowiki></code> gives {{GetSkillLink|Mechanics}}
 +
:<code><nowiki>{{GetSkillLink|Gallente Battleship}}</nowiki></code> gives {{GetSkillLink|Gallente Battleship}}
 +
:<code><nowiki>{{GetSkillLink|Cloaking|IV}}</nowiki></code> gives {{GetSkillLink|Cloaking|IV}}
 +
:<code><nowiki>{{GetSkillLink|Wabbit-Hunting}}</nowiki></code> gives {{GetSkillLink|Wabbit-Hunting}}
 +
=== Dependencies ===
 +
:The template uses {{tl|!}} to generate the pipe character for the piped links.
 +
 
 +
=== See also ===
 +
*{{tl|GetSkillPrice}} and {{tl|GetSkillMult}}, very similar templates for the skillbook NPC-seeded price and the skill training time multiplier.
 +
*{{tl|Sk}} and {{tl|Skill}}, the primary users of this template.
 +
 
 +
=== 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.
 +
:The skill information was last updated for: '''Rhea 1.0'''.
 +
 
 +
==== Instructions for updating the template ====
 +
:The bulk of the template code is made up of a lookup table, implemented with the MediaWiki [http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23switch switch parser function]. Each skill in the game is on a separate line, formatted like this:
 +
<pre><nowiki>| <skill name> = <skill group> # <skill name> {{!}} <skill name></nowiki></pre>
 +
For example, the line for the Caldari Battleship skill looks like this:
 +
<pre><nowiki>| Caldari Battleship = Spaceship Command#Caldari Battleship{{!}}Caldari Battleship</nowiki></pre>
 +
What this line does is check if the first parameter passed to the template is equal to <code>Caldari Battleship</code>. If it is, the template outputs
 +
<pre>Spaceship Command#Caldari Battleship|Caldari Battleship</pre>
 +
(<code>{{t|!}}</code> is equal to the pipe (<code>|</code>) character). The template then adds square brackets, the <code>Skills:</code> prefix, and a skill rank (if specified) to give a [http://en.wikipedia.org/wiki/Wikipedia:Piped_link piped link] to the skill entry for [[Skills:Spaceship Command#Caldari Battleship|Caldari Battleship]].
 +
 
 +
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).
 +
 
 +
[[Category:Template]]</noinclude>

Revision as of 16:50, 15 March 2017

[[Skills:Unknown]]

Documentation

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 Obsolete Skills and will be shown in red on the page itself.
This template feeds the more general {{Sk}} template; in most cases, it's recommended that you use {{Sk}} to link to skills, as it has more options and is easier to use.

Syntax

{{GetSkillLink | skill | level }}
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. Gallente Strategic Cruiser, not Gallente strategic cruiser).
level
The level of the skill (as per the usual Eve convention, use upper-case Roman numerals (like I, III or V)). 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

{{GetSkillLink|Mechanics}} gives Mechanics
{{GetSkillLink|Gallente Battleship}} gives Gallente Battleship
{{GetSkillLink|Cloaking|IV}} gives Cloaking IV
{{GetSkillLink|Wabbit-Hunting}} gives [[Skills:Wabbit-Hunting]]

Dependencies

The template uses {{!}} to generate the pipe character for the piped links.

See also

  • {{GetSkillPrice}} and {{GetSkillMult}}, very similar templates for the skillbook NPC-seeded price and the skill training time multiplier.
  • {{Sk}} and {{Skill}}, the primary users of this template.

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 {{GetSkillPrice}} and {{GetSkillMult}}). If skills are merely moved from one group to another, all the links (generated with, for instance, {{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: Rhea 1.0.

Instructions for updating the template

The bulk of the template code is made up of a lookup table, implemented with the MediaWiki switch parser function. Each skill in the game is on a separate line, formatted like this:
| <skill name> = <skill group> # <skill name> {{!}} <skill name>

For example, the line for the Caldari Battleship skill looks like this:

| Caldari Battleship = Spaceship Command#Caldari Battleship{{!}}Caldari Battleship

What this line does is check if the first parameter passed to the template is equal to Caldari Battleship. If it is, the template outputs

Spaceship Command#Caldari Battleship|Caldari Battleship

({{!}} is equal to the pipe (|) character). The template then adds square brackets, the Skills: prefix, and a skill rank (if specified) to give a piped link to the skill entry for Caldari Battleship.

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 {{GetSkillPrice}} and {{GetSkillMult}} (which use a very similar coding for the skillbook price and training time multiplier).