Template:Skill info: Difference between revisions

No edit summary
No edit summary
Line 7: Line 7:
| channel time = {{ucfirst:{{{channel time|}}}}}
| channel time = {{ucfirst:{{{channel time|}}}}}
| cast range = {{ucfirst:{{{cast range|}}}}}
| cast range = {{ucfirst:{{{cast range|}}}}}
| cost = {{ucfirst:{{{cost|}}}}}
| cost = {{{cost|}}}
| cooldown = {{ucfirst:{{{cooldown|}}}}}
| cooldown = {{ucfirst:{{{cooldown|}}}}}
| class = {{ucfirst:{{{class|}}}}}
| class = {{ucfirst:{{{class|}}}}}
Line 20: Line 20:
{{#if:{{{cost|}}}|{{#set:Has skill cost={{{cost}}}}}|{{error|Missing 'cost' parameter.}}}}
{{#if:{{{cost|}}}|{{#set:Has skill cost={{{cost}}}}}|{{error|Missing 'cost' parameter.}}}}
{{#if:{{{cooldown|}}}|{{#set:Has skill cooldown={{ucfirst:{{{cooldown}}}}}}}|{{error|Missing 'cooldown' parameter.}}}}
{{#if:{{{cooldown|}}}|{{#set:Has skill cooldown={{ucfirst:{{{cooldown}}}}}}}|{{error|Missing 'cooldown' parameter.}}}}
{{#if:{{{class|}}}|[[Category:{{{class}}} skills]]{{#set:Has skill class={{ucfirst:{{{class}}}}}}}|{{error|Missing 'class' parameter.}}}}
{{#if:{{{class|}}}|[[Category:{{ucfirst:{{{class}}}}} skills]]{{#set:Has skill class={{ucfirst:{{{class}}}}}}}|{{error|Missing 'class' parameter.}}}}
{{#if:{{{specialization|}}}|[[Category:{{{specialization}}} skills]]{{#set:Has skill specialization={{ucfirst:{{{specialization}}}}}}}|{{error|Missing 'specialization' parameter.}}}}
{{#if:{{{specialization|}}}|[[Category:{{ucfirst:{{{specialization}}}}} skills]]{{#set:Has skill specialization={{ucfirst:{{{specialization}}}}}}}|
{{#ifeq:{{lc:{{{type|}}}}}|normal|{{error|Missing 'specialization' parameter.}}}}}}
{{#if:{{{description|}}}|{{{description}}}{{#set:Has skill description={{ucfirst:{{{description}}}}}}}|{{error|Missing 'description' parameter.}}}}</includeonly><noinclude>{{Skill info/Documentation}}</noinclude>
{{#if:{{{description|}}}|{{{description}}}{{#set:Has skill description={{ucfirst:{{{description}}}}}}}|{{error|Missing 'description' parameter.}}}}</includeonly><noinclude>{{Skill info/Documentation}}</noinclude>

Revision as of 11:07, 27 October 2023