Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:SkillAlphaBar: Difference between revisions

Template page
Create template.
 
Proton One (talk | contribs)
Using design variable
 
Line 2: Line 2:
  | {{#switch: {{GetSkillAlpha|{{{1}}} }}
  | {{#switch: {{GetSkillAlpha|{{{1}}} }}
   | V= ◼◼◼◼◼
   | V= ◼◼◼◼◼
   | IV= ◼◼◼◼{{co|yellow|▨}}
   | IV= ◼◼◼◼{{co|var(--color-syntax-yellow)|▨}}
   | III= ◼◼◼{{co|yellow|▨▨}}
   | III= ◼◼◼{{co|var(--color-syntax-yellow)|▨▨}}
   | II= ◼◼{{co|yellow|▨▨▨}}
   | II= ◼◼{{co|var(--color-syntax-yellow)|▨▨▨}}
   | I= ◼{{co|yellow|▨▨▨▨}}
   | I= ◼{{co|var(--color-syntax-yellow)|▨▨▨▨}}
   | 0= {{co|red|▨▨▨▨▨}}
   | 0= {{co|var(--color-syntax-red)|▨▨▨▨▨}}
   | #default= <span style="color:red" title="This is an obsolete skill, please correct the link.">{{Co|yellow|{{{1}}} }} {{Co|red|not found}}</span> [[Category:Obsolete Skills]]
   | #default= <span style="var(--color-error)" title="This is an obsolete skill, please correct the link.">{{Co|var(--color-warning)|{{{1}}} }} {{Co|var(--color-error)|not found}}</span> [[Category:Obsolete Skills]]
   }}
   }}
  | {{Co|red|! Parameter missing !}}
  | {{Co|var(--color-error)|! Parameter missing !}}
}}</includeonly> <noinclude>{{Documentation}}</noinclude>
}}</includeonly> <noinclude>{{Documentation}}</noinclude>

Latest revision as of 01:27, 21 November 2025

Template documentation (for the above template, sometimes hidden or invisible)
Description
This template creates a "bar" indicating the maximum skill level for an alpha pilot. Any pages with outdated/incorrect skill names will be added to the category Obsolete Skills and will be shown as <skillname> not found on the page itself.
Dependencies
Uses
{{GetSkillAlpha}}
{{Co}}
Syntax
{{SkillAlphaBar|<skillname>}}
Parameters
skillname
Name of the skill for which a bar should be shown.
Sample
{{SkillAlphaBar|Leadership}}
gives ...
◼◼◼▨▨
Visit Template:SkillAlphaBar/doc to edit this text! (How does this work?) (Refresh this text - why?)