Difference between revisions of "Template:GetSkillLink"

From EVE University Wiki
Jump to: navigation, search
m (Added Core Subsystem Technology.)
(Added Triglavian Encryption Methods and Quantum Engineering. Added missing Precursor gunnery skills. Speculative Precursor Dreadnought and Capital Precursor/Disintegrator spec.addition.)
Line 83: Line 83:
 
  | Capital Autocannon Specialization = Gunnery#Capital Autocannon Specialization{{!}}Capital Autocannon 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 Beam Laser Specialization = Gunnery#Capital Beam Laser Specialization{{!}}Capital Beam Laser Specialization
  | Capital Blaster Specialization = Gunnery#Capital Blaster Specialization{{!}}Capital Blaster Specialization
+
  | Capital Blaster Specialization = Gunnery#Capital Blaster Specialization{{!}}Capital Blaster Specialization\
 +
| Capital Disintegrator Specialization = Gunnery#Capital Disintegrator Specialization{{!}}Capital Disintegrator 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 Precursor Turret = Gunnery#Capital Precursor Turret{{!}}Capital Precursor 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 Pulse Laser Specialization = Gunnery#Capital Pulse Laser Specialization{{!}}Capital Pulse Laser Specialization
Line 97: Line 99:
 
  | Large Beam Laser Specialization = Gunnery#Large Beam Laser Specialization{{!}}Large Beam Laser Specialization
 
  | Large Beam Laser Specialization = Gunnery#Large Beam Laser Specialization{{!}}Large Beam Laser Specialization
 
  | Large Blaster Specialization = Gunnery#Large Blaster Specialization{{!}}Large Blaster Specialization
 
  | Large Blaster Specialization = Gunnery#Large Blaster Specialization{{!}}Large Blaster Specialization
 +
| Large Disintegrator Specialization = Gunnery#Large Disintegrator Specialization{{!}}Large Disintegrator Specialization
 
  | Large Energy Turret = Gunnery#Large Energy Turret{{!}}Large Energy Turret
 
  | Large Energy Turret = Gunnery#Large Energy Turret{{!}}Large Energy Turret
 
  | Large Hybrid Turret = Gunnery#Large Hybrid Turret{{!}}Large Hybrid Turret
 
  | Large Hybrid Turret = Gunnery#Large Hybrid Turret{{!}}Large Hybrid Turret
 +
| Large Precursor Turret = Gunnery#Large Precursor Turret{{!}}Large Precursor Turret
 
  | Large Projectile Turret = Gunnery#Large Projectile Turret{{!}}Large Projectile Turret
 
  | Large Projectile Turret = Gunnery#Large Projectile Turret{{!}}Large Projectile Turret
 
  | Large Pulse Laser Specialization = Gunnery#Large Pulse Laser Specialization{{!}}Large Pulse Laser Specialization
 
  | Large Pulse Laser Specialization = Gunnery#Large Pulse Laser Specialization{{!}}Large Pulse Laser Specialization
Line 106: Line 110:
 
  | Medium Beam Laser Specialization = Gunnery#Medium Beam Laser Specialization{{!}}Medium Beam Laser Specialization
 
  | Medium Beam Laser Specialization = Gunnery#Medium Beam Laser Specialization{{!}}Medium Beam Laser Specialization
 
  | Medium Blaster Specialization = Gunnery#Medium Blaster Specialization{{!}}Medium Blaster Specialization
 
  | Medium Blaster Specialization = Gunnery#Medium Blaster Specialization{{!}}Medium Blaster Specialization
 +
| Medium Disintegrator Specialization = Gunnery#Medium Disintegrator Specialization{{!}}Medium Disintegrator Specialization
 
  | Medium Energy Turret = Gunnery#Medium Energy Turret{{!}}Medium Energy Turret
 
  | Medium Energy Turret = Gunnery#Medium Energy Turret{{!}}Medium Energy Turret
 
  | Medium Hybrid Turret = Gunnery#Medium Hybrid Turret{{!}}Medium Hybrid Turret
 
  | Medium Hybrid Turret = Gunnery#Medium Hybrid Turret{{!}}Medium Hybrid Turret
 +
| Medium Precursor Turret = Gunnery#Medium Precursor Turret{{!}}Medium Precursor Turret
 
  | Medium Projectile Turret = Gunnery#Medium Projectile Turret{{!}}Medium Projectile Turret
 
  | Medium Projectile Turret = Gunnery#Medium Projectile Turret{{!}}Medium Projectile Turret
 
  | Medium Pulse Laser Specialization = Gunnery#Medium Pulse Laser Specialization{{!}}Medium Pulse Laser Specialization
 
  | Medium Pulse Laser Specialization = Gunnery#Medium Pulse Laser Specialization{{!}}Medium Pulse Laser Specialization
