Difference between revisions of "Template:Collapsible"
Jump to navigation
Jump to search
(Stop the template data from getting in the template...) |
|||
| Line 7: | Line 7: | ||
<noinclude><templatedata> | <noinclude><templatedata> | ||
{ | { | ||
| − | "description": " | + | "description": "Template for adding 'spoiler' like content windows.", |
"params": { | "params": { | ||
"collapsed": { | "collapsed": { | ||
| − | "label": " | + | "label": "Collapsed", |
| − | "description": " | + | "description": "If this should be collapsed by default on load.", |
| − | " | + | "type": "string" |
| − | " | + | }, |
| − | " | + | "title": { |
| + | "label": "Title", | ||
| + | "description": "Bold, always shown on top of the template text.", | ||
| + | "type": "line" | ||
} | } | ||
} | } | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> | ||
Revision as of 03:32, 28 January 2020
Template for adding 'spoiler' like content windows.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Collapsed | collapsed | If this should be collapsed by default on load. | String | optional |
| Title | title | Bold, always shown on top of the template text. | Line | optional |