Template:PlayerBlocksIkebana

From SpinetiX Support Wiki

Jump to: navigation, search

Template documentation

This template displays up to three image blocks with the third generation of SpinetiX players (code name: "Ikebana").

It accepts the following parameters:

  • 1,2,3
    The description for each block is provided through anonymous / numeric parameters.
  • class
    Additional CSS class. The entire section is styled with the "playerBlocks" class, defined in Common.css.
  • cssOuterStyle
    Additional outer block styling provided as CSS code.
  • cssStyle
    Inner image block styling provided as CSS code.
  • displayMode
    By default, three blocks are displayed; specify the display mode as "compact" to get one block with all the players or "nest" to get two blocks (HMP350/HMP300 and DiVA).
  • maxWidth
    Specify the maximum width each column can use; defaults to 29%.
  • noDiVA
    Specify a non-empty value to hide the DiVA block, for instance noDiVA=true.
  • noTitle
    Specify a non-empty value to hide the title, for instance noTitle=true.
  • reverse
    Specify a non-empty value to reverse the order of title and image within the inner blocks, for instance reverse=true.
  • width
    The image width; default value is 320px for compact mode or 236px otherwise.

Examples

1. No parameters

{{PlayerBlocksIkebana}}


2. Display mode "nest" with descriptions

{{PlayerBlocksIkebana | displayMode=nest 
| 1=These players are black.
| 2=This player is blue.
}}
HMP350 and HMP300
These players are black.
DiVA
This player is blue.


3. Display mode "compact" with titles at the bottom

{{PlayerBlocksIkebana | displayMode=compact  | reverse=true }}


4. Without the DiVA player

{{PlayerBlocksIkebana | noDiVA=true}}
{{PlayerBlocksIkebana | displayMode=nest | noDiVA=true}}


See also

This page was last modified on 24 July 2024, at 17:50.