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
m Syntax: much prettier :)
v2.0 of this skill
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:{{{price|}}} |&nbsp;({{SkillTimeInfo|{{{mult}}}}}, {{SkillPriceInfo|{{{price}}}}}) |&nbsp;({{SkillTimeInfo|{{{mult}}}}}) }} | {{#if:{{{price|}}} |&nbsp;({{SkillPriceInfo|{{{price}}}}}) |}} }}<noinclude>
{{#ifeq:{{{icon|no}}} | yes | [[Image:Skill.png|link=|16px]]&nbsp;|}}
{{GetSkillLink | {{{1}}} | {{{2|}}} }}
{{#if:{{{mult|}}} | {{#if:{{{price|}}} |&nbsp;({{SkillTimeInfo | {{GetSkillMult | {{{1}}} }} }}, {{SkillPriceInfo | {{GetSkillPrice | {{{1}}} }} }}) |&nbsp;({{SkillTimeInfo | {{GetSkillMult | {{{1}}} }} }}) }} | {{#if:{{{price|}}} |&nbsp;({{SkillPriceInfo | {{GetSkillPrice | {{{1}}} }} }}) |}} }}<noinclude>
== Documentation ==  
== Documentation ==  


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


{{code|<nowiki>{{sk | group | skill | level | icon= | price= | mult= }}</nowiki>}}
{{code|<nowiki>{{sk | skill | level | icon= | price= | mult= }}</nowiki>}}


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