Difference between revisions of "Template:Transient list"

Jump to navigation Jump to search
display ul format in columns
(display ul format in columns)
Line 1: Line 1:
<includeonly>{{#switch: {{{format|}}}
<includeonly>{{#css:
.companion-list-columns div {
    width: unset !important;
    min-width: 200px;
}
}}{{#switch: {{{format|}}}
| ul =  
| ul =  
{{#ask: [[Has game context::Companion]]
{{#ask: [[Has game context::Companion]]
Line 23: Line 28:
| format = ul
| format = ul
| template = Companion icon result format
| template = Companion icon result format
| intro = <div class="companion-list-columns">
| outro = </div>
| columns = {{#ifexpr:{{#ask:[[Has game context::Companion]]
  {{#if:{{{name|}}}|[[Has lowercase English name::~{{lc:{{{name}}}}}]]}}
  {{#if:{{{jp name|}}}|[[Has Japanese name::~{{{jp name}}}]]}}
  {{#if:{{{rarity|}}}|[[Has rarity::{{{rarity}}}]]}}
  {{#if:{{{element|}}}|[[Has element::~{{{element}}}]]}}
  {{#if:{{{weapon type|}}}|[[Has weapon type::~{{{weapon type}}}]]}}
  {{#if:{{{base skill|}}}|[[Has base skill::~*;{{#explode:{{{base skill}}}|,|0}};{{#explode:{{{base skill}}}|,|1}};~*;~*]]}}
  {{#if:{{{illustrator|}}}|[[Has illustrator::~*;~{{{illustrator}}};~*]]}}
  {{#if:{{{scenario writer|}}}|[[Has scenario writer::~*;~{{{scenario writer}}};~*]]}}
  {{#if:{{{voice actor|}}}|[[Has voice actor::~*;~{{{voice actor}}};~*]]}}
  {{#if:{{{availability|}}}|{{#ifeq:{{{availability}}}|+||[[Has availability::{{{availability|}}}]]}}|[[Has availability::!Unavailable]]}}|format=count}} > 10 | 2 | 1 }}
| limit = {{{limit|150}}}
| limit = {{{limit|150}}}
| named args=yes
| named args=yes
698

edits

Navigation menu