Difference between revisions of "Template:SkillPriceInfo"

From EVE University Wiki
Jump to: navigation, search
(New template)
 
(Improve 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. Larger numbers should be abbreviated with ''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, the correct fraction denominator is "." and not ",".  
+
: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.
  
 
=== Examples ===
 
=== Examples ===
  
:<code><nowiki>{{SkillPriceInfo|10,000}}</nowiki></code> gives {{SkillPriceInfo|10,000}}.
+
:<code><nowiki>{{SkillPriceInfo | 10,000}}</nowiki></code> gives {{SkillPriceInfo|10,000}}.
:<code><nowiki>{{SkillPriceInfo|5.2M}}</nowiki></code> gives {{SkillPriceInfo|5.2M}}.
+
:<code><nowiki>{{SkillPriceInfo | 5.2M}}</nowiki></code> gives {{SkillPriceInfo|5.2M}}.
  
 
__NOTOC__ [[Category:Template]]</noinclude>
 
__NOTOC__ [[Category:Template]]</noinclude>

Revision as of 12:55, 27 November 2013

{{{1}}} ISK

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. 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.

Examples

{{SkillPriceInfo | 10,000}} gives 10,000 ISK.
{{SkillPriceInfo | 5.2M}} gives 5.2M ISK.