Difference between revisions of "Template:SkillQueue"

From EVE University Wiki
Jump to: navigation, search
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.)
 
(16 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:{{{name|}}}|{{#switch: {{{hdr}}}
Expand this box to view a [[Skill queue]] to use in-game
+
  |#default = <h3>{{{name}}}</h3>
<div class="mw-collapsible-content">
+
  | 0 = <span style="font-size: 1.2em; font-weight: bold; color: white;">{{{name}}}</span><br>
<pre<includeonly></includeonly> style="white-space: {{{space|pre-wrap}}}; border:none;"><!--
+
  | 4
-->{{#if:{{{1|}}}|{{{1}}}<noinclude>|Sample text</noinclude>}}<!--
+
  | 5
-->{{#if:{{{2|}}}|{{!}}{{{2}}}|}}<!--
+
  | 6 = <h{{{hdr}}}><span style="font-size: 1.2em; font-weight: bold;">{{{name}}}</span></h{{{hdr}}}>
-->{{#if:{{{3|}}}|{{!}}{{{3}}}|}}<!--
+
  }}
-->{{#if:{{{4|}}}|{{!}}{{{4}}}|}}<!--
+
}}
-->{{#if:{{{5|}}}|{{!}}{{{5}}}|}}<!--
+
{{#if:{{{desc|}}}|{{{desc}}}<br>}}
-->{{#if:{{{6|}}}|{{!}}{{{6}}}|}}<!--
+
''Expand this box to view a [[Skill Queue|Skill queue]] to use in-game''
-->{{#if:{{{7|}}}|{{!}}{{{7}}}|}}<!--
+
<div class="mw-collapsible-content">
-->{{#if:{{{8|}}}|{{!}}{{{8}}}|}}<!--
+
  <pre<includeonly></includeonly> style="border:none;"><!--
-->{{#if:{{{9|}}}|{{!}}{{{9}}}|}}<!--
+
-->{{#if:{{{1|}}}|{{{1}}}<noinclude>|Skill I
-->{{#if:{{{10|}}}|{{!}}{{{10}}}|}}<!--
+
Skill II
-->{{#if:{{{11|}}}|{{!}}{{{11}}}|}}<!--
+
Skill III</noinclude>}}</pre>
-->{{#if:{{{12|}}}|{{!}}{{{12}}}|}}<!--
+
</div>
-->{{#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?)