Difference between revisions of "Template:Transient list"
Jump to navigation
Jump to search
m (Mrquiggles moved page Template:Companion list to Template:Transient list) |
|||
Line 1: | Line 1: | ||
<includeonly>{{#css: | <includeonly>{{#css: | ||
. | .transient-list-columns div { | ||
width: unset !important; | width: unset !important; | ||
min-width: 200px; | min-width: 200px; | ||
Line 6: | Line 6: | ||
}}{{#switch: {{{format|}}} | }}{{#switch: {{{format|}}} | ||
| ul = | | ul = | ||
{{#ask: [[Has game context:: | {{#ask: [[Has game context::Transient]] | ||
{{#if:{{{name|}}}|[[Has lowercase English name::~{{lc:{{{name}}}}}]]}} | {{#if:{{{name|}}}|[[Has lowercase English name::~{{lc:{{{name}}}}}]]}} | ||
{{#if:{{{jp name|}}}|[[Has Japanese name::~{{{jp name}}}]]}} | {{#if:{{{jp name|}}}|[[Has Japanese name::~{{{jp name}}}]]}} | ||
Line 17: | Line 17: | ||
{{#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:{{{availability|}}}|{{#ifeq:{{{availability}}}|+||[[Has availability::{{{availability|}}}]]}}|[[Has availability::!Unobtainable]]}} | ||
|?= | |?=Transient icon subobject | ||
|?Has Japanese name | |?Has Japanese name | ||
|?Has English name | |?Has English name | ||
Line 27: | Line 27: | ||
| link = none | | link = none | ||
| format = ul | | format = ul | ||
| template = | | template = Transient icon result format | ||
| intro = <div class=" | | intro = <div class="transient-list-columns"> | ||
| outro = </div> | | outro = </div> | ||
| columns = {{#vardefine:result count| | | columns = {{#vardefine:result count| | ||
{{#ask:[[Has game context:: | {{#ask:[[Has game context::Transient]] | ||
{{#if:{{{name|}}}|[[Has lowercase English name::~{{lc:{{{name}}}}}]]}} | {{#if:{{{name|}}}|[[Has lowercase English name::~{{lc:{{{name}}}}}]]}} | ||
{{#if:{{{jp name|}}}|[[Has Japanese name::~{{{jp name}}}]]}} | {{#if:{{{jp name|}}}|[[Has Japanese name::~{{{jp name}}}]]}} | ||
Line 64: | Line 64: | ||
}} | }} | ||
| sort = Has English name | | sort = Has English name | ||
| searchlabel = List of | | searchlabel = List of transients that satisfy the search criteria. | ||
| default = No | | default = No transients found that satisfy the search criteria. | ||
}} <!-- end ask --> | }} <!-- end ask --> | ||
| table | | table | ||
|#default = {{#ask: [[Has game context:: | |#default = {{#ask: [[Has game context::Transient]] | ||
{{#if:{{{name|}}}|[[Has lowercase English name::~{{lc:{{{name}}}}}]]}} | {{#if:{{{name|}}}|[[Has lowercase English name::~{{lc:{{{name}}}}}]]}} | ||
{{#if:{{{jp name|}}}|[[Has Japanese name::~{{{jp name}}}]]}} | {{#if:{{{jp name|}}}|[[Has Japanese name::~{{{jp name}}}]]}} | ||
Line 79: | Line 79: | ||
{{#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:{{{availability|}}}|{{#ifeq:{{{availability}}}|+||[[Has availability::{{{availability|}}}]]}}|[[Has availability::!Unobtainable]]}} | ||
|?= | |?=Transient list subobject | ||
|?Has Japanese name | |?Has Japanese name | ||
|?Has English name | |?Has English name | ||
Line 109: | Line 109: | ||
| link = none | | link = none | ||
| format = template | | format = template | ||
| template = | | template = Transient list table result format | ||
| intro = {{ | | intro = {{Transient list table header | ||
| show name = {{{show name|y}}} | | show name = {{{show name|y}}} | ||
| show jp name = {{{show jp name|n}}} | | show jp name = {{{show jp name|n}}} | ||
Line 131: | Line 131: | ||
| sort = Has English name | | sort = Has English name | ||
| order = descending | | order = descending | ||
| searchlabel = List of | | searchlabel = List of transients that satisfy the search criteria. | ||
| default = No | | default = No transients found that satisfy the search criteria. | ||
}} <!-- end ask --> | }} <!-- end ask --> | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
== Description == | == Description == | ||
This template creates a list of | 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 == | == Usage == | ||
<pre>{{ | <pre>{{Transient list | ||
| format = | | format = | ||
| name = | | name = | ||
Line 179: | Line 179: | ||
; weapon type : Filter by weapon type in Japanese. See [[Property:Has weapon type]] for all eligible weapon types. | ; 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. | ; 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 | ; 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. | ; illustrator : Filter by illustrator in Japanese. | ||
; scenario writer : Filter by scenario writer in Japanese. | ; scenario writer : Filter by scenario writer in Japanese. | ||
; voice actor : Filter by voice actor in Japanese. | ; voice actor : Filter by voice actor in Japanese. | ||
; 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''. | ; 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 | ; 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 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 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''. | ||
Line 203: | Line 203: | ||
<pre> | <pre> | ||
{{ | {{Transient list | ||
| name = moritaka | | name = moritaka | ||
}}</pre> | }}</pre> | ||
{{ | {{Transient list | ||
| name = moritaka | | name = moritaka | ||
}} | }} | ||
<pre> | <pre> | ||
{{ | {{Transient list | ||
| base skill = 0, 獣の末裔 | | base skill = 0, 獣の末裔 | ||
}}</pre> | }}</pre> | ||
{{ | {{Transient list | ||
| base skill = 0, 獣の末裔 | | base skill = 0, 獣の末裔 | ||
}} | }} |
Revision as of 20:30, 20 August 2018
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 = | 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 = }}
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.
- 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
{{Transient list | name = moritaka }}
Icon | Name | Rarity | Energy | Weapon type | Base HP | Base ATK | Base skill (Def.) | Base skill (LB1) | Base skill (LB2) | Base skill (LB3) | Charge skill | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Moritaka | 3 | Water | Slash | 403 | 198 | Blood of the Beast | Parry Adept | Spiritual Dog Warrior | Samurai Warrior | 50px | Three Foot Ice Blade | |
Moritaka | 4 | Water | Slash | 800 | 404 | Blood of the Beast | Parry Adept | Spiritual Dog Warrior | Samurai Warrior | 50px | Three Foot Ice Blade | |
Moritaka (Valentine) | 5 | Fire | Slash | 1599 | 850 | The Lovesick | Blood of the Beast | Spiritual Dog Warrior | Loyal Samurai | 50px | Complementary Love Tempered in Ice | |
Moritaka (Jamboree) | 5 | Valiant | Shot | 1330 | 1070 | Samurai of Inheritance | River Splasher | Pillar to His Friends | Bearer of Cold | 50px | Quick and Deft Surplus Knowledge |
{{Transient list | base skill = 0, 獣の末裔 }}