Difference between revisions of "Template:Transient list"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
m (forgot to edit the info page for this)
(blind edit)
 
(13 intermediate revisions by 2 users not shown)
Line 3: Line 3:
     width: unset !important;
     width: unset !important;
     min-width: 200px;
     min-width: 200px;
    column-count: {{{columns|1}}};
}
}
}}{{#vardefine:in transient list|true}}{{#switch: {{{format|}}}
}}{{#vardefine:in transient list|true}}{{#switch: {{{format|}}}
Line 12: Line 13:
   {{#if:{{{energy|}}}|[[Has energy::~{{{energy|{{{element}}}}}}]]}}
   {{#if:{{{energy|}}}|[[Has energy::~{{{energy|{{{element}}}}}}]]}}
   {{#if:{{{weapon type|}}}|[[Has weapon type::~{{{weapon type}}}]]}}
   {{#if:{{{weapon type|}}}|[[Has weapon type::~{{{weapon type}}}]]}}
   {{#if:{{{base skill|}}}|[[Has base skill::~*;{{#explode:{{{base skill}}}|,|0}};{{#explode:{{{base skill}}}|,|1}};~*;~*]]}}
  [[Has availability::{{{availability|Current}}}]]
   {{#if:{{{base skill|}}}|[[Has base skill::;{{#explode:{{{base skill}}}|,|0}};{{#explode:{{{base skill}}}|,|1}};;;{{#explode:{{{base skill}}}|,|2}}]]}}
  {{#if:{{{charge skill|}}}|[[Has charge skill::;;;;{{{charge skill|}}}]]}}
   {{#if:{{{illustrator|}}}|[[Has illustrator::~*;~{{{illustrator}}};~*]]}}
   {{#if:{{{illustrator|}}}|[[Has illustrator::~*;~{{{illustrator}}};~*]]}}
   {{#if:{{{scenario writer|}}}|[[Has scenario writer::~*;~{{{scenario writer}}};~*]]}}
   {{#if:{{{scenario writer|}}}|[[Has scenario writer::~*;~{{{scenario writer}}};~*]]}}
   {{#if:{{{voice actor|}}}|[[Has voice actor::~*;~{{{voice actor}}};~*]]}}
   {{#if:{{{voice actor|}}}|[[Has voice actor::~*;~{{{voice actor}}};~*]]}}
   {{#if:{{{availability|}}}|{{#ifeq:{{{availability}}}|+||[[Has availability::{{{availability|}}}]]}}|[[Has availability::!Unobtainable]]}}
   {{#if:{{{species|}}}|[[Has species::{{{species|}}}]]}}
  {{#if:{{{sex|}}}|[[Has sex::{{{sex|}}}]]}}
  {{#if:{{{gate|}}}|[[Has gate::{{{gate|}}}]]}}
  {{{additional queries|}}}
|?=Transient icon subobject
|?=Transient icon subobject
|?Has Japanese name
|?Has Japanese name
Line 32: Line 38:
| intro = <div class="transient-list-columns">
| intro = <div class="transient-list-columns">
| outro = </div>
| outro = </div>
| columns = {{#vardefine:result count|
<!--| columns = {{#vardefine:result count|
  {{#ask:[[Has game context::Transient]]
  {{#ask:[[Has game context::Transient]]
   {{#if:{{{name|}}}|[[Has lowercase English name::~{{lc:{{{name}}}}}]]}}
   {{#if:{{{name|}}}|[[Has lowercase English name::~{{lc:{{{name}}}}}]]}}
Line 39: Line 45:
   {{#if:{{{energy|}}}|[[Has energy::~{{{energy|{{{element}}}}}}]]}}
   {{#if:{{{energy|}}}|[[Has energy::~{{{energy|{{{element}}}}}}]]}}
   {{#if:{{{weapon type|}}}|[[Has weapon type::~{{{weapon type}}}]]}}
   {{#if:{{{weapon type|}}}|[[Has weapon type::~{{{weapon type}}}]]}}
   {{#if:{{{base skill|}}}|[[Has base skill::~*;{{#explode:{{{base skill}}}|,|0}};{{#explode:{{{base skill}}}|,|1}};~*;~*]]}}
  [[Has availability::{{{availability|Current}}}]]
   {{#if:{{{base skill|}}}|[[Has base skill::;{{#explode:{{{base skill}}}|,|0}};{{#explode:{{{base skill}}}|,|1}};;;{{#explode:{{{base skill}}}|,|2}}]]}}
  {{#if:{{{charge skill|}}}|[[Has charge skill::;;;;{{{charge skill|}}}]]}}
   {{#if:{{{illustrator|}}}|[[Has illustrator::~*;~{{{illustrator}}};~*]]}}
   {{#if:{{{illustrator|}}}|[[Has illustrator::~*;~{{{illustrator}}};~*]]}}
   {{#if:{{{scenario writer|}}}|[[Has scenario writer::~*;~{{{scenario writer}}};~*]]}}
   {{#if:{{{scenario writer|}}}|[[Has scenario writer::~*;~{{{scenario writer}}};~*]]}}
   {{#if:{{{voice actor|}}}|[[Has voice actor::~*;~{{{voice actor}}};~*]]}}
   {{#if:{{{voice actor|}}}|[[Has voice actor::~*;~{{{voice actor}}};~*]]}}
   {{#if:{{{availability|}}}|{{#ifeq:{{{availability}}}|+||[[Has availability::{{{availability|}}}]]}}|[[Has availability::!Unobtainable]]}}
   {{#if:{{{species|}}}|[[Has species::{{{species|}}}]]}}
  {{#if:{{{sex|}}}|[[Has sex::{{{sex|}}}]]}}
  {{#if:{{{gate|}}}|[[Has gate::{{{gate|}}}]]}}
  {{{additional queries|}}}
  |format=count
  |format=count
  }}
  }}
}} {{#if:{{{size|}}}
}} {{#if:{{{size|}}}
  | {{#ifeq: {{lc:{{{size}}}}} | medium | {{#ifexpr:{{#var:result count}} > 5 | {{{columns|2}}} | 1 }} }}
  | {{#ifeq: {{lc:{{{size}}}}} | medium | {{#ifexpr:{{#var:result count}} > 5 | {{{columns|2}}} | 1 }} }}
  | {{#ifexpr:{{#var:result count}} > 10 | {{{columns|2}}} | 1 }} }}
  | {{#ifexpr:{{#var:result count}} > 10 | {{{columns|2}}} | 1 }} }}but who cares about your formulas tho-->
| limit = {{{limit|150}}}
| limit = {{{limit|150}}}
| named args=yes
| named args=yes
Line 76: Line 87:
   {{#if:{{{energy|}}}|[[Has energy::~{{{energy|{{{element}}}}}}]]}}
   {{#if:{{{energy|}}}|[[Has energy::~{{{energy|{{{element}}}}}}]]}}
   {{#if:{{{weapon type|}}}|[[Has weapon type::~{{{weapon type}}}]]}}
   {{#if:{{{weapon type|}}}|[[Has weapon type::~{{{weapon type}}}]]}}
   {{#if:{{{base skill|}}}|[[Has base skill::~*;{{#explode:{{{base skill}}}|,|0}};{{#explode:{{{base skill}}}|,|1}};~*;~*]]}}
  [[Has availability::{{{availability|Current}}}]]
   {{#if:{{{base skill|}}}|[[Has base skill::;{{#explode:{{{base skill}}}|,|0}};{{#explode:{{{base skill}}}|,|1}};;;{{#explode:{{{base skill}}}|,|2}}]]}}
  {{#if:{{{charge skill|}}}|[[Has charge skill::;;;;{{{charge skill|}}}]]}}
   {{#if:{{{illustrator|}}}|[[Has illustrator::~*;~{{{illustrator}}};~*]]}}
   {{#if:{{{illustrator|}}}|[[Has illustrator::~*;~{{{illustrator}}};~*]]}}
   {{#if:{{{scenario writer|}}}|[[Has scenario writer::~*;~{{{scenario writer}}};~*]]}}
   {{#if:{{{scenario writer|}}}|[[Has scenario writer::~*;~{{{scenario writer}}};~*]]}}
   {{#if:{{{voice actor|}}}|[[Has voice actor::~*;~{{{voice actor}}};~*]]}}
   {{#if:{{{voice actor|}}}|[[Has voice actor::~*;~{{{voice actor}}};~*]]}}
   {{#if:{{{availability|}}}|{{#ifeq:{{{availability}}}|+||[[Has availability::{{{availability|}}}]]}}|[[Has availability::!Unobtainable]]}}
   {{#if:{{{species|}}}|[[Has species::{{{species|}}}]]}}
  {{#if:{{{sex|}}}|[[Has sex::{{{sex|}}}]]}}
  {{#if:{{{gate|}}}|[[Has gate::{{{gate|}}}]]}}
  {{{additional queries|}}}
|?=Transient list subobject
|?=Transient list subobject
|?Has Japanese name
|?Has Japanese name
Line 138: Line 154:
| default = No transients found that satisfy the search criteria.
| default = No transients found that satisfy the search criteria.
}} <!-- end ask -->
}} <!-- end ask -->
}}</includeonly><noinclude>
}}</includeonly><noinclude>{{Documentation}}</noinclude>
== Description ==
 
This template creates a list of transients that satisfy the search criteria. Uses [[Template:Transient list table header]] and [[Template:Transient list table result format]] for formatting.
 
== Usage ==
<pre>{{Transient list
| format =
| name =
| jp name =
| rarity =
| energy =
| weapon type =
| base skill =
| illustrator =
| scenario writer =
| voice actor =
| columns =
| size =
| frame =
| show name =
| show jp name =
| show rarity =
| show cost =
| show energy =
| show weapon type =
| show base stats =
| show stats at lv =
| show skills =
| show skill description =
| show charge skill =
| show illustrator =
| show scenario writer =
| show voice actor =
}}</pre>
 
=== Parameters ===
All parameters are optional unless stated otherwise.
 
; format : Format of the results. Set to ''table'' to display the results as a table, ''ul'' to display the results in a bulleted list. Defaults to ''table''.
; name : Filter by English name.
; jp name : Filter by Japanese name.
; rarity : Filter by rarity.
; energy: Filter by energy in Japanese. See [[Property:Has energy]] for all eligible energys.
; weapon type : Filter by weapon type in Japanese. See [[Property:Has weapon type]] for all eligible weapon types.
; base skill : Filter by base skill. Expected format is the unlock stage (''0'' for default, ''1'' for first limit break etc.), followed by a comma, followed by the skill name in Japanese. You may use <code>?</code> as a wildcard for the unlock stage, and <code>*</code> as a wildcard for the skill name.
; availability : Filter by availability. See [[Property:Has availability]] for all eligible values. Set to + to search for all transients regardless of availability. Defaults to ''!Unobtainable''.
; illustrator : Filter by illustrator in Japanese.
; scenario writer : Filter by scenario writer in Japanese.
; voice actor : Filter by voice actor in Japanese.
; columns: Minimum number of columns that will display on the list. Only works if format is set to ''ul''. Defaults to ''2''.
; size: Set to ''small'' to display small icons, ''medium'' to display medium icons. Defaults to ''small''. Only takes effect if '''format''' is set to ''ul''.
; frame : Set to ''y'' to also display a frame with rarity, energy and weapon type of the transient, ''n'' to only display the icon. Defaults to ''n''. Only takes effect if '''format''' is set to ''ul''.
; show name : Set to ''y'' to show the name, ''n'' to hide. Defaults to ''y'' if '''size''' is set to ''small'', ''n'' otherwise. Only takes effect if '''format''' is set to ''ul''.
; show jp name : Set to ''y'' to show the Japanese name, ''n'' to hide. Defaults to ''n''. Only takes effect if '''format''' is set to ''table''.
; show rarity : Set to ''y'' to show rarity, ''n'' to hide. Defaults to ''y''. Only takes effect if '''format''' is set to ''table''.
; show cost : Set to ''y'' to show team cost, ''n'' to hide. Defaults to ''y''. Only takes effect if '''format''' is set to ''table''.
; show energy : Set to ''y'' to show energy, ''n'' to hide. Defaults to ''y''. Only takes effect if '''format''' is set to ''table''.
; show weapon type : Set to ''y'' to show weapon type, ''n'' to hide. Defaults to ''y''. Only takes effect if '''format''' is set to ''table''.
; show base stats : Set to ''y'' to show base stats, ''n'' to hide. Defaults to ''y''. Only takes effect if '''format''' is set to ''table''.
; show stats at lv : Set to any number to show the base stats at the given level, ''0'' to hide. Defaults to ''0''. Only takes effect if '''format''' is set to ''table''.
; show skills : Set to ''separate'' to show all skills in a separate column, ''combined'' to show them in a single column, ''n'' to hide. Defaults to ''separate''. Only takes effect if '''format''' is set to ''table''.
; show skill description : If '''show skills''' is not set to ''n'', set to ''y'' to show skill descriptions, ''n'' to hide. Defaults to ''n''. Only takes effect if '''format''' is set to ''table''.
; show charge skill : Set to ''y'' to show charge skill, ''n'' to hide. Defaults to ''y''. Only takes effect if '''format''' is set to ''table''.
; show illustrator : Set to ''y'' to show illustrator, ''n'' to hide. Defaults to ''n''. Only takes effect if '''format''' is set to ''table''.
; show scenario writer : Set to ''y'' to show scenario writer, ''n'' to hide. Defaults to ''n''. Only takes effect if '''format''' is set to ''table''.
; show voice actor : Set to ''y'' to show voice actor, ''n'' to hide. Defaults to ''n''. Only takes effect if '''format''' is set to ''table''.
 
=== Examples ===
 
<pre>
{{Transient list
| name = moritaka
}}</pre>
{{Transient list
| name = moritaka
}}
 
<pre>
{{Transient list
| base skill = 0, 獣の末裔
}}</pre>
{{Transient list
| base skill = 0, 獣の末裔
}}
 
[[Category:Formatting templates]]
</noinclude>

Latest revision as of 06:15, 10 October 2021

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

Description

This template creates a list of transients that satisfy the search criteria. Uses Template:Transient list table header and Template:Transient list table result format for formatting.

Usage

{{Transient list
| format = 
| name = 
| jp name = 
| rarity = 
| energy = 
| weapon type = 
| base skill = 
| illustrator = 
| scenario writer = 
| voice actor = 
| columns = 
| size = 
| frame = 
| show name = 
| show jp name = 
| show rarity = 
| show cost = 
| show energy = 
| show weapon type = 
| show base stats = 
| show stats at lv = 
| show skills = 
| show skill description = 
| show charge skill = 
| show illustrator = 
| show scenario writer = 
| show voice actor = 
| additional queries =
}}

Parameters

All parameters are optional unless stated otherwise.

format
Format of the results. Set to table to display the results as a table, ul to display the results in a bulleted list. Defaults to table.
name
Filter by English name.
jp name
Filter by Japanese name.
rarity
Filter by rarity.
energy
Filter by energy in Japanese. See Property:Has energy for all eligible energys.
weapon type
Filter by weapon type in Japanese. See Property:Has weapon type for all eligible weapon types.
base skill
Filter by base skill. Expected format is the unlock stage (0 for default, 1 for first limit break etc.), followed by a comma, followed by the skill name in Japanese. You may use ? as a wildcard for the unlock stage, and * as a wildcard for the skill name.
availability
Filter by availability. See Property:Has availability for all eligible values. Set to + to search for all transients regardless of availability. Defaults to !Unobtainable.
illustrator
Filter by illustrator in Japanese.
scenario writer
Filter by scenario writer in Japanese.
voice actor
Filter by voice actor in Japanese.
columns
Minimum number of columns that will display on the list. Only works if format is set to ul. Defaults to 2.
size
Set to small to display small icons, medium to display medium icons. Defaults to small. Only takes effect if format is set to ul.
frame
Set to y to also display a frame with rarity, energy and weapon type of the transient, n to only display the icon. Defaults to n. Only takes effect if format is set to ul.
show name
Set to y to show the name, n to hide. Defaults to y if size is set to small, n otherwise. Only takes effect if format is set to ul.
show jp name
Set to y to show the Japanese name, n to hide. Defaults to n. Only takes effect if format is set to table.
show rarity
Set to y to show rarity, n to hide. Defaults to y. Only takes effect if format is set to table.
show cost
Set to y to show team cost, n to hide. Defaults to y. Only takes effect if format is set to table.
show energy
Set to y to show energy, n to hide. Defaults to y. Only takes effect if format is set to table.
show weapon type
Set to y to show weapon type, n to hide. Defaults to y. Only takes effect if format is set to table.
show base stats
Set to y to show base stats, n to hide. Defaults to y. Only takes effect if format is set to table.
show stats at lv
Set to any number to show the base stats at the given level, 0 to hide. Defaults to 0. Only takes effect if format is set to table.
show skills
Set to separate to show all skills in a separate column, combined to show them in a single column, n to hide. Defaults to separate. Only takes effect if format is set to table.
show skill description
If show skills is not set to n, set to y to show skill descriptions, n to hide. Defaults to n. Only takes effect if format is set to table.
show charge skill
Set to y to show charge skill, n to hide. Defaults to y. Only takes effect if format is set to table.
show illustrator
Set to y to show illustrator, n to hide. Defaults to n. Only takes effect if format is set to table.
show scenario writer
Set to y to show scenario writer, n to hide. Defaults to n. Only takes effect if format is set to table.
show voice actor
Set to y to show voice actor, n to hide. Defaults to n. Only takes effect if format is set to table.
additional queries
Applies an additional search query to filter results. An example is |additional queries=? (?, ?, Shot, ?) to filter for transients with Shot-ranged charge skills.

Examples

{{Transient list
| name = moritaka
}}
Icon NameRarityEnergyWeapon typeBase HPBase ATKBase skill (Def.)Base skill (LB1)Base skill (LB2)Base skill (LB3)Charge skill
Moritaka 3WaterSlash403198獣の末裔 Parry Adept Spiritual Dog Warrior Samurai WarriorWeapon Spread Slash.pngThree Foot Ice BladeBlade of Ice
Moritaka 4WaterSlash800404獣の末裔 Parry Adept Spiritual Dog Warrior Samurai WarriorWeapon Spread Slash.pngThree Foot Ice BladeBlade of Ice
Moritaka (Valentine)5FireSlash1599850The Lovesick 獣の末裔 Spiritual Dog Warrior Loyal SamuraiWeapon Spread Magic.pngComplementary Love Tempered in IceBlade of Ice
Moritaka (Jamboree)5ValiantShot13301070Samurai of Inheritance River Splasher Pillar to His Friends Bearer of ColdWeapon Spread Shot.pngQuick and Deft Surplus KnowledgeBlade of Ice?
{{Transient list
| base skill = 黒兜を被る者
}}
Icon NameRarityEnergyWeapon typeBase HPBase ATKBase skill (Def.)Base skill (LB1)Base skill (LB2)Base skill (LB3)Charge skill
Surtr 3InfernalThrust412196Finisher Helmeted One Persistor Memory KeeperWeapon Spread Slash.pngBound Fuel to the FireFanned Flames
Surtr 5InfernalLong Slash1821748Finisher Helmeted One Persistor Eternal KnightWeapon Spread Long Slash.pngBound Fuel to the FireFanned Flames
{{Transient list
| base skill = ~*,Finisher
}}
Icon NameRarityEnergyWeapon typeBase HPBase ATKBase skill (Def.)Base skill (LB1)Base skill (LB2)Base skill (LB3)Charge skill
Surtr 3InfernalThrust412196Finisher Helmeted One Persistor Memory KeeperWeapon Spread Slash.pngBound Fuel to the FireFanned Flames
Surtr 5InfernalLong Slash1821748Finisher Helmeted One Persistor Eternal KnightWeapon Spread Long Slash.pngBound Fuel to the FireFanned Flames
Azathoth 3WorldShot351312Scorner Finisher Great Creator Lord of ChaosWeapon Spread All.pngLife is Dark, Death's a DreamMouth of Madness
Azathoth 4WorldSnipe661581Scorner Finisher Great Creator Lord of ChaosWeapon Spread All.pngLife is Dark, Death's a DreamMouth of Madness
Arc 3FireShot398202Finisher Restrainer Compensator Sin-bearerWeapon Spread All.pngIncinerated FaithPyre of Piety
Arc 4FireSnipe641592Finisher Restrainer Compensator Sin-bearerWeapon Spread All.pngIncinerated FaithPyre of Piety
{{Transient list
| base skill = ~*,~*,395
}}
Icon NameRarityEnergyWeapon typeBase HPBase ATKBase skill (Def.)Base skill (LB1)Base skill (LB2)Base skill (LB3)Charge skill
Jinn 3FireSlash409256Gourmand Vanguard Mentor The Hot-bloodedWeapon Spread Magic.pngSmoke-Clouded EyesVow of the Djinn
Jinn 5FireMagic1634898Gourmand Vanguard Shape Shifter Hot-Blooded TeacherWeapon Spread Magic.pngSmoke-Clouded EyesVow of the Djinn
Horkeu Kamui 3WaterBlow392215Mountain Dweller Blood of the Beast Vanguard SidekickWeapon Spread Magic.pngBrave and Loyal Freezing StrikeGallant Guardian
Zao 3WoodBlow329281Mountain Dweller Vanguard Adamantite Mountain MoghulWeapon Spread Shot.pngFoothill PurificationThird-Eye Chakra
Zao 4WoodThrust841470Mountain Dweller Vanguard Adamantite Mountain MoghulWeapon Spread Shot.pngFoothill PurificationThird-Eye Chakra
{{Transient list
| charge skill = 137
}}
Icon NameRarityEnergyWeapon typeBase HPBase ATKBase skill (Def.)Base skill (LB1)Base skill (LB2)Base skill (LB3)Charge skill
Surtr 3InfernalThrust412196Finisher Helmeted One Persistor Memory KeeperWeapon Spread Slash.pngBound Fuel to the FireFanned Flames
Surtr 5InfernalLong Slash1821748Finisher Helmeted One Persistor Eternal KnightWeapon Spread Long Slash.pngBound Fuel to the FireFanned Flames


{{Transient list
| format = ul
| limit = 20
}}