Difference between revisions of "Template:SkillQueue"
From EVE University Wiki
m (Rewrite. Remove unused and undocumented parameters. Add hdr parameter. Change width test to avoid non or invalid setting to lead to the box using all available space. Change default width.) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <div class="toccolours mw-collapsible mw-collapsed" style="width:{{{width| | + | <div class="toccolours mw-collapsible mw-collapsed" style="width: {{#if:{{{width|}}}|{{{width}}}|35em}};"> |
− | {{#if:{{{name|}}}|<h3>{{{name}}}</h3>}}{{#if:{{{desc|}}}| | + | {{#if:{{{name|}}}|{{#switch: {{{hdr}}} |
− | {{{desc}}}}} | + | |#default = <h3>{{{name}}}</h3> |
− | ''Expand this box to view a [[ | + | | 0 = <span style="font-size: 1.2em; font-weight: bold; color: white;">{{{name}}}</span><br> |
− | <div class="mw-collapsible-content"> | + | | 4 |
− | <pre<includeonly></includeonly> style=" | + | | 5 |
− | -->{{#if:{{{1|}}}|{{{1}}}<noinclude>|Skill I | + | | 6 = <h{{{hdr}}}><span style="font-size: 1.2em; font-weight: bold;">{{{name}}}</span></h{{{hdr}}}> |
+ | }} | ||
+ | }} | ||
+ | {{#if:{{{desc|}}}|{{{desc}}}<br>}} | ||
+ | ''Expand this box to view a [[Skill Queue|Skill queue]] to use in-game'' | ||
+ | <div class="mw-collapsible-content"> | ||
+ | <pre<includeonly></includeonly> style="border:none;"><!-- | ||
+ | -->{{#if:{{{1|}}}|{{{1}}}<noinclude>|Skill I | ||
Skill II | Skill II | ||
− | Skill III</noinclude>}}< | + | Skill III</noinclude>}}</pre> |
− | + | </div> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
− | + | <noinclude>{{documentation}}</noinclude> | |
− | <noinclude> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | </noinclude> |
Latest revision as of 12:37, 26 April 2022
Expand this box to view a Skill queue to use in-game
Skill I Skill II Skill III
Template documentation (for the above template, sometimes hidden or invisible)
- Description
- SkillQueue produces an expendable box to contain a skill list to copy to the in-game skill
- Syntax
- {{SkillQueue|<name= name>|<hdr= hdr>|<width= width>|<desc= desc>|<skill list>}}
- name - The name of the fit (Optional). When used the name will automatically become a level 3 heading. This can be suppressed or the level changed by using the hdr parameter.
- hdr - To suppress or change the level of the name header (Optional). Valid options: 0 - to suppress, 4, 5 and 6 to change header level.
- widht - To change the width of the box (Optional). Default width is 35em. Can be in em, px, %, etc.
- desc - A description of the fit (Optional).
- skill list - A list of skills in the order in which they need to be trained. Each skill on its own line.
- Sample
gives ...{{SkillQueue | name= Fit Name | desc= A description of the fit | Skill A Skill B Skill C }}
Fit Name
A description of the fit
Expand this box to view a Skill queue to use in-game
Skill A Skill B Skill C
gives ...{{SkillQueue | name= Fit Name 2 | width= 500px | desc= A description of the fit |Skill F Skill G Skill H }}
Fit Name 2
A description of the fit
Expand this box to view a Skill queue to use in-game
Skill F Skill G Skill H
gives ...{{SkillQueue | name= Fit Name 3 | hdr= 4 | desc= A description of the fit |Skill X Skill Y Skill Z }}
Fit Name 3
A description of the fit
Expand this box to view a Skill queue to use in-game
Skill X Skill Y Skill Z