Difference between revisions of "Template:Transient list"

add same parameters as Companion icon
(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}}}}}|
| y = y
| 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
| small
}},link=,show name={{#switch:{{lc:{{{show name|n}}}}}|
|#default = small
| n
}},link=
|#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 =  
| icon size =  
| 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.
; icon 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, 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''.
698

edits