Template:PlayerBlocks
From SpinetiX Support Wiki
Template documentation
This template displays three image blocks for the different player families.
It accepts the following parameters:
- 1,2,3
- The description for each block is provided through anonymous / numeric parameters.
- class
- Additional CSS class.
- cssOuterStyle
- Additional outer block styling provided as CSS code.
- cssStyle
- Inner image block styling provided as CSS code. Defaults to
max-width:30%;
- Inner image block styling provided as CSS code. Defaults to
- notitle
- Specify a non-empty value to hide the title, for instance
notitle=true
.
- Specify a non-empty value to hide the title, for instance
- noDiVA
- Specify a non-empty value to hide the DiVA block, for instance
noDiVA=true
.
- Specify a non-empty value to hide the DiVA block, for instance
- reverse
- Specify a non-empty value to reverse the order of title, image, description within the inner blocks, for instance
reverse=true
.
- Specify a non-empty value to reverse the order of title, image, description within the inner blocks, for instance
- width
- The image width; default value is
320px
.
- The image width; default value is
The entire section is styled with the "row" class, defined in Common.css.
Examples
1. No parameters
{{PlayerBlocks}}
2. With descriptions and no titles
{{PlayerBlocks|[[HMP Control Center]]|[[HMP Control Center]]<br/>[[DiVA Control Center]]|[[HMP Control Center 3.x]]| notitle=true}}
3. With titles at the bottom
{{PlayerBlocks|reverse=true}}
4. With tiles and longer descriptions
{{PlayerBlocks|See "[[DSOS release notes]]" page.|See "[[DSOS release notes]]" and "[[Firmware release notes 4.x]]" pages.|See "[[Firmware release notes 3.x]]" page.}}
See "DSOS release notes" page.
See "DSOS release notes" and "Firmware release notes 4.x" pages.
See "Firmware release notes 3.x" page.
5. Without DiVA player
{{PlayerBlocks|noDiVA=true}}
See also
- {{ImageBlock}}
- {{PlayerBlocksCC}}
- {{PlayerBlocksLegacy}}
- {{PlayerBlocksThirdParty}}
- {{TextBlock}}