Difference between revisions of "Template:SkillTime"

From EVE University Wiki
Jump to: navigation, search
m (Extracted Category into docs page)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#ifeq:{{{short|no}}}|no|
+
{{#ifeq:{{{short|no}}}|yes|{{#switch: {{GetSkillMult|{{{1}}}}}
{{#switch: {{{1}}}
 
 
  | 1x = {{#switch: {{{2}}}
 
  | 1x = {{#switch: {{{2}}}
 
   | I = 8m
 
   | I = 8m
Line 113: Line 112:
 
   | V = 94d 19h 33m
 
   | V = 94d 19h 33m
 
   | #default = unknown}}
 
   | #default = unknown}}
  | #default = unknown rank}}|{{#switch: {{{1}}}
+
  | #default = unknown rank}}|{{#switch: {{GetSkillMult|{{{1}}}}}
 
  | 1x = {{#switch: {{{2}}}
 
  | 1x = {{#switch: {{{2}}}
 
   | I = 8 minutes, 20 seconds
 
   | I = 8 minutes, 20 seconds
Line 227: Line 226:
 
   | #default = unknown level}}
 
   | #default = unknown level}}
 
  | #default = unknown rank}}}}<noinclude>
 
  | #default = unknown rank}}}}<noinclude>
== Documentation ==
+
{{documentation}}
 
 
:This template is useful if you want to display the time required to train a skill on the Uni wiki.
 
 
 
=== Syntax ===
 
 
 
{{code|<nowiki>{{SkillTime | skill | level | short= }}</nowiki>}}
 
 
 
:The first two parameters (<code>skill</code> and <code>level</code>) are mandatory, the others are optional.
 
 
 
;skill
 
:The name of the skill you wish to link to. Please make sure it's capitalised properly (use title case spelling, i.e. <code>Gallente Strategic Cruiser</code>, not <code>Gallente strategic cruiser</code>). 
 
 
 
;level
 
:The level or rank of the skill you wish to train. In keeping with the Eve conventions, use upper-case Roman numerals (for instance, <code>IV</code>, not <code>iv</code> or <code>4</code>).
 
 
 
=== Examples ===
 
 
 
:<code><nowiki>{{SkillTime|Industry|IV}}</nowiki></code> gives {{SkillTime|Industry|IV}}.
 
:<code><nowiki>{{SkillTime|Caldari Battleship|IV|short=yes}}</nowiki></code> gives {{SkillTime|Industry|IV|short=yes}}.
 
 
 
=== Dependencies ===
 
 
 
:This template uses {{t|GetSkillMult}} to look up and display the correct training time multiplier.
 
 
 
=== See also ===
 
 
 
:{{t|Skill}}, which produces the beautiful skill overview boxes used on the [http://wiki.eveuniversity.org/w/index.php?title=Special%3APrefixIndex&prefix=Skills%3A&namespace=0 skill category pages].
 
__NOTOC__
 
[[Category:Template]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 12:44, 15 March 2021

unknown rank

Template documentation (for the above template, sometimes hidden or invisible)
Description
This template displays the time required to train a skill level.
Dependencies
Uses
{{GetSkillMult}} to look up the training time multiplier.
Used by
{{RequiredSkill}}
Syntax
{{SkillTime|<skill>|<level>|<short=>}}
Parameters
skill [Required] 
The name of the skill you wish to link to. Please make sure it's capitalized properly (use spelling and capitalization exactly as used on the skill pages/in-game, i.e. Gallente Strategic Cruiser, not Gallente strategic cruiser).
level [Required] 
The level or rank of the skill you wish to train. In keeping with the EVE conventions, use upper-case Roman numerals (for instance, IV, not iv or 4).
short 
Controls displaying. Use yes to display a short version, no seconds and time units abbreviated. Omit for full version.
Samples
{{SkillTime|Industry|IV}} gives 1 day, 1 hour, 8 minutes, 30 seconds.
{{SkillTime|Industry|IV|short= yes}} gives 1d 1h 8m.
{{SkillTime|Caldari Battleship|IV|short= yes}} gives 8d 9h 8m.
See also
  • {{Skill}}, which produces the beautiful skill overview boxes used on the skills pages.
Visit Template:SkillTime/doc to edit this text! (How does this work?) (Refresh this text - why?)