Editing
Template:Collapse top/TemplateData
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==TemplateData== {{TemplateData header}} <templatedata> { "params": { "1": { "aliases": [ "title", "heading", "header", "reason", "result" ], "label": "Title", "description": "Main title of collapsed box", "example": "This is the title text", "required": true }, "2": { "label": "Custom warning line", "description": "Will override the standard warning line, and make the 'warning' parameter unnecessary", "example": "This is a custom warning line", "type": "string" }, "indent": { "description": "Indents the box from the left of the page", "type": "unknown", "autovalue": "0px" }, "expand": { "aliases": [ "collapse" ], "description": "Using expand=yes or collapse=no will leave the material uncollapsed with the border and coloring", "example": "true", "type": "string", "autovalue": "" }, "border": { "label": "Border width (px)", "description": "Sets the width of the border line on the collapsed material", "example": "2px", "default": "1px", "autovalue": "" }, "b-color": { "label": "Border color", "description": "Sets the border color", "example": "#F0F2F5", "default": "Silver" }, "width": { "label": "Template width (px or %)", "description": "Sets the width of the overall template", "example": "50%" }, "bg": { "label": "Collapsed material background color", "description": "Sets the background color of the collapsed material", "example": "#F0F2F5", "default": "#CFC" }, "left": { "label": "Alight along the left margin (true or blank)", "description": "Will align the 'parameter 1 title' along the left margin", "example": "true", "type": "string" }, "fc": { "label": "Title font color", "description": "Sets the font color of the title of the collapsible bar", "example": "#F0F2F5", "default": "Black" }, "warning": { "label": "Warning (true or blank)", "description": "Will display a default warning line under the main title which reads \"The following is a closed debate. Please do not modify it.\"", "example": "true" }, "border2": { "label": "Expanded box border size & color", "description": "Sets the border of the box that appears when template is expanded", "example": "2px", "default": "1px silver" }, "padding": { "label": "Padding (px)", "description": "Sets the padding on the collapsed material in the colored area", "example": "16px", "default": "8px" }, "bg2": { "label": "Expanded box color", "description": "Sets background of the box that appears when template is expanded", "example": "#F0F2F5", "default": "white" } }, "description": "Use in conjunction with {{Collapse bottom}}. Will collapse text in between the two templates." } </templatedata>
Summary:
Please note that all contributions to wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Collapse bottom
(
edit
)
Template:TemplateData header
(
edit
)
Template:Template error report
(
edit
)
Template:Yesno
(
edit
)
Template:Yesno-no
(
edit
)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Template
Discussion
British English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information