User:Umjahwa/sandbox: Difference between revisions

m
Added logic to aggressively hide empty / unused parameters (better for mobile?)
imported>Umjahwa
m (More experimental infobox tests)
imported>Umjahwa
m (Added logic to aggressively hide empty / unused parameters (better for mobile?))
Line 11:
| colspan=3 align=center style="border-bottom: 1px solid;" |[[Description::{{{description|}}}]]<noinclude>Description</noinclude>
|-
| style="width: 1210%" | [[Image:SymbolPlayers.png|30px25px]]
! style="width: 3840%" align=right | Players:
| style="width: 50%" | [[Min. Players::{{{min_players|}}}]] {{#if: {{{min_players|}} | {{#if: {{{max_players|}}} | - }}}} [[Max. Players::{{{max_players|}}}]]
|-
| [[Image:SymbolTime.png|30px25px]]
! align=right | Length:
| [[Game Length::{{{game_length|unknown}}}]]
|-
| [[Image:SymbolComplexity.png|30px25px]]
! align=right | Complexity:
| [[Rules Complexity::{{{complexity|unknown}}}]]
|- {{#if: {{{trios|}}} | | style="display: none;" }}
|-
! colspan=2 align=right width="50%" valign=top | Trios:
| [[Trios::{{{trios|}}}]]
|- {{#if: {{{stashes|}}} | | style="display: none;" }}
|-
! colspan=2 align=right valign=top | Icehouse stashes:
| [[Stashes::{{{stashes|}}}]]
|- {{#if: {{{sets|}}} | | style="display: none;" }}
|-
! colspan=2 align=right valign=top | Treehouse sets:
| [[Sets::{{{sets|}}}]]
Line 34:
! colspan=2 align=right valign=top | Other equipment:
| {{{other_equip|}}} {{#set:Other Equipment={{{other_equip|}}}+sep=,}}
|- {{#if: {{{setup_time|}}} | | style="display: none;" }}
|-
! colspan=2 align=right valign=top | Setup time:
| [[Setup Time::{{{setup_time|}}}]]
|- {{#if: {{{min_playing_time|}}}{{{max_playing_time|}}} | | style="display: none;" }}
|-
! colspan=2 align=right valign=top | Playing time:
| [[Min. Playing Time::{{{min_playing_time|}}}]] {{#if: {{{min_playing_time|}}} | {{#if: {{{max_playing_time|}}} | - }}}} [[Max. Playing Time::{{{max_playing_time|}}}]]
Line 46:
! colspan=2 align=right valign=top | Random chance:
| [[Random Chance::{{{random_chance|}}}]]
|- {{#if: {{{mechanic1|}}} | | style="display: none;" }}
|-
! colspan=2 align=right valign=top | Primary Mechanicmechanic:
| [[Primary Mechanic::{{{mechanic1|none}}}]]
|- {{#if: {{{mechanic2|}}} | | style="display: none;" }}
|-
! colspan=2 align=right valign=top | Additional Mechanicmechanic:
| [[Additional Mechanic::{{{mechanic2|none}}}]]
|- {{#if: {{{theme|}}} | | style="display: none;" }}
|-
! colspan=2 align=right valign=top | Theme:
| [[Primary Theme::{{{theme|}}}]]
Anonymous user