Template:Hidden: Difference between revisions
Appearance
| [unchecked revision] | [unchecked revision] |
Content deleted Content added
Caleb Cooper (talk | contribs) No edit summary |
Caleb Cooper (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
{{hidden begin|toggle={{{showhide|}}}{{{toggle|}}}|expanded={{{expand|{{{expanded|}}}}}}|class={{{class|}}}|border={{{border|none}}}|style={{{style|{{{css|}}}}}} |
{{hidden begin|collapsetext={{{collapsetext|}}}|expandtext={{{expandtext|}}}|toggle={{{showhide|}}}{{{toggle|}}}|expanded={{{expand|{{{expanded|}}}}}}|class={{{class|}}}|border={{{border|none}}}|style={{{style|{{{css|}}}}}} |
||
|bg1={{{bg1|transparent}}}|ta1={{{ta1|center}}}|titlestyle={{#if:{{{multiline|{{{multi-line|}}}}}}|height:auto;}}{{#ifeq:{{{fw1|bold}}}|bold||font-weight:{{{fw1|bold}}};}}{{{headercss|{{{headerstyle|{{{titlestyle|}}}}}}}}} |
|bg1={{{bg1|transparent}}}|ta1={{{ta1|center}}}|titlestyle={{#if:{{{multiline|{{{multi-line|}}}}}}|height:auto;}}{{#ifeq:{{{fw1|bold}}}|bold||font-weight:{{{fw1|bold}}};}}{{{headercss|{{{headerstyle|{{{titlestyle|}}}}}}}}} |
||
|title={{#if:{{{multiline|{{{multi-line|}}}}}}|<div style="margin-right:4em;line-height:125%;height:auto;">{{{title|{{{header|{{{1}}}}}}}}}</div>|{{{title|{{{header|{{{1}}}}}}}}}}} |
|title={{#if:{{{multiline|{{{multi-line|}}}}}}|<div style="margin-right:4em;line-height:125%;height:auto;">{{{title|{{{header|{{{1}}}}}}}}}</div>|{{{title|{{{header|{{{1}}}}}}}}}}} |
||
Revision as of 14:11, 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 |