Difference between revisions of "Template:Transient list"
Jump to navigation
Jump to search
(add same parameters as Companion icon) |
|||
Line 44: | Line 44: | ||
| named args=yes | | named args=yes | ||
| userparam=frame={{#switch:{{lc:{{{frame|n}}}}}| | | userparam=frame={{#switch:{{lc:{{{frame|n}}}}}| | ||
| n | | n | ||
|#default = n | |#default = n | ||
| y = y | |||
}},size={{#switch:{{lc:{{{size|small}}}}}| | }},size={{#switch:{{lc:{{{size|small}}}}}| | ||
| small | |||
|#default = small | |||
| medium = medium | | medium = medium | ||
| large = large | | large = large | ||
| | }},link=,show name={{#switch:{{lc:{{{show name|n}}}}}| | ||
|#default = small | | n | ||
}} | |#default = {{#ifeq:{{lc:{{{size|small}}}}}|small|y|n}} | ||
| y = y | |||
}} | |||
| sort = Has English name | | sort = Has English name | ||
| searchlabel = List of companions that satisfy the search criteria. | | searchlabel = List of companions that satisfy the search criteria. | ||
Line 139: | Line 143: | ||
| scenario writer = | | scenario writer = | ||
| voice actor = | | voice actor = | ||
| | | size = | ||
| frame = | |||
| show name = | |||
| show jp name = | | show jp name = | ||
| show rarity = | | show rarity = | ||
Line 169: | Line 175: | ||
; 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''. | ||
; frame : Set to ''y'' to also display a frame with rarity, element and weapon type of the companion, ''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 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 rarity : Set to ''y'' to show rarity, ''n'' to hide. Defaults to ''y''. Only takes effect if '''format''' is set to ''table''. |
Revision as of 19:20, 23 May 2017
Description
This template creates a list of companions that satisfy the search criteria. Uses Template:Companion list table header and Template:Companion list table result format for formatting.
Usage
{{Companion list | format = | name = | jp name = | rarity = | element = | weapon type = | base skill = | illustrator = | scenario writer = | voice actor = | size = | frame = | show name = | show jp name = | show rarity = | show cost = | show element = | 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.
- element
- Filter by element in Japanese. See Property:Has element for all eligible elements.
- 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 companions regardless of availability. Defaults to !Unavailable.
- 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, element and weapon type of the companion, 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 element
- Set to y to show element, 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
{{Companion list | name = moritaka }}
No companions found that satisfy the search criteria.
{{Companion list | base skill = 0, 獣の末裔 }}
No companions found that satisfy the search criteria.