Template:Collapse: Difference between revisions
From Space Station 14 Wiki
(cat) |
(template styles template used instead of direct cat link; moved from markup template to spoiler templates cat) |
||
Line 10: | Line 10: | ||
expand-collapse-button-float-{{{button float|none}}}" | expand-collapse-button-float-{{{button float|none}}}" | ||
style="{{{style|}}}">{{{1}}}</div></includeonly><noinclude> | style="{{{style|}}}">{{{1}}}</div></includeonly><noinclude> | ||
{{documentation}} | {{documentation|bb= | ||
{{uses template styles}} | |||
}} | |||
[[Category: | [[Category:Spoiler templates]] | ||
<templatedata> | <templatedata> | ||
{ | { |
Latest revision as of 11:31, 15 August 2024
Uses template styles
This template uses template styles found in:
- As a separate string of text
{{Collapse|text inside!!}}
:
- Inside a string of text
Lorem ipsum {{Collapse|text inside!!}} dolor sit amet
:
A template for creating collapsible blocks.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Content | 1 | Content inside the box. | String | required |
Is collapsed by default? | collapsed | no description
| Boolean | suggested |
Any custom styling | style | no description
| String | suggested |
Button float | button float | Placement for the "Expand/Collapse" button using float.
| String | suggested |