Difference between revisions of "Template:SkillTime"

From EVE University Wiki
Jump to: navigation, search
m (Extracted Category into docs page)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#ifeq:{{{short|no}}}|yes|{{#switch: {{{1}}}
+
{{#ifeq:{{{short|no}}}|yes|{{#switch: {{GetSkillMult|{{{1}}}}}
| 1x = {{#switch: {{{2}}}
 
  | I = 8 minutes, 20 seconds
 
  | II = 47 minutes, 10 seconds
 
  | III = 4 hours, 26 minutes, 40 seconds
 
  | IV = 1 day, 1 hour, 8 minutes, 30 seconds
 
  | V = 5 days, 22 hours, 13 minutes, 20 seconds
 
  | #default = unknown2}}
 
| 2x = {{#switch: {{{2}}}
 
  | I = 16 minutes, 40 seconds
 
  | II = 1 hour, 34 minutes, 20 seconds
 
  | III = 8 hours, 53 minutes, 20 seconds
 
  | IV = 2 days, 2 hours, 17 minutes
 
  | V = 11 days, 20 hours, 26 minutes, 40 seconds
 
  | #default = unknown}}
 
| 3x = {{#switch: {{{2}}}
 
  | I = 25 minutes
 
  | II = 2 hours, 21 minutes, 30 seconds
 
  | III = 13 hours, 20 minutes
 
  | IV = 3 days, 3 hours, 25 minutes, 30 seconds
 
  | V = 17 days, 18 hours, 40 minutes
 
  | #default = unknown}}
 
| 4x = {{#switch: {{{2}}}
 
  | I = 33 minutes, 20 seconds
 
  | II = 3 hours, 8 minutes, 40 seconds
 
  | III = 17 hours, 46 minutes, 40 seconds
 
  | IV = 4 days, 4 hours, 34 minutes
 
  | V = 23 days, 16 hours, 53 minutes, 20 seconds
 
  | #default = unknown}}
 
| 5x = {{#switch: {{{2}}}
 
  | I = 41 minutes, 40 seconds
 
  | II = 3 hours, 55 minutes, 50 seconds
 
  | III = 22 hours, 13 minutes, 20 seconds
 
  | IV = 5 days, 5 hours, 42 minutes, 30 seconds
 
  | V = 29 days, 15 hours, 6 minutes, 40 seconds
 
  | #default = unknown}}
 
| 6x = {{#switch: {{{2}}}
 
  | I = 50 minutes
 
  | II = 4 hours, 43 minutes
 
  | III = 1 day, 2 hours, 40 minutes
 
  | IV = 6 days, 6 hours, 51 minutes
 
  | V = 35 days, 13 hours, 20 minutes
 
  | #default = unknown}}
 
| 7x = {{#switch: {{{2}}}
 
  | I = 58 minutes, 20 seconds
 
  | II = 5 hours, 30 minutes, 10 seconds
 
  | III = 1 day, 7 hours, 6 minutes, 40 seconds
 
  | IV = 7 days, 7 hours, 59 minutes, 30 seconds
 
  | V = 41 days, 11 hours, 33 minutes, 20 seconds
 
  | #default = unknown}}
 
| 8x = {{#switch: {{{2}}}
 
  | I = 1 hour, 6 minutes, 40 seconds
 
  | II = 6 hours, 17 minutes, 20 seconds
 
  | III = 1 day, 11 hours, 33 minutes, 20 seconds
 
  | IV = 8 days, 9 hours, 8 minutes
 
  | V = 47 days, 9 hours, 46 minutes, 40 seconds
 
  | #default = unknown}}
 
| 9x = {{#switch: {{{2}}}
 
  | I = 1 hour, 15 minutes
 
  | II = 7 hours, 4 minutes, 30 seconds
 
  | III = 1 day, 16 hours
 
  | IV = 9 days, 10 hours, 16 minutes, 30 seconds
 
  | V = 53 days, 8 hours
 
  | #default = unknown}}
 
| 10x = {{#switch: {{{2}}}
 
  | I = 1 hour, 23 minutes, 20 seconds
 
  | II = 7 hours, 51 minutes, 40 seconds
 
  | III = 1 day, 20 hours, 26 minutes, 40 seconds
 
  | IV = 10 days, 11 hours, 25 minutes
 
  | V = 59 days, 6 hours, 13 minutes, 20 seconds
 
  | #default = unknown}}
 
| 11x = {{#switch: {{{2}}}
 
  | I = 1 hour, 31 minutes, 40 seconds
 
  | II = 8 hours, 38 minutes, 50 seconds
 
  | III = 2 days, 53 minutes, 20 seconds
 
  | IV = 11 days, 12 hours, 33 minutes, 30 seconds
 
  | V = 65 days, 4 hours, 26 minutes, 40 seconds
 
  | #default = unknown}}
 
| 12x = {{#switch: {{{2}}}
 
  | I = 1 hour, 40 minutes
 
  | II = 9 hours, 26 minutes
 
  | III = 2 days, 5 hours, 20 minutes
 
  | IV = 12 days, 13 hours, 42 minutes
 
  | V = 71 days, 2 hours, 40 minutes
 
  | #default = unknown}}
 
| 13x = {{#switch: {{{2}}}
 
  | I = 1 hour, 48 minutes, 20 seconds
 
  | II = 10 hours, 13 minutes, 10 seconds
 
  | III = 2 days, 9 hours, 46 minutes, 40 seconds
 
  | IV = 13 days, 14 hours, 50 minutes, 30 seconds
 
  | V = 77 days, 53 minutes, 20 seconds
 
  | #default = unknown}}
 
| 14x = {{#switch: {{{2}}}
 
  | I = 1 hour, 56 minutes, 40 seconds
 
  | II = 11 hours, 20 seconds
 
  | III = 2 days, 14 hours, 13 minutes, 20 seconds
 
  | IV = 14 days, 15 hours, 59 minutes
 
  | V = 82 days, 23 hours, 6 minutes, 40 seconds
 
  | #default = unknown}}
 
| 15x = {{#switch: {{{2}}}
 
  | I = 2 hours, 5 minutes
 
  | II = 11 hours, 47 minutes, 30 seconds
 
  | III = 2 days, 18 hours, 40 minutes
 
  | IV = 15 days, 17 hours, 7 minutes, 30 seconds
 
  | V = 88 days, 21 hours, 20 minutes
 
  | #default = unknown}}
 
| 16x = {{#switch: {{{2}}}
 
  | I = 2 hours, 13 minutes, 20 seconds
 
  | II = 12 hours, 34 minutes, 40 seconds
 
  | III = 2 days, 23 hours, 6 minutes, 40 seconds
 
  | IV = 16 days, 18 hours, 16 minutes
 
  | V = 94 days, 19 hours, 33 minutes, 20 seconds
 
  | #default = unknown}}
 
| #default = unknown}}|{{#switch: {{{1}}}
 
 
  | 1x = {{#switch: {{{2}}}
 
  | 1x = {{#switch: {{{2}}}
 
   | I = 8m
 
   | I = 8m
Line 225: Line 112:
 
   | V = 94d 19h 33m
 
   | V = 94d 19h 33m
 
   | #default = unknown}}
 
   | #default = unknown}}
  | #default = unknown}}}}<noinclude>
+
  | #default = unknown rank}}|{{#switch: {{GetSkillMult|{{{1}}}}}
== Documentation ==  
+
| 1x = {{#switch: {{{2}}}
 
+
  | I = 8 minutes, 20 seconds
:This template is useful if you want to display the time required to train a skill on the Uni wiki.
+
  | II = 47 minutes, 10 seconds
 
+
  | III = 4 hours, 26 minutes, 40 seconds
=== Syntax ===
+
  | IV = 1 day, 1 hour, 8 minutes, 30 seconds
 
+
  | V = 5 days, 22 hours, 13 minutes, 20 seconds
{{code|<nowiki>{{SkillTime | skill | level | short= }}</nowiki>}}
+
  | #default = unknown level}}
 
+
| 2x = {{#switch: {{{2}}}
:The first two parameters (<code>skill</code> and <code>level</code>) are mandatory, the others are optional.
+
  | I = 16 minutes, 40 seconds
 
+
  | II = 1 hour, 34 minutes, 20 seconds
;skill
+
  | III = 8 hours, 53 minutes, 20 seconds
: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>). 
+
  | IV = 2 days, 2 hours, 17 minutes
 
+
  | V = 11 days, 20 hours, 26 minutes, 40 seconds
;level
+
  | #default = unknown 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>).
+
| 3x = {{#switch: {{{2}}}
 
+
  | I = 25 minutes
=== Examples ===
+
  | II = 2 hours, 21 minutes, 30 seconds
 
+
  | III = 13 hours, 20 minutes
:<code><nowiki>{{SkillTime|Industry|IV}}</nowiki></code> gives {{SkillTime|Industry|IV}}.
+
  | IV = 3 days, 3 hours, 25 minutes, 30 seconds
:<code><nowiki>{{SkillTime|Caldari Battleship|IV|short=yes}}</nowiki></code> gives {{SkillTime|Industry|IV|short=yes}}.
+
  | V = 17 days, 18 hours, 40 minutes
 
+
  | #default = unknown level}}
=== Dependencies ===
+
| 4x = {{#switch: {{{2}}}
 
+
  | I = 33 minutes, 20 seconds
:This template uses {{t|GetSkillMult}} to look up and display the correct training time multiplier.
+
  | II = 3 hours, 8 minutes, 40 seconds
 
+
  | III = 17 hours, 46 minutes, 40 seconds
=== See also ===
+
  | IV = 4 days, 4 hours, 34 minutes
 
+
  | V = 23 days, 16 hours, 53 minutes, 20 seconds
:{{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].
+
  | #default = unknown}}
__NOTOC__
+
| 5x = {{#switch: {{{2}}}
[[Category:Template]]
+
  | I = 41 minutes, 40 seconds
 +
  | II = 3 hours, 55 minutes, 50 seconds
 +
  | III = 22 hours, 13 minutes, 20 seconds
 +
  | IV = 5 days, 5 hours, 42 minutes, 30 seconds
 +
  | V = 29 days, 15 hours, 6 minutes, 40 seconds
 +
  | #default = unknown level}}
 +
| 6x = {{#switch: {{{2}}}
 +
  | I = 50 minutes
 +
  | II = 4 hours, 43 minutes
 +
  | III = 1 day, 2 hours, 40 minutes
 +
  | IV = 6 days, 6 hours, 51 minutes
 +
  | V = 35 days, 13 hours, 20 minutes
 +
  | #default = unknown level}}
 +
| 7x = {{#switch: {{{2}}}
 +
  | I = 58 minutes, 20 seconds
 +
  | II = 5 hours, 30 minutes, 10 seconds
 +
  | III = 1 day, 7 hours, 6 minutes, 40 seconds
 +
  | IV = 7 days, 7 hours, 59 minutes, 30 seconds
 +
  | V = 41 days, 11 hours, 33 minutes, 20 seconds
 +
  | #default = unknown level}}
 +
| 8x = {{#switch: {{{2}}}
 +
  | I = 1 hour, 6 minutes, 40 seconds
 +
  | II = 6 hours, 17 minutes, 20 seconds
 +
  | III = 1 day, 11 hours, 33 minutes, 20 seconds
 +
  | IV = 8 days, 9 hours, 8 minutes
 +
  | V = 47 days, 9 hours, 46 minutes, 40 seconds
 +
  | #default = unknown level}}
 +
| 9x = {{#switch: {{{2}}}
 +
  | I = 1 hour, 15 minutes
 +
  | II = 7 hours, 4 minutes, 30 seconds
 +
  | III = 1 day, 16 hours
 +
  | IV = 9 days, 10 hours, 16 minutes, 30 seconds
 +
  | V = 53 days, 8 hours
 +
  | #default = unknown level}}
 +
| 10x = {{#switch: {{{2}}}
 +
  | I = 1 hour, 23 minutes, 20 seconds
 +
  | II = 7 hours, 51 minutes, 40 seconds
 +
  | III = 1 day, 20 hours, 26 minutes, 40 seconds
 +
  | IV = 10 days, 11 hours, 25 minutes
 +
  | V = 59 days, 6 hours, 13 minutes, 20 seconds
 +
  | #default = unknown level}}
 +
| 11x = {{#switch: {{{2}}}
 +
  | I = 1 hour, 31 minutes, 40 seconds
 +
  | II = 8 hours, 38 minutes, 50 seconds
 +
  | III = 2 days, 53 minutes, 20 seconds
 +
  | IV = 11 days, 12 hours, 33 minutes, 30 seconds
 +
  | V = 65 days, 4 hours, 26 minutes, 40 seconds
 +
  | #default = unknown level}}
 +
| 12x = {{#switch: {{{2}}}
 +
  | I = 1 hour, 40 minutes
 +
  | II = 9 hours, 26 minutes
 +
  | III = 2 days, 5 hours, 20 minutes
 +
  | IV = 12 days, 13 hours, 42 minutes
 +
  | V = 71 days, 2 hours, 40 minutes
 +
  | #default = unknown level}}
 +
| 13x = {{#switch: {{{2}}}
 +
  | I = 1 hour, 48 minutes, 20 seconds
 +
  | II = 10 hours, 13 minutes, 10 seconds
 +
  | III = 2 days, 9 hours, 46 minutes, 40 seconds
 +
  | IV = 13 days, 14 hours, 50 minutes, 30 seconds
 +
  | V = 77 days, 53 minutes, 20 seconds
 +
  | #default = unknown level}}
 +
| 14x = {{#switch: {{{2}}}
 +
  | I = 1 hour, 56 minutes, 40 seconds
 +
  | II = 11 hours, 20 seconds
 +
  | III = 2 days, 14 hours, 13 minutes, 20 seconds
 +
  | IV = 14 days, 15 hours, 59 minutes
 +
  | V = 82 days, 23 hours, 6 minutes, 40 seconds
 +
  | #default = unknown level}}
 +
| 15x = {{#switch: {{{2}}}
 +
  | I = 2 hours, 5 minutes
 +
  | II = 11 hours, 47 minutes, 30 seconds
 +
  | III = 2 days, 18 hours, 40 minutes
 +
  | IV = 15 days, 17 hours, 7 minutes, 30 seconds
 +
  | V = 88 days, 21 hours, 20 minutes
 +
  | #default = unknown}}
 +
| 16x = {{#switch: {{{2}}}
 +
  | I = 2 hours, 13 minutes, 20 seconds
 +
  | II = 12 hours, 34 minutes, 40 seconds
 +
  | III = 2 days, 23 hours, 6 minutes, 40 seconds
 +
  | IV = 16 days, 18 hours, 16 minutes
 +
  | V = 94 days, 19 hours, 33 minutes, 20 seconds
 +
  | #default = unknown level}}
 +
| #default = unknown rank}}}}<noinclude>
 +
{{documentation}}
 
</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?)