Template:PlayerBlocksLegacy
From SpinetiX Support Wiki
Template documentation
This template displays one or three image blocks with the legacy players.
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. Each block is styled with the "legacy" class, defined in Common.css.
- displayMode
- By default, three blocks are displayed; specify the display mode as "compact" to get one block with all the players.
- maxWidth
- Specify the maximum width each column can use; defaults to 29%.
- 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
- 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
for compact mode or236px
otherwise.
- The image width; default value is
The entire section is styled with the "row" class, defined in Common.css.
Examples
1. No parameters
{{PlayerBlocksLegacy}}
2. With descriptions and no titles
{{PlayerBlocksLegacy|[[HMP Control Center 3.x]]|[[HMP Control Center 3.x]]|[[HMP Control Center 3.x]]| notitle=true}}
3. Display mode "compact" with titles at the bottom
{{PlayerBlocksLegacy | reverse=true | displayMode=compact | width=320px }}
4. With tiles and longer descriptions
{{PlayerBlocksLegacy | Market Introduction: February 2011<br/>End-of-Warranty: January 2020 | Market Introduction: October 2011<br/>End-of-Warranty: January 2019 | Market Introduction: January 2007<br/>End-of-Warranty: July 2014 }}
Market Introduction: February 2011
End-of-Warranty: January 2020
End-of-Warranty: January 2020
Market Introduction: October 2011
End-of-Warranty: January 2019
End-of-Warranty: January 2019
Market Introduction: January 2007
End-of-Warranty: July 2014
End-of-Warranty: July 2014
See also
- {{PlayerBlocksIBX}}
- {{PlayerBlocksFukiran}}
- {{PlayerBlocksIkebana}}
- {{PlayerBlocksThirdParty}}
- {{ImageBlock}}
- {{TextBlock}}