Difference between revisions of "Template:SkillPriceInfo"

From EVE University Wiki
Jump to: navigation, search
(Changed syntax to avoid duplicate "ISK")
m
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<span style="cursor: help;" title="The skillbook for this skill costs {{{1}}}">{{{1}}}</span><noinclude>
 
<span style="cursor: help;" title="The skillbook for this skill costs {{{1}}}">{{{1}}}</span><noinclude>
 
+
{{documentation}}
== Documentation ==
+
</noinclude>
 
 
: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 ===
 
 
 
<pre><nowiki>{{SkillPriceInfo | price }}</nowiki></pre>
 
 
 
;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 ===
 
 
 
:<code><nowiki>{{SkillPriceInfo|10,000 ISK}}</nowiki></code> gives {{SkillPriceInfo|10,000 ISK}}.
 
:<code><nowiki>{{SkillPriceInfo|5.2M ISK}}</nowiki></code> gives {{SkillPriceInfo|5.2M ISK}}.
 
 
 
=== See also ===
 
 
 
:{{t|SkillTimeInfo}}, a similar template dealing with skill training time multipliers (and the inspiration for this template)
 
 
 
__NOTOC__ [[Category:Template]]</noinclude>
 

Latest revision as of 12:44, 15 March 2021

{{{1}}}

Template documentation (for the above template, sometimes hidden or invisible)
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.
Visit Template:SkillPriceInfo/doc to edit this text! (How does this work?) (Refresh this text - why?)