Jump to content

Template:Hidden: Difference between revisions

From pool
[unchecked revision][unchecked revision]
Content deleted Content added
No edit summary
No edit summary
Line 28: Line 28:
"bg1": {},
"bg1": {},
"ta1": {},
"ta1": {},
"style": {
"aliases": [
"css"
],
"description": "CSS styling for template overall."
},
"headerstyle": {
"headerstyle": {
"label": "Header CSS",
"label": "Header CSS",
"description": "CSS styling for title (header)",
"description": "CSS styling for title (header)",
"aliases": [
"aliases": [
"headercss"
"headercss",
"titlestyle",
"titlecss"
]
]
},
},
Line 38: Line 46:
"label": "Header",
"label": "Header",
"description": "text for header (title); alternative to using unnamed parameter {{{1}}}"
"description": "text for header (title); alternative to using unnamed parameter {{{1}}}"
},
"contentstyle": {
"aliases": [
"contentcss"
],
"label": "Content CSS",
"description": "CSS styling for the hidden content",
"type": "string"
},
},
"content": {
"content": {
Line 57: Line 73:
"class": {},
"class": {},
"border": {},
"border": {},
"multiline": {},
"multiline": {
"multi-line": {},
"titlestyle": {},
"contentstyle": {
"aliases": [
"aliases": [
"contentcss"
"multi-line"
],
],
"description": "any nonblank value will reduce the line-height of the title and add some padding to avoid overlap with the show/hide button.",
"label": "Content CSS",
"example": "multline=y"
"description": "CSS styling for the hidden content",
"type": "string"
},
"contents": {
"description": "text for body (content); alternative to using unnamed parameter {{{2}}}"
},
"text": {
"description": "text for body (content); alternative to using unnamed parameter {{{2}}}"
},
"style": {
"aliases": [
"css"
],
"description": "CSS styling for template overall."
}
}

}
}
}
}

Revision as of 13:51, 2 July 2020

{{{1}}}
{{{2}}}

Content that should not be hidden.

This hides

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Title1 title header

text for header (title)

Stringrequired
Body2

text for body (content)

Stringrequired
fw1fw1

no description

Unknownoptional
bg1bg1

no description

Unknownoptional
ta1ta1

no description

Unknownoptional
stylestyle css

CSS styling for template overall.

Unknownoptional
Header CSSheaderstyle headercss titlestyle titlecss

CSS styling for title (header)

Unknownoptional
Headerheader

text for header (title); alternative to using unnamed parameter {{{1}}}

Unknownoptional
Content CSScontentstyle contentcss

CSS styling for the hidden content

Stringoptional
Contentcontent

text for body (content); alternative to using unnamed parameter {{{2}}}

Unknownoptional
fw2fw2

no description

Unknownoptional
bg2bg2

no description

Unknownoptional
ta2ta2

no description

Unknownoptional
showhideshowhide

no description

Unknownoptional
toggletoggle

no description

Unknownoptional
expandedexpanded expand

any nonblank value will cause the template to be initially expanded by default.

Example
expanded=on
Unknownoptional
classclass

no description

Unknownoptional
borderborder

no description

Unknownoptional
multilinemultiline 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.

Example
multline=y
Unknownoptional