Template:Skill list

From Tokyo Afterschool Summoners
Revision as of 05:27, 21 November 2020 by SurtrFan8511 (talk | contribs)
Jump to navigation Jump to search
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}}


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


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


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


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