Difference between revisions of "Template:SkillPriceInfo"

From EVE University Wiki
Jump to: navigation, search
(Improve documentation)
(Expanded documentation)
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span style="cursor: help;" title="The skillbook for this skill costs {{{1}}} ISK">{{{1}}}&nbsp;ISK</span><noinclude>
+
<span style="cursor: help;" title="The skillbook for this skill costs {{{1}}}">{{{1}}}</span><noinclude>
  
 
== Documentation ==
 
== Documentation ==
Line 10: Line 10:
  
 
;price
 
;price
:Enter the price of the skillbook (when bought from NPCs). How much the skillbook costs. There is no need to put "ISK" after the price, as it is added automatically. If you would like to abbreviate large numbers (recommended for anything over 1 million), use ''k'' for thousand, ''M'' for million, and ''B'' for billion. If you don't have the exact price, then an approximation is acceptable (no need to put "~").  If there's a value range, put "-" between the two numbers (without spaces), and add the k, M, or B after the last number. Lastly, use "." for fractions and "," for thousands.   
+
:Enter the price of the skillbook (when bought from NPCs). How much the skillbook costs. Don't forget to add "ISK" after the price. If you would like to abbreviate large numbers (recommended for anything over 1 million), use ''k'' for thousand, ''M'' for million, and ''B'' for billion. If you don't have the exact price, then an approximation is acceptable (no need to put "~").  If there's a value range, put "-" between the two numbers (without spaces), and add the k, M, or B after the last number. Lastly, use "." for fractions and "," for thousands.   
  
 
=== Examples ===
 
=== Examples ===
  
:<code><nowiki>{{SkillPriceInfo | 10,000}}</nowiki></code> gives {{SkillPriceInfo|10,000}}.
+
:<code><nowiki>{{SkillPriceInfo|10,000 ISK}}</nowiki></code> gives {{SkillPriceInfo|10,000 ISK}}.
:<code><nowiki>{{SkillPriceInfo | 5.2M}}</nowiki></code> gives {{SkillPriceInfo|5.2M}}.
+
:<code><nowiki>{{SkillPriceInfo|5.2M ISK}}</nowiki></code> gives {{SkillPriceInfo|5.2M ISK}}.
 +
:<code><nowiki>{{SkillPriceInfo|{{GetSkillPrice|Caldari Battleship}}}}</nowiki></code> gives {{SkillPriceInfo|{{GetSkillPrice|Caldari Battleship}}}}.
 +
 
 +
=== See also ===
 +
 
 +
:{{t|SkillTimeInfo}}, a similar template dealing with skill training time multipliers (and the inspiration for this template)
 +
:{{t|GetSkillPrice}}, a template which automatically looks up a skills's skillbook price. 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.  
  
 
__NOTOC__ [[Category:Template]]</noinclude>
 
__NOTOC__ [[Category:Template]]</noinclude>

Revision as of 22:04, 10 January 2014

{{{1}}}

Documentation

This template shows the price of a skillbook, and generates a small tooltip (displayed when moving the mouse over the text) elaborating on the price.

Syntax

{{SkillPriceInfo | price }}
price
Enter the price of the skillbook (when bought from NPCs). How much the skillbook costs. Don't forget to add "ISK" after the price. If you would like to abbreviate large numbers (recommended for anything over 1 million), use k for thousand, M for million, and B for billion. If you don't have the exact price, then an approximation is acceptable (no need to put "~"). If there's a value range, put "-" between the two numbers (without spaces), and add the k, M, or B after the last number. Lastly, use "." for fractions and "," for thousands.

Examples

{{SkillPriceInfo|10,000 ISK}} gives 10,000 ISK.
{{SkillPriceInfo|5.2M ISK}} gives 5.2M ISK.
{{SkillPriceInfo|{{GetSkillPrice|Caldari Battleship}}}} gives 7.5M ISK.

See also

{{SkillTimeInfo}}, a similar template dealing with skill training time multipliers (and the inspiration for this template)
{{GetSkillPrice}}, a template which automatically looks up a skills's skillbook price. 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.