Template:Hidden: Difference between revisions
| [unchecked revision] | [unchecked revision] |
Caleb Cooper (talk | contribs) No edit summary |
Caleb Cooper (talk | contribs) No edit summary |
||
| Line 89: | Line 89: | ||
"description": "any nonblank value will reduce the line-height of the title and add some padding to avoid overlap with the show/hide button.", |
"description": "any nonblank value will reduce the line-height of the title and add some padding to avoid overlap with the show/hide button.", |
||
"example": "multline=y" |
"example": "multline=y" |
||
}, |
|||
"collapsetext": { |
|||
"description": "Text to replace \"Collapse\" toggle", |
|||
"example": "collapsetext=\"Hide\"" |
|||
}, |
|||
"expandtext": { |
|||
"description": "Text to replace \"Expand\" toggle", |
|||
"example": "expandtext=\"+\"", |
|||
"type": "string" |
|||
} |
} |
||
} |
} |
||
Revision as of 14:38, 2 July 2020
Content that should not be hidden.
This hides
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | 1 title header | text for header (title) | String | required |
| Body | 2 | text for body (content) | String | required |
| fw1 | fw1 | no description | Unknown | optional |
| bg1 | bg1 | no description | Unknown | optional |
| ta1 | ta1 | no description | Unknown | optional |
| style | style css | CSS styling for template overall. | Unknown | optional |
| Header CSS | headerstyle headercss titlestyle titlecss | CSS styling for title (header) | Unknown | optional |
| Header | header | text for header (title); alternative to using unnamed parameter {{{1}}} | Unknown | optional |
| Content CSS | contentstyle contentcss | CSS styling for the hidden content | String | optional |
| Content | content contents text | text for body (content); alternative to using unnamed parameter {{{2}}} | Unknown | optional |
| fw2 | fw2 | no description | Unknown | optional |
| bg2 | bg2 | no description | Unknown | optional |
| ta2 | ta2 | no description | Unknown | optional |
| toggle | toggle showhide | Set toggle to left to show "Expand" on left side of page
| String | optional |
| expanded | expanded expand | any nonblank value will cause the template to be initially expanded by default.
| Unknown | optional |
| class | class | no description | Unknown | optional |
| border | border | no description | Unknown | optional |
| multiline | multiline multi-line | any nonblank value will reduce the line-height of the title and add some padding to avoid overlap with the show/hide button.
| Unknown | optional |
| collapsetext | collapsetext | Text to replace "Collapse" toggle
| Unknown | optional |
| expandtext | expandtext | Text to replace "Expand" toggle
| String | optional |