Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Sk: Difference between revisions

Template page
Use SkillPriceInfo
Line 1: Line 1:
{{#ifeq:{{{icon|no}}} | yes | [[Image:Skill.png|link=|16px]]&nbsp;|}}[[Skills:{{{1}}}#{{{2}}}|{{{2}}}{{#if:{{{3|}}}|&nbsp;{{{3}}}|}}]]{{#if:{{{mult|}}} | {{#if:{{{cost|}}} |&nbsp;({{SkillTimeInfo|{{{mult}}}}}, {{{cost}}} ISK) |&nbsp;({{SkillTimeInfo|{{{mult}}}}}) }} | {{#if:{{{cost|}}} |&nbsp;({{{cost}}} ISK) |}} }}<noinclude>
{{#ifeq:{{{icon|no}}} | yes | [[Image:Skill.png|link=|16px]]&nbsp;|}}[[Skills:{{{1}}}#{{{2}}}|{{{2}}}{{#if:{{{3|}}}|&nbsp;{{{3}}}|}}]]{{#if:{{{mult|}}} | {{#if:{{{price|}}} |&nbsp;({{SkillTimeInfo|{{{mult}}}}}, {{SkillPriceInfo|{{{price}}}}}) |&nbsp;({{SkillTimeInfo|{{{mult}}}}}) }} | {{#if:{{{price|}}} |&nbsp;({{SkillPriceInfo|{{{price}}}}}) |}} }}<noinclude>
== Documentation ==  
== Documentation ==  


Line 6: Line 6:
=== Syntax ===
=== Syntax ===


<pre><nowiki>{{sk | group | skill | rank | icon=yes | cost= | mult= }}</nowiki></pre>
<pre><nowiki>{{sk | group | skill | level | icon=yes | price= | mult= }}</nowiki></pre>


:Only the first two parameters (<code>group</code> and <code>skill</code>) are mandatory, the others are optional.  
:Only the first two parameters (<code>group</code> and <code>skill</code>) are mandatory, the others are optional.  
Line 16: Line 16:
:The name of the skill. As above, make sure it's capitalised properly.  
:The name of the skill. As above, make sure it's capitalised properly.  


;rank
;level
:If you would like to refer to a particular rank or level of the skill, you can enter it here. In keeping with the Eve conventions, use upper-case roman numerals (for instance, <code>IV</code>, not <code>iv</code> or <code>4</code>).  
:If you would like to refer to a particular level or rank of the skill, you can enter it here. In keeping with the Eve conventions, use upper-case roman numerals (for instance, <code>IV</code>, not <code>iv</code> or <code>4</code>).  


;icon
;icon
:Use <code>icon=yes</code> to display a small skill icon [[Image:Skill.png|link=|16px]] in front of the link (to denote it as a skill). If you use <code>icon=no</code> or omit the parameter completely, then no icon will be displayed.  
:Use <code>icon=yes</code> to display a small skill icon [[Image:Skill.png|link=|16px]] in front of the link (to denote it as a skill). If you use <code>icon=no</code> or omit the parameter completely, then no icon will be displayed.  


;cost
;price
:If you would like to indicate how much the skill book costs, enter the cost here. 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 ",". If you would not like to display a cost, then omit the parameter.   
:If you would like to indicate how much the skill book costs, enter the cost here. 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 ",". If you would not like to display a cost, then omit the parameter.   
:For instance, <code>cost=12B</code>, <code>cost=25.2K</code>, or <code>cost=10-15K</code> are correct. <code>cost=25,2</code>, <code>cost=12M ISK</code>, or <code>cost=~5 - 10</code> is not.  
:For instance, <code>cost=12B</code>, <code>cost=25.2k</code>, or <code>cost=10-15K</code> are correct. <code>cost=25,2</code>, <code>cost=12M ISK</code>, or <code>cost=~5 - 10</code> is not.  


;mult
;mult