|
|
| (35 intermediate revisions by 4 users not shown) |
| Line 1: |
Line 1: |
| {{#ifeq:{{{icon|no}}} | yes | [[Image:Skill.png|link=|16px]] |}}[[Skills:{{{1}}}#{{{2}}}|{{{2}}}{{#if:{{{3|}}}| {{{3}}}|}}]] {{#if:{{{mult|}}} | {{#if:{{{cost|}}} | both set ({{{mult}}} {{{cost}}}) | only mult set ({{{mult}}}) }} | {{#if:{{{cost|}}} | only cost set ({{{cost}}}) | }} }}<noinclude> | | <includeonly><span style="white-space:nowrap;">{{#ifeq:{{{icon|no}}} | yes | [[Image:Icon skillbook2.png|link=|16px]] |}}{{GetSkillLink|{{{1}}}|{{{2|}}}}}{{#ifeq:{{{mult|no}}} | yes | {{#ifeq:{{{price|no}}} | yes | ({{SkillTimeInfo|{{GetSkillMult|{{{1}}}}}|{{{2}}}}}, {{SkillPriceInfo|{{GetSkillPrice|{{{1}}}}}}})| ({{SkillTimeInfo|{{GetSkillMult|{{{1}}}}}|{{{2}}}}})}}|{{#ifeq:{{{price|no}}}|yes| ({{SkillPriceInfo|{{GetSkillPrice|{{{1}}}}}}})|}}}}</span></includeonly><noinclude> |
| == Documentation ==
| | {{documentation}} |
| | |
| === Syntax ===
| |
| | |
| <pre><nowiki>{{sk | group | skill | rank | icon=yes | cost= | mult=}}</nowiki></pre>
| |
| | |
| <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}}.
| |
| | |
| <pre><nowiki>
| |
| (mult, cost)
| |
| {{#switch: {{{mult}}}
| |
| | case = result
| |
| | case = result
| |
| | ...
| |
| | case = result
| |
| | #default = default result
| |
| }}
| |
| {{SkillTimeInfo|{{{mult|1x}}}}}
| |
| | |
| {{#if:{{{mult|}}} | {{#if:{{{cost|}}} | both set ({{{mult}}} {{{cost}}}) | only mult set ({{{mult}}}) }} | {{#if:{{{cost|}}} | only cost set ({{{cost}}}) | }} }}
| |
| | |
| {{#if: {{{param|}}} | Param is set | Param is not set }}
| |
| </nowiki></pre> | |
| </noinclude> | | </noinclude> |