Template:Skill info: Difference between revisions

No edit summary
No edit summary
Tag: Manual revert
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#description2:{{ucfirst:{{{description|}}}}}}}
<includeonly>{{#description2:{{{description|}}}}}
{{Skill infobox
{{Skill infobox
| icon = {{#if:{{{icon|}}}|{{{icon}}}|{{PAGENAME}}.jpg}}
| icon = {{#if:{{{icon|}}}|{{{icon}}}|{{PAGENAME}}.jpg}}
| name = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
| name = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
| type = {{{type|}}}
| type = {{#if:{{{type|}}}|{{{type}}}|Skill}}
| cast time = {{{cast time|}}}
| cast time = {{{cast time|}}}
| channel time = {{{channel time|}}}
| channel time = {{{channel time|}}}
Line 14: Line 14:
{{#set:Has skill icon={{ucfirst:{{#if:{{{icon|}}}|{{{icon}}}|{{PAGENAME}}.jpg}}}}}}
{{#set:Has skill icon={{ucfirst:{{#if:{{{icon|}}}|{{{icon}}}|{{PAGENAME}}.jpg}}}}}}
{{#set:Has skill name={{ucfirst:{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}}}
{{#set:Has skill name={{ucfirst:{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}}}
{{#if:{{{type|}}}|{{#set:Has skill type={{ucfirst:{{{type}}}}}}}|{{error|Missing 'type' parameter.}}}}
{{#set:Has skill type={{ucfirst:{{#if:{{{type|}}}|{{{type}}}|Skill}}}}}}
{{#if:{{{cast time|}}}|{{#set:Has skill cast time={{ucfirst:{{{cast time}}}}}}}}}
{{#if:{{{cast time|}}}|{{#set:Has skill cast time={{ucfirst:{{{cast time}}}}}}}}}
{{#if:{{{channel time|}}}|{{#set:Has skill channel time={{ucfirst:{{{channel time}}}}}}}}}
{{#if:{{{channel time|}}}|{{#set:Has skill channel time={{ucfirst:{{{channel time}}}}}}}}}
{{#if:{{{cast range|}}}|{{#set:Has skill cast range={{ucfirst:{{{cast range}}}}}}}|{{error|Missing 'cast range' parameter.}}}}
{{#if:{{{cast range|}}}|{{#set:Has skill cast range={{ucfirst:{{{cast range}}}}}}}}}
{{#if:{{{cost|}}}|{{#set:Has skill cost={{{cost}}}}}}}
{{#if:{{{cost|}}}|{{#set:Has skill cost={{{cost}}}}}}}
{{#if:{{{cooldown|}}}|{{#set:Has skill cooldown={{ucfirst:{{{cooldown}}}}}}}|{{error|Missing 'cooldown' parameter.}}}}
{{#if:{{{cooldown|}}}|{{#set:Has skill cooldown={{ucfirst:{{{cooldown}}}}}}}}}
{{#if:{{{class|}}}|[[Category:{{ucfirst:{{{class}}}}} skills]]{{#set:Has skill class={{ucfirst:{{{class}}}}}}}|{{error|Missing 'class' parameter.}}}}
{{#if:{{{class|}}}|[[Category:Skills]][[Category:{{ucfirst:{{{class}}}}} skills]]{{#set:Has skill class={{ucfirst:{{{class}}}}}}}|{{error|Missing 'class' parameter.}}}}
{{#if: {{{specialization|}}}|{{#arraymap:{{{specialization}}}|,|@@@@@@|[[Category:{{ucfirst:@@@@@@}} skills]]{{#set:Has skill specialization={{ucfirst:@@@@@@}}}}}}|{{error|Missing 'specialization' parameter.}}}}
{{#if: {{{specialization|}}}|{{#arraymap:{{{specialization}}}|,|@@@@@@|[[Category:{{ucfirst:@@@@@@}} skills]]{{#set:Has skill specialization={{ucfirst:@@@@@@}}}}|}}|{{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.}}}}<div id="ig-tooltip">
<div class="d-flex ig-tooltip-header align-items-center"><div class="ig-tooltip-icon me-3">[[File:{{#if:{{{icon|}}}|{{{icon}}}|{{PAGENAME}}.jpg}}|60px|alt={{PAGENAME}}|link=]]</div><div class="d-flex flex-column"><div class="ig-tooltip-title">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</div><div class="ig-tooltip-subtitle">{{#if:{{{specialization|}}}|{{{specialization}}}|{{PAGENAME}}}}</div><div class="ig-tooltip-subtitle">Skill</div></div></div>
<div class="ig-tooltip-body">{{#if:{{{cast time|}}}|<div>Cast Time <span class="ms-2 skill-orange">{{ucfirst:{{{cast time}}}}}</span></div>}}{{#if:{{{channel time|}}}|<div>Channel Time <span class="ms-2 skill-orange">{{ucfirst:{{{channel time}}}}}</span></div>}}{{#if:{{{cast range|}}}|<div>Cast Range <span class="ms-2 skill-orange">{{ucfirst:{{{cast range}}}}}</span></div>}}{{#if:{{{cost|}}}|<div>Cost <span class="ms-2 skill-orange">{{ucfirst:{{{cost}}}}}</span></div>}}{{#if:{{{cooldown|}}}|<div>Cooldown <span class="ms-2 skill-orange">{{ucfirst:{{{cooldown}}}}}</span></div>}}<div><hr></div>
{{#if:{{{description|}}}|<div>{{ucfirst:{{{description}}}}}</div>}}
</div>
</div></includeonly><noinclude>{{Skill info/Documentation}}</noinclude>

Latest revision as of 00:55, 4 December 2023