Difference between revisions of "Template:Skill list"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(List format is CANCELLED >:()
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!--type, tag, target, show potency, format, show--><includeonly><onlyinclude>{{#arraydefine:skill effect list|{{#ask:
<!--type, tag, target, show potency, format, show--><includeonly><onlyinclude>{{#arraydefine:skill effect list|{{#ask:
[[Has skill ID::+]]
[[Has skill ID::+]]
{{#if:{{{type|}}}|[[Has skill type::{{{type}}}]]}}
{{#ifeq:{{{min id|-}}}|-||[[Has skill ID::>{{{min id}}}]]}}
{{#if:{{{tag|}}}|[[Has effect tags::{{{tag}}}]]}}
{{#ifeq:{{{max id|-}}}|-||[[Has skill ID::<{{{max id}}}]]}}
{{#if:{{{target|}}}|[[Has effect targets::{{{target}}}]]}}
{{#ifeq:{{{type|-}}}|-||[[Has skill type::{{{type}}}]]}}
|<!--?Has skill ID|headers=hide|mainlabel=-|-->link=none|format=list|limit=500|sort=Has skill ID|order=asc}}
{{#ifeq:{{{tag|-}}}|-|[[Has effect tags::+]]|[[Has effect tags::{{{tag}}}]]}}
{{#ifeq:{{{target|-}}}|-||[[Has effect targets::{{{target}}}]]}}
{{#ifeq:{{{range|-}}}|-||[[Has range::{{{range}}}]]}}
{{#ifeq:{{{timing|-}}}|-||[[Has trigger timing ID::{{{timing}}}]]}}
{{#ifeq:{{{interval|-}}}|-||[[Has turn interval::{{{interval}}}]]}}
|link=none|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-->
|{{#vardefine:listed skill subobj|{{#ask:
|{{#vardefine:listed skill subobj|{{#ask:
[[Has game context::Skill]]
[[{{#explode:@@@@|#effect|0}}#skill{{#explode:@@@@|#effect|1}}]]
<!--[[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
|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
|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 31: Line 37:
| modifier = (+{{Skill effect potency|base={{#show:@@@@|?Has effect min potency}}|max={{#show:@@@@|?Has effect max potency}}}}%)
| modifier = (+{{Skill effect potency|base={{#show:@@@@|?Has effect min potency}}|max={{#show:@@@@|?Has effect max potency}}}}%)
| squares = ({{Skill effect potency|base={{#show:@@@@|?Has effect min potency}}|max={{#show:@@@@|?Has effect max potency}}}} square(s))
| squares = ({{Skill effect potency|base={{#show:@@@@|?Has effect min potency}}|max={{#show:@@@@|?Has effect max potency}}}} square(s))
| tag = ({{#show:@@@@|?Has effect tags|default=?}})
}}}}{{#switch:{{{format|small}}}
}}}}{{#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}}}}{{#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:
| 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 id}}]] OR [[Has availability::Current]] [[Has game context::Transient]] [[Has evolved skill::{{#explode:{{#var:listed skill subobj}}|#|0}}#skill0]]
|format=list|limit=0|searchlabel='''See full list'''|template=Skill list result format|link=none|format=ul
|limit=0|searchlabel='''See full list'''|template=Skill list result format|link=none|format=ul
}}}}<br>}}
}}}}<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>}}
| 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}}}}{{#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}}}}<br>{{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>
}}
}}
| Charge Skill = {{#ifeq:{{#arraysize:transient list}}|0||{{Skill name|subobject={{#var:listed skill subobj}}}}<br>{{#masterdata:SkillDescription|{{#var:listed skill 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>
| Charge 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=####}} ({{Weapon|{{#show:####|?Has charge skill weapon type}}}} {{#show:####|?Has charge skill multiplier}}x)}}<br><br>
}}
}}
| AR Skill = {{AR Equipment|id={{#var:AR list}}}}<br>{{#masterdata:SkillDescription|{{#var:listed skill id}}}}<br><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>{{Documentation}}</noinclude>
<pre>{{Skill list|tag=Apply Berserk+|type=Base Skill|show=targets}}</pre>
{{Skill list|tag=Apply Berserk+|type=Base Skill|show=targets}}
 
<pre>{{Skill list|tag=Status advantage Evasion|type=Charge Skill|show=multiplier}}</pre>
{{Skill list|tag=Status advantage Evasion|type=Charge Skill|show=multiplier}}
 
<pre>{{Skill list|tag=Remove Bind|type=AR Skill}}</pre>
{{Skill list|tag=Remove Bind|type=AR Skill}}
</noinclude>

Latest revision as of 09:49, 15 October 2021

Template documentation[view] [edit] [history] [purge]

Description

This template lists all skills that fit a certain criteria as well as Transients that wield these skills. It does not display unused skills.

In order for the skill to be displayed in the first place, there needs to be a dedicated page for it that calls {{#masterdata:Skill|ID|format=wiki}}. With it, a subobject gets created that stores queryable info about a skill. It also uses a tag system (see below).

Usage

Display-related arguments:

  • format - choose how to present the list. small format hides the skill description completely, effect format shows only the matching effect and large format shows the entire skill that has this effect. Default value is large.
    • Note: for now, because of subobject shenanigans, AR skills use the large format even if effect format is selected.
  • show (small format only) - choose what additional information to show in parenthesis for the small format. The options are targets, potency, value, modifier, squares, tag.

Query-related arguments (at least one should be used):

  • type - type of skill (Base Skill, Charge Skill, AR Skill)
  • tag - skill tag (see below)
  • target - skill targeting (self, allies, enemies)
  • range - skill range. Argument should be parsed the same way as in Template:Skill range.
  • timing - skill trigger timing ID. See source code of Template:Skill trigger timing for the list.
  • interval - skill trigger interval. Pass values of interval, surplus and total_turn, separating them with a space.
  • min id, max id - min and max ID ranges for skills to be displayed. This is useful for splitting pages into multiple ones if the query result is too big.

Tags

Tags are handled in Template:Skill description (and make that template way less readable).

As of writing this, there are following tags:

Show list

(status) is English status name, (weapon) is English weapon name

  • Apply (status)
  • Remove (status)
  • Status advantage (status)
  • Weapon resist (weapon)
  • Increase HP
  • Decrease HP
  • Increase CP
  • Decrease CP
  • Add horizontal move
  • Add vertical move
  • Add omnidirectional move
  • Push
  • Pull
  • Push left
  • Push right
  • Resist all push
  • Resist horizontal push
  • Resist backward push
  • Resist forward push
  • Add unit XP
  • Collect unit XP
  • Add rank XP
  • Add Coin


Examples

{{Skill list|tag=Apply Berserk|type=Charge Skill|show=targets}}

Gandharva (self, allies)
Gandharva (self, allies)
Azathoth (self)
Azathoth (self)

{{Skill list|tag=Status advantage Evasion|type=Base Skill|show=multiplier}}

Guard Breaker (x100)
     Durga
     Durga
     Fire Merman
     Water Merman
     Wood Merman
     Aether Merman
     Nether Merman
     Infernal Merman
Storm Thresher (x100)
     Eita
     Eita
     Thunderbird
     Thunderbird
Marksman (x100)
     Kyuma
     Temujin
Shifting Snatcher (x100)
     Ikutoshi
Shaker (x100)
     Echo
Nature's Resonator (x100)
     Echo
Nerve Plucker (x1.5)
     Bael
Nerve Wrecker (x2)
     Bael
Assassin (x100)
     Tanetomo
     Tanetomo
Marksman (x100)
     Kyuma
Relief Pitcher (x100)
     Kyuma
Heavy Gripper (x100)
     Tajikarao
Demolisher (x100)
     Sol
Shut Third Eye (x100)
     Shiva
     Shiva
Hungry Hound (x100)
     Tindalos
Famished Fido (x100)
     Tindalos
Demolisher (x100)
     Sol
Disciple of Destruction (x100)
     Sol
Joining the Stone Serpent (x100)
     Xolotl (Hot Paradise)
Marksman (x100)
     Temujin
Sharpshooter Stud (x100)
     Temujin
The Great Elusive Phantom Thief (x100)
     Jiraiya (Christmas)
Invasion Foiler (x100)
     Ulaanbaatar
     Ulaanbaatar
Conflagrated Samurai (x100)
     Tadatomo (Main Story)
Banner Charger (x100)
     Catoblepas (Summer)
Hierodulia Denier (x100)
     Kirito
Overnight Stayer (x100)
     Q'ursha
One-Night Lover (x100)
     Q'ursha
Cryptid (x100)
     Yuma
Tongue-Licker (x100)
     Loki
Dispute Specialist (x100)
     Loki
Hierodulia-Denying Ripper (x100)
     Kirito
Hierodulia Denier (x100)
     Kirito
One Who Shows Trauma (x100)
     Boogeyman (Summer)
Storm Thresher (x100)
     Eita (Set Sail)
宛先を問わぬ者 (x100)
     Gullinbursti (Summer)
Orbital Jaeger (x100)
     Willie Wildcat

{{Skill list|tag=Remove Bind|type=AR Skill}}

Vow of Binding
A Present from an Uncouth Fellow

{{Skill list|tag=Apply Paralysis|type=Base Skill|format=large}}

Disease Carrier+
     Lucifuge,  Lucifuge

Bronze Quickener
     Hephaestus,  Hephaestus

Eye Opener
     Balor

Smoking Eye
     Balor

Sacred Lotus Incarnate
     Nezha

Discharger
     Red Trooper,  Blue Trooper,  Green Trooper,  Yellow Trooper,  Purple Trooper,  Black Trooper,  White Trooper,  Brown Trooper

Thundering Pep Squad
     Nobuharu (Festival)

Beaconing Pugilist
     Pollux (Christmas)

Judgment Enforcer
     Kengo (Valentine)

Lightning Grappler
     Nodens

Lightning Seizer
     Nodens

Restless Demon Eye
     Balor (Valentine)

Great Orator
     Perun

Commanding One
     Vapula

Golem Commander
     Vapula

Astonishing Machine Body
     Bertro (Christmas)

Halter of Plots
     Yoritomo (Valentine)

V-Day Promoter
     Taishakuten (Valentine)

Student Space Merc
     Willie Wildcat

Future World's Starman
     Willie Wildcat

{{Skill list|tag=Apply Taunt|type=Base Skill|range=3 0 0 0 0|format=effect}}