Difference between revisions of "Template:GetSkillLink"

From EVE University Wiki
Jump to: navigation, search
(Margin Trading)
(Added Vorton Projector/EDENCOM ship skills (including some that haven't gotten off SiSi yet).)
Line 106: Line 106:
 
  | 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
 
  | Large Railgun Specialization = Gunnery#Large Railgun Specialization{{!}}Large Railgun Specialization
 
  | Large Railgun Specialization = Gunnery#Large Railgun Specialization{{!}}Large Railgun Specialization
 +
| Large Vorton Projector = Gunnery#Large Vorton Projector{{!}}Large Vorton Projector
 +
| Large Vorton Specialization = Gunnery#Large Vorton Specialization{{!}}Large Vorton Specialization
 
  | Medium Artillery Specialization = Gunnery#Medium Artillery Specialization{{!}}Medium Artillery Specialization
 
  | Medium Artillery Specialization = Gunnery#Medium Artillery Specialization{{!}}Medium Artillery Specialization
 
  | Medium Autocannon Specialization = Gunnery#Medium Autocannon Specialization{{!}}Medium Autocannon Specialization
 
  | Medium Autocannon Specialization = Gunnery#Medium Autocannon Specialization{{!}}Medium Autocannon Specialization
Line 117: Line 119:
 
  | 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
 
  | Medium Railgun Specialization = Gunnery#Medium Railgun Specialization{{!}}Medium Railgun Specialization
 
  | Medium Railgun Specialization = Gunnery#Medium Railgun Specialization{{!}}Medium Railgun Specialization
 +
| Medium Vorton Projector = Gunnery#Medium Vorton Projector{{!}}Medium Vorton Projector
 +
| Medium Vorton Specialization = Gunnery#Medium Vorton Specialization{{!}}Medium Vorton Specialization
 
  | Motion Prediction = Gunnery#Motion Prediction{{!}}Motion Prediction
 
  | Motion Prediction = Gunnery#Motion Prediction{{!}}Motion Prediction
 
  | Rapid Firing = Gunnery#Rapid Firing{{!}}Rapid Firing
 
  | Rapid Firing = Gunnery#Rapid Firing{{!}}Rapid Firing
Line 131: Line 135:
 
  | 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
 
  | Small Railgun Specialization = Gunnery#Small Railgun Specialization{{!}}Small Railgun Specialization
 
  | Small Railgun Specialization = Gunnery#Small Railgun Specialization{{!}}Small Railgun Specialization
 +
| Small Vorton Projector = Gunnery#Small Vorton Projector{{!}}Small Vorton Projector
 +
| Small Vorton Specialization = Gunnery#Small Vorton Specialization{{!}}Small Vorton Specialization
 
  | Surgical Strike = Gunnery#Surgical Strike{{!}}Surgical Strike
 
  | Surgical Strike = Gunnery#Surgical Strike{{!}}Surgical Strike
 
  | Tactical Weapon Reconfiguration = Gunnery#Tactical Weapon Reconfiguration{{!}}Tactical Weapon Reconfiguration
 
  | Tactical Weapon Reconfiguration = Gunnery#Tactical Weapon Reconfiguration{{!}}Tactical Weapon Reconfiguration
 
  | Trajectory Analysis = Gunnery#Trajectory Analysis{{!}}Trajectory Analysis
 
  | Trajectory Analysis = Gunnery#Trajectory Analysis{{!}}Trajectory Analysis
 +
| Vorton Arc Extension = Gunnery#Vorton Arc Extension{{!}}Vorton Arc Extension
 +
| Vorton Arc Guidance = Gunnery#Vorton Arc Guidance{{!}}Vorton Arc Guidance
 +
| Vorton Power Amplification = Gunnery#Vorton Power Amplification{{!}}Vorton Power Amplification
 +
| Vorton Projector Operation = Gunnery#Vorton Projector Operation{{!}}Vorton Projector Operation
 
<!--------- SKILL GROUP: Fleet Support ------------>
 
<!--------- SKILL GROUP: Fleet Support ------------>
 
  | Armored Command = Fleet Support#Armored Command{{!}}Armored Command
 
  | Armored Command = Fleet Support#Armored Command{{!}}Armored Command
Line 376: Line 386:
 
  | Command Ships = Spaceship Command#Command Ships{{!}}Command Ships
 
  | Command Ships = Spaceship Command#Command Ships{{!}}Command Ships
 
  | Covert Ops = Spaceship Command#Covert Ops{{!}}Covert Ops
 
  | Covert Ops = Spaceship Command#Covert Ops{{!}}Covert Ops
 +
| EDENCOM Battleship = Spaceship Command#EDENCOM Battleship{{!}}EDENCOM Battleship
 +
| EDENCOM Cruiser = Spaceship Command#EDENCOM Cruiser{{!}}EDENCOM Cruiser
 +
| EDENCOM Frigate = Spaceship Command#EDENCOM Frigate{{!}}EDENCOM Frigate
 
  | Electronic Attack Ships = Spaceship Command#Electronic Attack Ships{{!}}Electronic Attack Ships
 
  | Electronic Attack Ships = Spaceship Command#Electronic Attack Ships{{!}}Electronic Attack Ships
 
  | Expedition Frigates = Spaceship Command#Expedition Frigates{{!}}Expedition Frigates
 
  | Expedition Frigates = Spaceship Command#Expedition Frigates{{!}}Expedition Frigates

Revision as of 15:22, 9 June 2020

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?)