Difference between revisions of "Template:SkillQueue"

From EVE University Wiki
Jump to: navigation, search
(Undo revision 93371 by Mattikus pathfinder (talk))
(Moved documentation to Template:SkillQueue/doc)
(One intermediate revision by one other user not shown)
Line 2: Line 2:
 
{{#if:{{{name|}}}|<h3>{{{name}}}</h3>}}{{#if:{{{desc|}}}|
 
{{#if:{{{name|}}}|<h3>{{{name}}}</h3>}}{{#if:{{{desc|}}}|
 
{{{desc}}}}}
 
{{{desc}}}}}
''Expand this box to view a [[Skill queue]] to use in-game''
+
''Expand this box to view a [[Skill_Queue|Skill queue]] to use in-game''
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
 
<pre<includeonly></includeonly> style="white-space: {{{space|pre-wrap}}}; border:none;"><!--
 
<pre<includeonly></includeonly> style="white-space: {{{space|pre-wrap}}}; border:none;"><!--
Line 31: Line 31:
 
</div>
 
</div>
 
<noinclude>
 
<noinclude>
 
+
{{documentation}}
----
 
 
 
<h2>Usage</h2>
 
The following shows an example using the template. ''name'',''width'' and ''desc'' are optional. A default width of 600px is used.
 
<pre>
 
{{SkillQueue
 
|name=Fit Name
 
|width=400px
 
|desc=A description of the fit
 
|Skill I
 
Skill II
 
Skill III
 
}}
 
</pre>
 
{{SkillQueue
 
|name=Fit Name
 
|width=400px
 
|desc=A description of the fit
 
|Skill I
 
Skill II
 
Skill III
 
}}
 
 
</noinclude>
 
</noinclude>

Revision as of 19:50, 21 April 2017

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?)