Line 118: Line 124:
 
  | Small Beam Laser Specialization = Gunnery#Small Beam Laser Specialization{{!}}Small Beam Laser Specialization
 
  | Small Beam Laser Specialization = Gunnery#Small Beam Laser Specialization{{!}}Small Beam Laser Specialization
 
  | Small Blaster Specialization = Gunnery#Small Blaster Specialization{{!}}Small Blaster Specialization
 
  | Small Blaster Specialization = Gunnery#Small Blaster Specialization{{!}}Small Blaster Specialization
 +
| Small Disintegrator Specialization = Gunnery#Small Disintegrator Specialization{{!}}Small Disintegrator Specialization
 
  | Small Energy Turret = Gunnery#Small Energy Turret{{!}}Small Energy Turret
 
  | Small Energy Turret = Gunnery#Small Energy Turret{{!}}Small Energy Turret
 
  | Small Hybrid Turret = Gunnery#Small Hybrid Turret{{!}}Small Hybrid Turret
 
  | Small Hybrid Turret = Gunnery#Small Hybrid Turret{{!}}Small Hybrid Turret
 +
| Small Precursor Turret = Gunnery#Small Precursor Turret{{!}}Small Precursor Turret
 
  | Small Projectile Turret = Gunnery#Small Projectile Turret{{!}}Small Projectile Turret
 
  | Small Projectile Turret = Gunnery#Small Projectile Turret{{!}}Small Projectile Turret
 
  | Small Pulse Laser Specialization = Gunnery#Small Pulse Laser Specialization{{!}}Small Pulse Laser Specialization
 
  | Small Pulse Laser Specialization = Gunnery#Small Pulse Laser Specialization{{!}}Small Pulse Laser Specialization
Line 308: Line 316:
 
  | Takmahl Technology = Science#Takmahl Technology{{!}}Takmahl Technology
 
  | Takmahl Technology = Science#Takmahl Technology{{!}}Takmahl Technology
 
  | Talocan Technology = Science#Talocan Technology{{!}}Talocan Technology
 
  | Talocan Technology = Science#Talocan Technology{{!}}Talocan Technology
 +
| Triglavian Encryption Methods = Science#Triglavian Encryption Methods{{!}}Triglavian Encryption Methods
 +
| Triglavian Quantum Engineering = Science#Triglavian Quantum Engineering{{!}}Triglavian Quantum Engineering
 
  | Yan Jung Technology = Science#Yan Jung Technology{{!}}Yan Jung Technology
 
  | Yan Jung Technology = Science#Yan Jung Technology{{!}}Yan Jung Technology
 
<!--------- SKILL GROUP: Shields ------------>
 
<!--------- SKILL GROUP: Shields ------------>
Line 410: Line 420:
 
  | Precursor Battleship = Spaceship Command#Precursor Battleship{{!}}Precursor Battleship
 
  | Precursor Battleship = Spaceship Command#Precursor Battleship{{!}}Precursor Battleship
 
  | Precursor Cruiser = Spaceship Command#Precursor Cruiser{{!}}Precursor Cruiser
 
  | Precursor Cruiser = Spaceship Command#Precursor Cruiser{{!}}Precursor Cruiser
 +
| Precursor Dreadnought = Spaceship Command#Precursor Dreadnought{{!}}Precursor Dreadnought
 
  | Precursor Destroyer= Spaceship Command#Precursor Destroyer{{!}}Precursor Destroyer
 
  | Precursor Destroyer= Spaceship Command#Precursor Destroyer{{!}}Precursor Destroyer
 
  | Precursor Frigate = Spaceship Command#Precursor Frigate{{!}}Precursor Frigate
 
  | Precursor Frigate = Spaceship Command#Precursor Frigate{{!}}Precursor Frigate

Revision as of 23:24, 11 November 2019

Template documentation (for the above template, sometimes hidden or invisible)

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}}, {{GetSkillMult}}, and {{GetSkillAlpha}}: very similar templates for the skillbook NPC-seeded price, the skill training time multiplier, and the max skill level for Alpha clones.
  • {{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: Version 22.01 - Equinox (11 June 2024).

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).
Visit Template:GetSkillLink/doc to edit this text! (How does this work?) (Refresh this text - why?)