Difference between revisions of "Template:Skill list"

1,757 bytes added ,  14:39, 20 November 2020
Did stuff and things, whatever
(Removed extra line breaks)
(Did stuff and things, whatever)
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|sort=Has skill ID|order=asc}}
{{#if:{{{range|}}}|[[Has range::{{{range}}}]]}}
{{#if:{{{timing|}}}|[[Has trigger timing ID::{{{timing}}}]]}}
{{#if:{{{interval|}}}|[[Has turn interval::{{{interval}}}]]}}
|link=none|format=list|limit=500|sort=Has skill ID|order=asc}}
}}{{#arrayprint:skill effect list||@@@@|
}}{{#arrayprint:skill effect list||@@@@|
{{#ifeq:{{#var:listed skill id|}} {{#var:listed skill tag|}} {{#var:listed skill targets|}}|{{#vardefineecho:listed skill id|{{formatnum:{{#show:@@@@|?Has skill ID}}|R}}}} {{#vardefineecho:listed skill tag|{{#show:@@@@|?Has effect tags}}}} {{#vardefineecho:listed skill targets|{{#show:@@@@|?Has effect targets}}}}|<!--removing duplicate entries-->
{{#ifeq:{{#var:listed skill id|}} {{#var:listed skill tag|}} {{#var:listed skill targets|}}|{{#vardefineecho:listed skill id|{{formatnum:{{#show:@@@@|?Has skill ID}}|R}}}} {{#vardefineecho:listed skill tag|{{#show:@@@@|?Has effect tags}}}} {{#vardefineecho:listed skill targets|{{#show:@@@@|?Has effect targets}}}}|<!--removing duplicate entries-->
Line 10: Line 13:
[[Has game context::Skill]]
[[Has game context::Skill]]
[[Has ID::{{#var:listed skill id|}}]]
[[Has ID::{{#var:listed skill id|}}]]
[[Has effect ID::1]]
[[Has effect ID::{{#expr:{{#explode:@@@@|#effect|1}} + 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}}}}}
| Base Skill = {{#arraydefine:transient list|{{#ask:
| Base Skill = {{#arraydefine:transient list|{{#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 id}}]] OR [[Has availability::Current]] [[Has game context::Transient]] [[Has evolved skill::{{#explode:{{#var:listed skill subobj}}|#|0}}#skill0]]<!--:puke:-->
|format=list|link=none|limit=100
|format=list|link=none|limit=100
}}}}
}}}}
| Charge Skill = {{#arraydefine:transient list|{{#ask:
| Charge Skill = {{#arraydefine:transient list|{{#ask:
[[Has availability::Current]] [[Has game context::Transient]] [[Has charge skill::;;;;{{#var:listed skill id|}}]]
[[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::{{#var:listed 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
Line 40: Line 43:
| AR Skill = {{AR Equipment|id={{#var:AR list}}}}{{#if:{{#var:skill effect note|}}|&#32;{{#var:skill effect note}}}}<br>
| AR Skill = {{AR Equipment|id={{#var:AR list}}}}{{#if:{{#var:skill effect note|}}|&#32;{{#var:skill effect note}}}}<br>
}}
}}
| large = {{#switch:{{{type|{{#show:{{#var:listed skill subobj}}|?Has skill type}}}}}
| large | full = {{#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>{{#masterdata:SkillDescription|{{#var:listed skill id}}}}{{spaces|4}}{{#arrayprint:transient list|,{{spaces|1}}|####|{{Transient icon|subobject=####}}}}<br><br>
| Base Skill = {{#ifeq:{{#arraysize:transient list}}|0||{{Skill name|subobject={{#var:listed skill subobj}}}}<br>{{#masterdata:SkillDescription|{{#var:listed skill id}}}}{{spaces|4}}{{#arrayprint:transient list|,{{spaces|1}}|####|{{Transient icon|subobject=####}}}}<br><br>
}}
}}
Line 46: Line 49:
}}
}}
| AR Skill = {{AR Equipment|id={{#var:AR list}}}}<br>{{#masterdata:SkillDescription|{{#var:listed skill id}}}}<br>
| AR Skill = {{AR Equipment|id={{#var:AR list}}}}<br>{{#masterdata:SkillDescription|{{#var:listed skill id}}}}<br>
}}
| effect | #default = {{#vardefine:effect ID|{{#expr: {{#explode:{{#var:listed skill subobj}}|#skill|1}} + 1}}}}{{#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>[{{Skill trigger timing|{{#show:{{#var:listed skill subobj}}| ?Has skill trigger timing}}}}] {{#masterdata:SkillDescription|{{#var:listed skill id}}|effect={{#var:effect ID}}}} / {{Skill rate|base={{#show:{{#var:listed skill subobj}}|?Has skill proc chance}}|max=0}}<br>{{spaces|4}}{{#arrayprint:transient list|,{{spaces|1}}|####|{{Transient icon|subobject=####}}}}<br><br>
}}
| Charge Skill = {{#ifeq:{{#arraysize:transient list}}|0||{{Skill name|subobject={{#var:listed skill subobj}}}}<br>[{{Skill trigger timing|{{#show:{{#var:listed skill subobj}}| ?Has skill trigger timing}}}}] {{#masterdata:SkillDescription|{{#var:listed skill id}}|effect={{#var:effect ID}}}}<br>{{spaces|4}}{{#arrayprint:transient list|,{{spaces|1}}|####|{{Transient icon|subobject=####}} ({{Weapon|{{#show:####|?Has charge skill weapon type}}}} {{#show:####|?Has charge skill multiplier}}x)}}<br><br>
}}
| AR Skill = <!--no changes until the skill subobject receives info about max proc chances-->{{AR Equipment|id={{#var:AR list}}}}<br>{{#masterdata:SkillDescription|{{#var:listed skill id}}}}<br>
}}}}}}
}}}}}}
}}{{#vardefine:listed skill id|}}</includeonly></onlyinclude><noinclude>
}}{{#vardefine:listed skill id|}}</includeonly></onlyinclude><noinclude>
Line 59: Line 69:
<pre>{{Skill list|tag=Apply Paralysis|type=Base Skill|format=large}}</pre>
<pre>{{Skill list|tag=Apply Paralysis|type=Base Skill|format=large}}</pre>
{{Skill list|tag=Apply Paralysis|type=Base Skill|format=large}}
{{Skill list|tag=Apply Paralysis|type=Base Skill|format=large}}
<pre>{{Skill list|tag=Apply Taunt|type=Base Skill|range=3 0 0 0 0|format=effect}}</pre>
{{Skill list|tag=Apply Taunt|type=Base Skill|range=3 0 0 0 0|format=effect}}
</noinclude>
</noinclude>
trusted
5,922

edits