Difference between revisions of "Template:SkillTime"

From EVE University Wiki
Jump to: navigation, search
(Created page with "{{#switch: {{GetSkillMult|{{{1}}}}} | 1x = {{#switch: {{{2}}} | I = 8 minutes, 20 seconds | II = 47 minutes, 10 seconds | III = 4 hours, 26 minutes, 40 seconds | IV =...")
 
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch: {{GetSkillMult|{{{1}}}}}
+
{{#ifeq:{{{short|no}}}|yes|{{#switch: {{GetSkillMult|{{{1}}}}}
 +
| 1x = {{#switch: {{{2}}}
 +
  | I = 8m
 +
  | II = 47m
 +
  | III = 4h 26m
 +
  | IV = 1d 1h 8m
 +
  | V = 5d 22h 13m
 +
  | #default = unknown}}
 +
| 2x = {{#switch: {{{2}}}
 +
  | I = 16m
 +
  | II = 1h 34m
 +
  | III = 8h 53m
 +
  | IV = 2d 2h 17m
 +
  | V = 11d 20h 26m
 +
  | #default = unknown}}
 +
| 3x = {{#switch: {{{2}}}
 +
  | I = 25m
 +
  | II = 2h 21m
 +
  | III = 13h 20m
 +
  | IV = 3d 3h 25m
 +
  | V = 17d 18h 40m
 +
  | #default = unknown}}
 +
| 4x = {{#switch: {{{2}}}
 +
  | I = 33m
 +
  | II = 3h 8m
 +
  | III = 17h 46m
 +
  | IV = 4d 4h 34m
 +
  | V = 23d 16h 53m
 +
  | #default = unknown}}
 +
| 5x = {{#switch: {{{2}}}
 +
  | I = 41m
 +
  | II = 3h 55m
 +
  | III = 22h 13m
 +
  | IV = 5d 5h 42m
 +
  | V = 29d 15h 6m
 +
  | #default = unknown}}
 +
| 6x = {{#switch: {{{2}}}
 +
  | I = 50m
 +
  | II = 4h 43m
 +
  | III = 1d 2h 40m
 +
  | IV = 6d 6h 51m
 +
  | V = 35d 13h 20m
 +
  | #default = unknown}}
 +
| 7x = {{#switch: {{{2}}}
 +
  | I = 58m
 +
  | II = 5h 30m
 +
  | III = 1d 7h 6m
 +
  | IV = 7d 7h 59m
 +
  | V = 41d 11h 33m
 +
  | #default = unknown}}
 +
| 8x = {{#switch: {{{2}}}
 +
  | I = 1h 6m
 +
  | II = 6h 17m
 +
  | III = 1d 11h 33m
 +
  | IV = 8d 9h 8m
 +
  | V = 47d 9h 46m
 +
  | #default = unknown}}
 +
| 9x = {{#switch: {{{2}}}
 +
  | I = 1h 15m
 +
  | II = 7h 4m
 +
  | III = 1d 16h
 +
  | IV = 9d 10h 16m
 +
  | V = 53d 8h
 +
  | #default = unknown}}
 +
| 10x = {{#switch: {{{2}}}
 +
  | I = 1h 23m
 +
  | II = 7h 51m
 +
  | III = 1d 20h 26m
 +
  | IV = 10d 11h 25m
 +
  | V = 59d 6h 13m
 +
  | #default = unknown}}
 +
| 11x = {{#switch: {{{2}}}
 +
  | I = 1h 31m
 +
  | II = 8h 38m
 +
  | III = 2d 53m
 +
  | IV = 11d 12h 33m
 +
  | V = 65d 4h 26m
 +
  | #default = unknown}}
 +
| 12x = {{#switch: {{{2}}}
 +
  | I = 1h 40m
 +
  | II = 9h 26m
 +
  | III = 2d 5h 20m
 +
  | IV = 12d 13h 42m
 +
  | V = 71d 2h 40m
 +
  | #default = unknown}}
 +
| 13x = {{#switch: {{{2}}}
 +
  | I = 1h 48m
 +
  | II = 10h 13m
 +
  | III = 2d 9h 46m
 +
  | IV = 13d 14h 50m
 +
  | V = 77d 53m
 +
  | #default = unknown}}
 +
| 14x = {{#switch: {{{2}}}
 +
  | I = 1h 56m
 +
  | II = 11h
 +
  | III = 2d 14h 13m
 +
  | IV = 14d 15h 59m
 +
  | V = 82d 23h 6m
 +
  | #default = unknown}}
 +
| 15x = {{#switch: {{{2}}}
 +
  | I = 2h 5m
 +
  | II = 11h 47m
 +
  | III = 2d 18h 40m
 +
  | IV = 15d 17h 7m
 +
  | V = 88d 21h 20m
 +
  | #default = unknown}}
 +
| 16x = {{#switch: {{{2}}}
 +
  | I = 2h 13m
 +
  | II = 12h 34m
 +
  | III = 2d 23h 6m
 +
  | IV = 16d 18h 16m
 +
  | V = 94d 19h 33m
 +
  | #default = unknown}}
 +
| #default = unknown rank}}|{{#switch: {{GetSkillMult|{{{1}}}}}
 
  | 1x = {{#switch: {{{2}}}
 
  | 1x = {{#switch: {{{2}}}
 
   | I = 8 minutes, 20 seconds
 
   | I = 8 minutes, 20 seconds
Line 6: Line 119:
 
   | IV = 1 day, 1 hour, 8 minutes, 30 seconds
 
   | IV = 1 day, 1 hour, 8 minutes, 30 seconds
 
   | V = 5 days, 22 hours, 13 minutes, 20 seconds
 
   | V = 5 days, 22 hours, 13 minutes, 20 seconds
   | #default = unknown}}
+
   | #default = unknown level}}
 
  | 2x = {{#switch: {{{2}}}
 
  | 2x = {{#switch: {{{2}}}
 
   | I = 16 minutes, 40 seconds
 
   | I = 16 minutes, 40 seconds
Line 13: Line 126:
 
   | IV = 2 days, 2 hours, 17 minutes
 
   | IV = 2 days, 2 hours, 17 minutes
 
   | V = 11 days, 20 hours, 26 minutes, 40 seconds
 
   | V = 11 days, 20 hours, 26 minutes, 40 seconds
   | #default = unknown}}
+
   | #default = unknown level}}
 
  | 3x = {{#switch: {{{2}}}
 
  | 3x = {{#switch: {{{2}}}
 
   | I = 25 minutes
 
   | I = 25 minutes
Line 20: Line 133:
 
   | IV = 3 days, 3 hours, 25 minutes, 30 seconds
 
   | IV = 3 days, 3 hours, 25 minutes, 30 seconds
 
   | V = 17 days, 18 hours, 40 minutes
 
   | V = 17 days, 18 hours, 40 minutes
   | #default = unknown}}
+
   | #default = unknown level}}
 
  | 4x = {{#switch: {{{2}}}
 
  | 4x = {{#switch: {{{2}}}
 
   | I = 33 minutes, 20 seconds
 
   | I = 33 minutes, 20 seconds
Line 34: Line 147:
 
   | IV = 5 days, 5 hours, 42 minutes, 30 seconds
 
   | IV = 5 days, 5 hours, 42 minutes, 30 seconds
 
   | V = 29 days, 15 hours, 6 minutes, 40 seconds
 
   | V = 29 days, 15 hours, 6 minutes, 40 seconds
   | #default = unknown}}
+
   | #default = unknown level}}
 
  | 6x = {{#switch: {{{2}}}
 
  | 6x = {{#switch: {{{2}}}
 
   | I = 50 minutes
 
   | I = 50 minutes
Line 41: Line 154:
 
   | IV = 6 days, 6 hours, 51 minutes
 
   | IV = 6 days, 6 hours, 51 minutes
 
   | V = 35 days, 13 hours, 20 minutes
 
   | V = 35 days, 13 hours, 20 minutes
   | #default = unknown}}
+
   | #default = unknown level}}
 
  | 7x = {{#switch: {{{2}}}
 
  | 7x = {{#switch: {{{2}}}
 
   | I = 58 minutes, 20 seconds
 
   | I = 58 minutes, 20 seconds
Line 48: Line 161:
 
   | IV = 7 days, 7 hours, 59 minutes, 30 seconds
 
   | IV = 7 days, 7 hours, 59 minutes, 30 seconds
 
   | V = 41 days, 11 hours, 33 minutes, 20 seconds
 
   | V = 41 days, 11 hours, 33 minutes, 20 seconds
   | #default = unknown}}
+
   | #default = unknown level}}
 
  | 8x = {{#switch: {{{2}}}
 
  | 8x = {{#switch: {{{2}}}
 
   | I = 1 hour, 6 minutes, 40 seconds
 
   | I = 1 hour, 6 minutes, 40 seconds
Line 55: Line 168:
 
   | IV = 8 days, 9 hours, 8 minutes
 
   | IV = 8 days, 9 hours, 8 minutes
 
   | V = 47 days, 9 hours, 46 minutes, 40 seconds
 
   | V = 47 days, 9 hours, 46 minutes, 40 seconds
   | #default = unknown}}
+
   | #default = unknown level}}
 
  | 9x = {{#switch: {{{2}}}
 
  | 9x = {{#switch: {{{2}}}
 
   | I = 1 hour, 15 minutes
 
   | I = 1 hour, 15 minutes
Line 62: Line 175:
 
   | IV = 9 days, 10 hours, 16 minutes, 30 seconds
 
   | IV = 9 days, 10 hours, 16 minutes, 30 seconds
 
   | V = 53 days, 8 hours
 
   | V = 53 days, 8 hours
   | #default = unknown}}
+
   | #default = unknown level}}
 
  | 10x = {{#switch: {{{2}}}
 
  | 10x = {{#switch: {{{2}}}
 
   | I = 1 hour, 23 minutes, 20 seconds
 
   | I = 1 hour, 23 minutes, 20 seconds
Line 69: Line 182:
 
   | IV = 10 days, 11 hours, 25 minutes
 
   | IV = 10 days, 11 hours, 25 minutes
 
   | V = 59 days, 6 hours, 13 minutes, 20 seconds
 
   | V = 59 days, 6 hours, 13 minutes, 20 seconds
   | #default = unknown}}
+
   | #default = unknown level}}
 
  | 11x = {{#switch: {{{2}}}
 
  | 11x = {{#switch: {{{2}}}
 
   | I = 1 hour, 31 minutes, 40 seconds
 
   | I = 1 hour, 31 minutes, 40 seconds
Line 76: Line 189:
 
   | IV = 11 days, 12 hours, 33 minutes, 30 seconds
 
   | IV = 11 days, 12 hours, 33 minutes, 30 seconds
 
   | V = 65 days, 4 hours, 26 minutes, 40 seconds
 
   | V = 65 days, 4 hours, 26 minutes, 40 seconds
   | #default = unknown}}
+
   | #default = unknown level}}
 
  | 12x = {{#switch: {{{2}}}
 
  | 12x = {{#switch: {{{2}}}
 
   | I = 1 hour, 40 minutes
 
   | I = 1 hour, 40 minutes
Line 83: Line 196:
 
   | IV = 12 days, 13 hours, 42 minutes
 
   | IV = 12 days, 13 hours, 42 minutes
 
   | V = 71 days, 2 hours, 40 minutes
 
   | V = 71 days, 2 hours, 40 minutes
   | #default = unknown}}
+
   | #default = unknown level}}
 
  | 13x = {{#switch: {{{2}}}
 
  | 13x = {{#switch: {{{2}}}
 
   | I = 1 hour, 48 minutes, 20 seconds
 
   | I = 1 hour, 48 minutes, 20 seconds
Line 90: Line 203:
 
   | IV = 13 days, 14 hours, 50 minutes, 30 seconds
 
   | IV = 13 days, 14 hours, 50 minutes, 30 seconds
 
   | V = 77 days, 53 minutes, 20 seconds
 
   | V = 77 days, 53 minutes, 20 seconds
   | #default = unknown}}
+
   | #default = unknown level}}
 
  | 14x = {{#switch: {{{2}}}
 
  | 14x = {{#switch: {{{2}}}
 
   | I = 1 hour, 56 minutes, 40 seconds
 
   | I = 1 hour, 56 minutes, 40 seconds
Line 97: Line 210:
 
   | IV = 14 days, 15 hours, 59 minutes
 
   | IV = 14 days, 15 hours, 59 minutes
 
   | V = 82 days, 23 hours, 6 minutes, 40 seconds
 
   | V = 82 days, 23 hours, 6 minutes, 40 seconds
   | #default = unknown}}
+
   | #default = unknown level}}
 
  | 15x = {{#switch: {{{2}}}
 
  | 15x = {{#switch: {{{2}}}
 
   | I = 2 hours, 5 minutes
 
   | I = 2 hours, 5 minutes
Line 111: Line 224:
 
   | IV = 16 days, 18 hours, 16 minutes
 
   | IV = 16 days, 18 hours, 16 minutes
 
   | V = 94 days, 19 hours, 33 minutes, 20 seconds
 
   | V = 94 days, 19 hours, 33 minutes, 20 seconds
   | #default = unknown}}
+
   | #default = unknown level}}
  | #default = unknown}}<noinclude>
+
  | #default = unknown rank}}}}<noinclude>
 
== Documentation ==  
 
== Documentation ==  
  
Line 119: Line 232:
 
=== Syntax ===
 
=== Syntax ===
  
{{code|<nowiki>{{SkillTime | skill | level }}</nowiki>}}
+
{{code|<nowiki>{{SkillTime | skill | level | short= }}</nowiki>}}
  
:Only the first parameter (<code>skill</code>) is mandatory, the others are optional.
+
:The first two parameters (<code>skill</code> and <code>level</code>) are mandatory, the others are optional.
  
 
;skill
 
;skill
Line 132: Line 245:
  
 
:<code><nowiki>{{SkillTime|Industry|IV}}</nowiki></code> gives {{SkillTime|Industry|IV}}.
 
:<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 ===
 
=== Dependencies ===

Latest revision as of 07:29, 14 May 2014

unknown rank

Documentation

This template is useful if you want to display the time required to train a skill on the Uni wiki.

Syntax

{{SkillTime | skill | level | short= }}
The first two parameters (skill and level) 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. Gallente Strategic Cruiser, not Gallente strategic cruiser).
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, IV, not iv or 4).

Examples

{{SkillTime|Industry|IV}} gives 1 day, 1 hour, 8 minutes, 30 seconds.
{{SkillTime|Caldari Battleship|IV|short=yes}} gives 1d 1h 8m.

Dependencies

This template uses {{GetSkillMult}} to look up and display the correct training time multiplier.

See also

{{Skill}}, which produces the beautiful skill overview boxes used on the skill category pages.