Difference between revisions of "Template:Skill list"

Jump to navigation Jump to search
914 bytes added ,  05:06, 28 August 2020
no edit summary
(I'll finish this tomorrow hopefully, at least the small format should be done)
 
Line 4: Line 4:
{{#if:{{{tag|}}}|[[Has effect tags::{{{tag}}}]]}}
{{#if:{{{tag|}}}|[[Has effect tags::{{{tag}}}]]}}
{{#if:{{{target|}}}|[[Has effect targets::{{{target}}}]]}}
{{#if:{{{target|}}}|[[Has effect targets::{{{target}}}]]}}
|?Has skill ID|headers=hide|mainlabel=-|link=none|format=list|limit=500}}}}{{#arrayunique:skill effect list}}{{#arrayprint:skill effect list||@@@@|
|<!--?Has skill ID|headers=hide|mainlabel=-|-->link=none|format=list|limit=500|sort=Has skill ID|order=asc}}
{{#vardefine:listed skill subobj|{{#ask:
}}{{#arrayprint:skill effect list||@@@@|
{{#ifeq:{{#var:listed skill id|}} {{#var:listed skill tag|}} {{#var:listed skill targets|}}|{{#vardefineecho:listed skill id|{{#show:@@@@|?Has skill ID}}}} {{#vardefineecho:listed skill tag|{{#show:@@@@|?Has effect tags}}}} {{#vardefineecho:listed skill targets|{{#show:@@@@|?Has effect targets}}}}|<!--removing duplicate entries-->
|{{#vardefine:listed skill subobj|{{#ask:
[[Has game context::Skill]]
[[Has game context::Skill]]
[[Has ID::@@@@]]
[[Has ID::{{#var:listed skill id|}}]]
[[Has effect ID::1]]
[[Has effect ID::1]]
|limit=1|link=none}}}}{{#arraydefine:transient list|}}{{#switch:{{{type|{{#show:{{#var:listed skill subobj}}|?Has skill type}}}}}
|limit=1|link=none}}}}{{#arraydefine:transient list|}}{{#switch:{{{type|{{#show:{{#var:listed skill subobj}}|?Has skill type}}}}}
Line 15: Line 17:
}}}}
}}}}
| Charge Skill = {{#arraydefine:transient list|{{#ask:
| Charge Skill = {{#arraydefine:transient list|{{#ask:
[[Has availability::Current]] [[Has game context::Transient]] [[Has charge skill::;;;;@@@@]]
[[Has availability::Current]] [[Has game context::Transient]] [[Has charge skill::;;;;{{#var:listed skill id|}}]]
|format=list|link=none|limit=100
|format=list|link=none|limit=100
}}}}
}}}}
| AR Skill = {{#vardefine:AR list|{{#ask:
| AR Skill = {{#vardefine:AR list|{{#ask:
[[Has key::AR skill linker]] [[Has Skill ID::@@@@]]
[[Has key::AR skill linker]] [[Has Skill ID::{{#var:listed skill id|}}]]
|?Has AR ID
|?Has AR ID
|mainlabel=-|headers=hide|limit=1
|mainlabel=-|headers=hide|limit=1
}}}}
}}}}
}}{{#switch:{{{format|small}}}
}}{{#vardefine:skill effect note|{{#switch:{{#sub:{{{tag|{{#var:listed skill tag}}}}}|0|5}}
| Apply = ({{#var:listed skill targets}})
| Statu<!--s advantage--> = (x{{Skill effect potency|base={{#show:@@@@|?Has effect min potency}}|max={{#show:@@@@|?Has effect max potency}}}}%)
}}}}{{#switch:{{{format|small}}}
| small = {{#switch:{{{type|{{#show:{{#var:listed skill subobj}}|?Has skill type}}}}}
| small = {{#switch:{{{type|{{#show:{{#var:listed skill subobj}}|?Has skill type}}}}}
| Base Skill = {{#ifeq:{{#arraysize:transient list}}|0||{{Skill name|subobject={{#var:listed skill subobj}}}}<br>{{spaces|4}}{{#ifexpr:{{#arraysize:transient list}} < 10|{{#arrayprint:transient list|<br>{{spaces|4}}|####|<!--[[####|{{#show:####|?Has English name}}]] ({{Star|{{#show:####|?Has rarity}}}} {{#show:####|?Has variant}})-->{{Transient icon|subobject=####}}}}|{{#ask:
| Base Skill = {{#ifeq:{{#arraysize:transient list}}|0||{{Skill name|subobject={{#var:listed skill subobj}}}}{{#if:{{#var:skill effect note|}}|&#32;{{#var:skill effect note}}}}<br>{{spaces|4}}{{#ifexpr:{{#arraysize:transient list}} < 10|{{#arrayprint:transient list|<br>{{spaces|4}}|####|<!--[[####|{{#show:####|?Has English name}}]] ({{Star|{{#show:####|?Has rarity}}}} {{#show:####|?Has variant}})-->{{Transient icon|subobject=####}}}}|{{#ask:
[[Has availability::Current]] [[Has game context::Transient]] [[Has base skill::{{#var:listed skill subobj}}]] OR [[Has availability::Current]] [[Has game context::Transient]] [[Has evolved skill::{{#var:listed skill subobj}}]]
[[Has availability::Current]] [[Has game context::Transient]] [[Has base skill::{{#var:listed skill subobj}}]] OR [[Has availability::Current]] [[Has game context::Transient]] [[Has evolved skill::{{#var:listed skill subobj}}]]
|format=list|limit=0|searchlabel='''See full list'''
|format=list|limit=0|searchlabel='''See full list'''
}}}}<br>}}
}}}}<br>}}
| Charge Skill = {{#ifeq:{{#arraysize:transient list}}|0||{{#arrayprint:transient list|<br>|####|{{Transient icon|subobject=####}}}}<br>}}
| Charge Skill = {{#ifeq:{{#arraysize:transient list}}|0||{{#arrayprint:transient list|<br>|####|{{Transient icon|subobject=####}}{{#if:{{#var:skill effect note|}}|&#32;{{#var:skill effect note}}}}}}<br>}}
| AR Skill = {{AR Equipment|id={{#var:AR list}}}}
| AR Skill = {{AR Equipment|id={{#var:AR list}}}}{{#if:{{#var:skill effect note|}}|&#32;{{#var:skill effect note}}}}
}}
}}
| large =<!--WIP-->}}}}</includeonly></onlyinclude><noinclude>
| large =<!--WIP-->}}}}
}}{{#vardefine:listed skill id|}}</includeonly></onlyinclude><noinclude>
<pre>{{Skill list|tag=Apply Remove Buff|type=Base Skill}}</pre>
<pre>{{Skill list|tag=Apply Remove Buff|type=Base Skill}}</pre>
{{Skill list|tag=Apply Remove Buff|type=Base Skill}}
{{Skill list|tag=Apply Remove Buff|type=Base Skill}}
trusted
5,922

edits

Navigation menu