Difference between revisions of "Template:Transient list"

Jump to navigation Jump to search
m
columns attribute added, default is 2
m (columns attribute added, default is 2)
Line 47: Line 47:
  }}
  }}
}} {{#if:{{{size|}}}
}} {{#if:{{{size|}}}
  | {{#ifeq: {{lc:{{{size}}}}} | medium | {{#ifexpr:{{#var:result count}} > 5 | 2 | 1 }} }}
  | {{#ifeq: {{lc:{{{size}}}}} | medium | {{#ifexpr:{{#var:result count}} > 5 | {{{columns|2}}} | 1 }} }}
  | {{#ifexpr:{{#var:result count}} > 10 | 2 | 1 }} }}
  | {{#ifexpr:{{#var:result count}} > 10 | {{{columns|2}}} | 1 }} }}
| limit = {{{limit|150}}}
| limit = {{{limit|150}}}
| named args=yes
| named args=yes
Line 187: Line 187:
; 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.
; columns: Minimum number of columns that will display on the list. Only works if format is set to ''ul''. Default 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''.
; 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''.
; 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''.
359

edits

Navigation menu