Difference between revisions of "Template:GetSkillAlpha"
From EVE University Wiki
m (Change parameter from I to 1, I is not valid.) |
m (Update error handling.) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#switch: {{{1 | + | <includeonly>{{#if: {{{1|}}} |{{#switch: {{{1}}} |
<!--------- SKILL GROUP: Armor ----------> | <!--------- SKILL GROUP: Armor ----------> | ||
| Armor Layering = I | | Armor Layering = I | ||
Line 494: | Line 494: | ||
| Wholesale = 0 | | Wholesale = 0 | ||
<!--------- SKILL GROUP: Default ----------> | <!--------- SKILL GROUP: Default ----------> | ||
− | | #default = <span style="color:red" title="This is an obsolete skill, please correct the | + | | #default = <span style="color: red;" title="This is an obsolete/unknown skill, please correct the parameter.">{{{1}}}</span>[[Category:Obsolete Skills]] |
− | }}</includeonly><noinclude> | + | }} |
+ | | <span style="color: red;">! Parameter missing !</span></includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 10:20, 18 March 2023
Template documentation (for the above template, sometimes hidden or invisible)
- Description
- This template gives the max level available to alpha pilots of any skill, in the in-game form. Any pages with outdated skill links will be added to the category Obsolete Skills and will be shown in red on the page itself.
- Dependencies
-
- Used by
- {{Skill}}
- {{SkillAlphaBar}}
- Syntax
- {{GetSkillAlpha|<skill>}}
- Parameters
-
- 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
, notGallente strategic cruiser
).
- Sample
{{GetSkillAlpha|Mechanics}}
gives {{#if: Mechanics |V
| ! Parameter missing !
{{GetSkillAlpha|Fleet Compression Logistics}}
gives {{#if: Fleet Compression Logistics |Fleet Compression Logistics
| ! Parameter missing !
{{GetSkillAlpha|Wabbit-Hunting}}
gives {{#if: Wabbit-Hunting |Wabbit-Hunting
| ! Parameter missing !
- See also
{{GetSkillLink}}
,{{GetSkillMult}}
and{{GetSkillPrice}}
, very similar templates for the skill page link, skill training multiplier and the NPC-seeded skillbook price.{{SkillAlphaInfo}}
can use this template to look-up its parameter.
- 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
{{GetSkillLink}}
,{{GetSkillMult}}
and{{GetSkillPrice}}
). 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.
Visit Template:GetSkillAlpha/doc to edit this text! (How does this work?) (Refresh this text - why?)