Difference between revisions of "Template:SkillTime/doc"
From EVE University Wiki
(Wrote the template docs) |
m (Rewrote doc. Add short parameter info. Add sample to show the difference between short/non short. Update link.) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | ; | + | ; Description |
− | :This template | + | : This template displays the time required to train a skill level. |
− | ; | + | ; Dependencies |
− | {{ | + | :; Uses |
+ | :: {{T|GetSkillMult}} to look up the training time multiplier. | ||
+ | :; Used by | ||
+ | :: {{T|RequiredSkill}} | ||
− | :The | + | ; Syntax |
+ | : {{T|SkillTime|2= skill|3= level|4= 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. <code>Gallente Strategic Cruiser</code>, not <code>Gallente strategic cruiser</code>). | ||
+ | ::; 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, <code>IV</code>, not <code>iv</code> or <code>4</code>). | ||
+ | ::; short : Controls displaying. Use <code>yes</code> to display a short version, no seconds and time units abbreviated. Omit for full version. | ||
− | ; | + | ; Samples |
− | : | + | : <code><nowiki>{{SkillTime|Industry|IV}}</nowiki></code> gives {{SkillTime|Industry|IV}}. |
+ | : <code><nowiki>{{SkillTime|Industry|IV|short= yes}}</nowiki></code> gives {{SkillTime|Industry|IV|short= yes}}. | ||
− | + | : <code><nowiki>{{SkillTime|Caldari Battleship|IV|short= yes}}</nowiki></code> gives {{SkillTime|Caldari Battleship|IV|short=yes}}. | |
− | : | ||
− | ; | + | ; See also |
− | + | * {{Tl|Skill}}, which produces the beautiful skill overview boxes used on the <span class=plainlinks>[https://wiki.eveuniversity.org/Special:PrefixIndex?prefix=skills%3A&namespace=0 skills pages]</span>. | |
− | : | ||
− | + | <includeonly>[[Category:Data templates]]<!-- Any categories for the template itself --></includeonly> | |
− | + | <noinclude>[[Category:Template documentation]]</noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | <includeonly>[[Category: | ||
− | <noinclude>[[Category:Template documentation |
Latest revision as of 10:30, 18 January 2023
- 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
, notGallente 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
, notiv
or4
). - 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.