Difference between revisions of "Template:SkillQueue"

From EVE University Wiki
Jump to: navigation, search
(Add description)
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.)
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="toccolours mw-collapsible mw-collapsed" style="width:{{{width|600px}}};">
+
<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 [[Skill queue]] to use in-game
+
  | 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="white-space: {{{space|pre-wrap}}}; border:none;"><!--
+
  | 5
-->{{#if:{{{1|}}}|{{{1}}}<noinclude>|Sample text</noinclude>}}<!--
+
  | 6 = <h{{{hdr}}}><span style="font-size: 1.2em; font-weight: bold;">{{{name}}}</span></h{{{hdr}}}>
-->{{#if:{{{2|}}}|{{!}}{{{2}}}|}}<!--
+
  }}
-->{{#if:{{{3|}}}|{{!}}{{{3}}}|}}<!--
+
}}
-->{{#if:{{{4|}}}|{{!}}{{{4}}}|}}<!--
+
{{#if:{{{desc|}}}|{{{desc}}}<br>}}
-->{{#if:{{{5|}}}|{{!}}{{{5}}}|}}<!--
+
''Expand this box to view a [[Skill Queue|Skill queue]] to use in-game''
-->{{#if:{{{6|}}}|{{!}}{{{6}}}|}}<!--
+
<div class="mw-collapsible-content">
-->{{#if:{{{7|}}}|{{!}}{{{7}}}|}}<!--
+
  <pre<includeonly></includeonly> style="border:none;"><!--
-->{{#if:{{{8|}}}|{{!}}{{{8}}}|}}<!--
+
-->{{#if:{{{1|}}}|{{{1}}}<noinclude>|Skill I
-->{{#if:{{{9|}}}|{{!}}{{{9}}}|}}<!--
+
Skill II
-->{{#if:{{{10|}}}|{{!}}{{{10}}}|}}<!--
+
Skill III</noinclude>}}</pre>
-->{{#if:{{{11|}}}|{{!}}{{{11}}}|}}<!--
+
</div>
-->{{#if:{{{12|}}}|{{!}}{{{12}}}|}}<!--
 
-->{{#if:{{{13|}}}|{{!}}{{{13}}}|}}<!--
 
-->{{#if:{{{14|}}}|{{!}}{{{14}}}|}}<!--
 
-->{{#if:{{{15|}}}|{{!}}{{{15}}}|}}<!--
 
-->{{#if:{{{16|}}}|{{!}}{{{16}}}|}}<!--
 
-->{{#if:{{{17|}}}|{{!}}{{{17}}}|}}<!--
 
-->{{#if:{{{18|}}}|{{!}}{{{18}}}|}}<!--
 
-->{{#if:{{{19|}}}|{{!}}{{{19}}}|}}<!--
 
-->{{#if:{{{20|}}}|{{!}}{{{20}}}|}}<!--
 
--></pre>
 
</div>
 
 
</div>
 
</div>
 +
<noinclude>{{documentation}}</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
{{SkillQueue | name= Fit Name | desc= A description of the fit | Skill A Skill B Skill C }}
gives ...

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


{{SkillQueue | name= Fit Name 2 | width= 500px | desc= A description of the fit |Skill F Skill G Skill H }}
gives ...

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


{{SkillQueue | name= Fit Name 3 | hdr= 4 | desc= A description of the fit |Skill X Skill Y Skill Z }}
gives ...

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