Difference between revisions of "Template:SkillTimeInfo"

From EVE University Wiki
Jump to: navigation, search
(Expand documentation)
m
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span style="cursor: help;" title="{{#switch: {{{1}}}
+
<includeonly><span style="cursor: help;" title="{{#switch: {{{1}}}
  | 1x = This skill has the shortest training time  possible. It will take approximately 8 minutes to train to level I, 4 hours to train to level III, and 6 days to train to level V (assuming no implants or neural remaps).
+
  | 1x = {{#switch: {{{2}}}
  | 2x = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 17 minutes to train to level I, 9 hours to train to level III, and 12 days to train to level V (assuming no implants or neural remaps).
+
  | I = It will take approximately 8 minutes to train to level {{{2}}} (assuming no implants or neural remaps).
  | 3x = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 25 minutes to train to level I, 13 hours to train to level III, and 18 days to train to level V (assuming no implants or neural remaps).
+
  | II = It will take approximately 47 minutes to train to level {{{2}}} (assuming no implants or neural remaps).
  | 4x = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 33 minutes to train to level I, 18 hours to train to level III, and 24 days to train to level V (assuming no implants or neural remaps).
+
  | III = It will take approximately 4 hours to train to level {{{2}}} (assuming no implants or neural remaps).
  | 5x = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 41 minutes to train to level I, 22 hours to train to level III, and 30 days to train to level V (assuming no implants or neural remaps).
+
  | IV = It will take approximately 1 day to train to level {{{2}}} (assuming no implants or neural remaps).
  | 6x = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 50 minutes to train to level I, 1 day to train to level III, and 35 days to train to level V (assuming no implants or neural remaps).
+
  | V = It will take approximately 6 days to train to level {{{2}}} (assuming no implants or neural remaps).
  | 7x = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 1 hour to train to level I, 1 day to train to level III, and 6 weeks to train to level V (assuming no implants or neural remaps).
+
  | #default = This skill has the shortest training time  possible. It will take approximately 8 minutes to train to level I, 4 hours to train to level III, and 6 days to train to level V (assuming no implants or neural remaps).}}
  | 8x = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 1 hour to train to level I, 1 day to train to level III, and 7 weeks to train to level V (assuming no implants or neural remaps).
+
  | 2x = {{#switch: {{{2}}}
  | 9x = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 1 hour to train to level I, 2 days to train to level III, and 8 weeks to train to level V (assuming no implants or neural remaps).
+
  | I = It will take approximately 17 minutes to train to level {{{2}}} (assuming no implants or neural remaps).
  | 10x = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 1 hour to train to level I, 2 days to train to level III, and 8 weeks to train to level V (assuming no implants or neural remaps).
+
  | II = It will take approximately 2 hours to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | III = It will take approximately 9 hours to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | IV = It will take approximately 2 days to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | V = It will take approximately 12 days to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | #default = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 17 minutes to train to level I, 9 hours to train to level III, and 12 days to train to level V (assuming no implants or neural remaps).}}
 +
  | 3x = {{#switch: {{{2}}}
 +
  | I = It will take approximately 25 minutes to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | II = It will take approximately 2 hours to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | III = It will take approximately 13 hours to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | IV = It will take approximately 3 days to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | V = It will take approximately 18 days to train to level V (assuming no implants or neural remaps).
 +
  | #default = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 25 minutes to train to level I, 13 hours to train to level III, and 18 days to train to level V (assuming no implants or neural remaps).}}
 +
  | 4x = {{#switch: {{{2}}}
 +
  | I = It will take approximately 33 minutes to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | II = It will take approximately 3 hours to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | III = It will take approximately 18 hours to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | IV = It will take approximately 4 days to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | V = It will take approximately 24 days to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | #default = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 33 minutes to train to level I, 18 hours to train to level III, and 24 days to train to level V (assuming no implants or neural remaps).}}
 +
  | 5x = {{#switch: {{{2}}}
 +
  | I = It will take approximately 41 minutes to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | II = It will take approximately 4 hours to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | III = It will take approximately 22 hours to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | IV = It will take approximately 5 days to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | V = It will take approximately 30 days to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | #default = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 41 minutes to train to level I, 22 hours to train to level III, and 30 days to train to level V (assuming no implants or neural remaps).}}
 +
  | 6x = {{#switch: {{{2}}}
 +
  | I = It will take approximately 50 minutes to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | II = It will take approximately 5 hours to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | III = It will take approximately 1 day to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | IV = It will take approximately 6 days to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | V = It will take approximately 36 days to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | #default = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 50 minutes to train to level I, 1 day to train to level III, and 35 days to train to level V (assuming no implants or neural remaps).}}
 +
  | 7x = {{#switch: {{{2}}}
 +
  | I = It will take approximately 1 hour to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | II = It will take approximately 6 hours to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | III = It will take approximately 1 day to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | IV = It will take approximately 7 days to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | V = It will take approximately 6 weeks to train to level V (assuming no implants or neural remaps).
 +
  | #default = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 1 hour to train to level I, 1 day to train to level III, and 6 weeks to train to level V (assuming no implants or neural remaps).}}
 +
  | 8x = {{#switch: {{{2}}}
 +
  | I = It will take approximately 1 hour to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | II = It will take approximately 6 hours to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | III = It will take approximately 1 day to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | IV = It will take approximately 8 days to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | V = It will take approximately 7 weeks to train to level V (assuming no implants or neural remaps).
 +
  | #default = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 1 hour to train to level I, 1 day to train to level III, and 7 weeks to train to level V (assuming no implants or neural remaps).}}
 +
  | 9x = {{#switch: {{{2}}}
 +
  | I = It will take approximately 1 hour to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | II = It will take approximately 7 hours to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | III = It will take approximately 2 days to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | IV = It will take approximately 9 days to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | V = It will take approximately 8 weeks to train to level V (assuming no implants or neural remaps).
 +
  | #default = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 1 hour to train to level I, 2 days to train to level III, and 8 weeks to train to level V (assuming no implants or neural remaps).}}
 +
  | 10x = {{#switch: {{{2}}}
 +
  | I = It will take approximately 1 hour to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | II = It will take approximately 8 hours to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | III = It will take approximately 2 days to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | IV = It will take approximately 10 days to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | V = It will take approximately 8 weeks to train to level V (assuming no implants or neural remaps).
 +
  | #default = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 1 hour to train to level I, 2 days to train to level III, and 8 weeks to train to level V (assuming no implants or neural remaps).}}
 
  | 11x = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 2 hours to train to level I, 2 days to train to level III, and 9 weeks to train to level V (assuming no implants or neural remaps).
 
  | 11x = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 2 hours to train to level I, 2 days to train to level III, and 9 weeks to train to level V (assuming no implants or neural remaps).
  | 12x = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 2 hours to train to level I, 2 days to train to level III, and 10 weeks to train to level V (assuming no implants or neural remaps).
+
  | 12x = {{#switch: {{{2}}}
 +
  | I = It will take approximately 2 hours to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | II = It will take approximately 9 hours to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | III = It will take approximately 2 days to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | IV = It will take approximately 13 days to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | V = It will take approximately 10 weeks to train to level V (assuming no implants or neural remaps).
 +
  | #default = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 2 hours to train to level I, 2 days to train to level III, and 10 weeks to train to level V (assuming no implants or neural remaps).}}
 
  | 13x = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 2 hours to train to level I, 2 days to train to level III, and 11 weeks to train to level V (assuming no implants or neural remaps).
 
  | 13x = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 2 hours to train to level I, 2 days to train to level III, and 11 weeks to train to level V (assuming no implants or neural remaps).
  | 14x = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 2 hours to train to level I, 3 days to train to level III, and 12 weeks to train to level V (assuming no implants or neural remaps).
+
  | 14x = {{#switch: {{{2}}}
 +
  | I = It will take approximately 2 hours to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | II = It will take approximately 11 hours to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | III = It will take approximately 3 days to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | IV = It will take approximately 15 days to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | V = It will take approximately 12 weeks to train to level V (assuming no implants or neural remaps).
 +
  | #default = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 2 hours to train to level I, 3 days to train to level III, and 12 weeks to train to level V (assuming no implants or neural remaps).}}
 
  | 15x = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 2 hours to train to level I, 3 days to train to level III, and an utterly ludicrous 13 weeks to train to level V (assuming no implants or neural remaps).
 
  | 15x = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 2 hours to train to level I, 3 days to train to level III, and an utterly ludicrous 13 weeks to train to level V (assuming no implants or neural remaps).
  | 16x = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 2 hours to train to level I, 3 days to train to level III, and an utterly ludicrous 13 weeks to train to level V (assuming no implants or neural remaps).
+
  | 16x = {{#switch: {{{2}}}
 +
  | I = It will take approximately 2 hours to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | II = It will take approximately 13 hours to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | III = It will take approximately 3 days to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | IV = It will take approximately 17 days to train to level {{{2}}} (assuming no implants or neural remaps).
 +
  | V = It will take approximately 14 weeks to train to level V (assuming no implants or neural remaps).
 +
  | #default = This skill takes {{{1}}} as long to train compared to a skill with a multiplier of 1x. It will take approximately 2 hours to train to level I, 3 days to train to level III, and an utterly ludicrous 13 weeks to train to level V (assuming no implants or neural remaps).}}
 
  | #default = This skill has an unknown training time. Please check whether you are using the template correctly.
 
  | #default = This skill has an unknown training time. Please check whether you are using the template correctly.
}}">{{{1|1x}}}</span><noinclude>
+
}}">{{{1|1x}}}</span></includeonly><noinclude>
 
+
{{documentation}}
== Documentation ==
+
</noinclude>
 
 
:This template generates a tooltip (displayed when moving the mouse over the text) explaining what a [[Skill_training#Training_Time_Multipliers|skill training time multiplier]] is, and giving a rough indication of how long a skill takes to train.
 
 
 
=== Syntax ===
 
 
 
<pre><nowiki>{{SkillTimeInfo | multiplier }}</nowiki></pre>
 
 
 
;multiplier
 
:Enter the skill training time multiplier here, and add a lower-case "x" to the end, like <code>1x</code> or <code>5x</code>. If this argument is not specified, the template will display a 1x multiplier, but generate a (hopefully helpful) error message in the tooltip. 
 
 
 
=== Examples ===
 
 
 
:<code><nowiki>{{SkillTimeInfo|3x}}</nowiki></code> gives {{SkillTimeInfo|3x}}.
 
:<code><nowiki>{{SkillTimeInfo}}</nowiki></code> gives {{SkillTimeInfo}}.
 
:<code><nowiki>{{SkillTimeInfo|{{GetSkillMult|Caldari Battleship}}}}</nowiki></code> gives {{SkillTimeInfo | {{GetSkillMult | Caldari Battleship }} }}.
 
 
 
=== See also ===
 
 
 
:{{t|SkillPriceInfo}}, a similar template dealing with skill book prices.
 
:{{t|GetSkillMult}}, a template which automatically looks up a skills's training time multiplier. You can use it to feed this template (as in the third example above), or just use the {{t|Sk}} template, which does it for you.
 
 
 
=== Implementation notes ===
 
:The times shown in the tooltip were calculated for 1800 skill points per hour (= all attributes at 20), which is a good approximation, as basic characters have all their attributes at 20 except Charisma (which is at 19). In any case, the tooltip is meant to only give a rough approximation, as for most characters, their training time will be modified by implants or neural remaps.
 
:Additionally, the template was constructed from plain text, instead of using a mathematical formula to arrive at the approximate training times. While this makes the template code longer, it's arguably more readable, and allows for rounding numbers for the sake of clarity.
 
 
 
__NOTOC__ [[Category:Template]]</noinclude>
 

Latest revision as of 19:54, 21 April 2017

Template documentation (for the above template, sometimes hidden or invisible)

This template generates a tooltip (displayed when moving the mouse over the text) explaining what a skill training time multiplier is, and giving a rough indication of how long a skill takes to train.

Syntax

{{SkillTimeInfo | multiplier | level }}
multiplier
Enter the skill training time multiplier here, and add a lower-case "x" to the end, like 1x or 5x. If this argument is not specified, the template will display a 1x multiplier, but generate a (hopefully helpful) error message in the tooltip.
level
Enter the desired level. If this argument is not specified, the template will display times for levels I, III, and V.

Examples

{{SkillTimeInfo|3x|III}} gives 3x.
{{SkillTimeInfo|3x}} gives 3x.
{{SkillTimeInfo}} gives 1x.
{{SkillTimeInfo|{{GetSkillMult|Caldari Battleship}}}} gives 8x .
{{SkillTimeInfo|{{GetSkillMult|Caldari Battleship}}|III}} gives 8x .

See also

{{SkillPriceInfo}}, a similar template dealing with skill book prices.
{{GetSkillMult}}, a template which automatically looks up a skills's training time multiplier. You can use it to feed this template (as in the third example above), or just use the {{Sk}} template, which does it for you.

Implementation notes

The times shown in the tooltip were calculated for 1800 skill points per hour (= all attributes at 20), which is a good approximation, as basic characters have all their attributes at 20 except Charisma (which is at 19). In any case, the tooltip is meant to only give a rough approximation, as for most characters, their training time will be modified by implants or neural remaps.
Additionally, the template was constructed from plain text, instead of using a mathematical formula to arrive at the approximate training times. While this makes the template code longer, it's arguably more readable, and allows for rounding numbers for the sake of clarity.
Visit Template:SkillTimeInfo/doc to edit this text! (How does this work?) (Refresh this text - why?)