Difference between revisions of "Template:Sk"
From EVE University Wiki
(Make icon smaller) |
|||
Line 1: | Line 1: | ||
− | {{#ifeq:{{{icon|no}}} | yes | [[Image:Skill.png|link=|16px]] |}}[[Skills:{{{1}}}#{{{2}}}|{{{2}}}{{#if:{{{3|}}}| {{{3}}}|}}]]<noinclude> | + | {{#ifeq:{{{icon|no}}} | yes | [[Image:Skill.png|link=|16px]] |}}[[Skills:{{{1}}}#{{{2}}}|{{{2}}}{{#if:{{{3|}}}| {{{3}}}|}}]]<noinclude> |
== Documentation == | == Documentation == | ||
=== Syntax === | === Syntax === | ||
− | <pre><nowiki>{{sk | group | skill | rank}}</nowiki></pre> | + | <pre><nowiki>{{sk | group | skill | rank | icon=yes | cost= | mult=}}</nowiki></pre> |
− | <code><nowiki>{{sk|Industry|Mass Production}}</nowiki></code> give {{sk|Industry|Mass Production}}. | + | <code><nowiki>{{sk|Industry|Mass Production|icon=yes}}</nowiki></code> give {{sk|Industry|Mass Production|icon=yes}}. |
<code><nowiki>{{sk|Industry|Industry|IV}}</nowiki></code> give {{sk|Industry|Industry|IV}}. | <code><nowiki>{{sk|Industry|Industry|IV}}</nowiki></code> give {{sk|Industry|Industry|IV}}. | ||
+ | |||
+ | <pre><nowiki> | ||
+ | (mult, cost) | ||
+ | {{#switch: comparison string | ||
+ | | case = result | ||
+ | | case = result | ||
+ | | ... | ||
+ | | case = result | ||
+ | | #default = default result | ||
+ | }} | ||
+ | {{SkillTimeInfo|{{{mult|1x}}}}} | ||
+ | |||
+ | {{#if:{{{mult|}}} | {{{mult}}} | }} | ||
+ | |||
+ | {{#if: {{{param|}}} | Hooray...! | Darn...! }} | ||
+ | </nowiki></pre> | ||
</noinclude> | </noinclude> |
Revision as of 16:57, 26 November 2013
[[Skills:{{{1}}}#{{{2}}}|{{{2}}}]]
Documentation
Syntax
{{sk | group | skill | rank | icon=yes | cost= | mult=}}
{{sk|Industry|Mass Production|icon=yes}}
give Mass Production.
{{sk|Industry|Industry|IV}}
give Industry IV.
(mult, cost) {{#switch: comparison string | case = result | case = result | ... | case = result | #default = default result }} {{SkillTimeInfo|{{{mult|1x}}}}} {{#if:{{{mult|}}} | {{{mult}}} | }} {{#if: {{{param|}}} | Hooray...! | Darn...! }}