Template:Collapsed: Difference between revisions

From Mechabellum Wiki
(Created page with "{| class="{{{class|}}}mw-collapsible mw-collapsed" |+ |- |{{{2| {{{1|}}} }}} |} <noinclude> <templatedata> { "params": { "2": { "aliases": [ "1" ], "label": "Text", "description": "Text is placed in the first cell", "required": true }, "class": { "label": "Class", "description": "class for table, default no table", "example": "table table-dark" } }, "description": "Place text in a collapsed table", "paramOrder": [ "class", "2"...")
 
m (update parameter)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{| class="{{{class|}}}mw-collapsible mw-collapsed"
{| class="{{{class|}}} mw-collapsible mw-collapsed"
|+
|+
|-
|-
|{{{2| {{{1|}}} }}}
|{{{1|}}}
|}
|}
<noinclude>
<noinclude>
Line 8: Line 8:
{
{
"params": {
"params": {
"2": {
"1": {
"aliases": [
"1"
],
"label": "Text",
"label": "Text",
"description": "Text is placed in the first cell",
"description": "Text is placed in the first cell",
"type": "string",
"required": true
"required": true
},
},
Line 19: Line 17:
"label": "Class",
"label": "Class",
"description": "class for table, default no table",
"description": "class for table, default no table",
"example": "table table-dark"
"example": "table table-dark",
"type": "line"
}
}
},
},
Line 25: Line 24:
"paramOrder": [
"paramOrder": [
"class",
"class",
"2"
"1"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 11:56, 3 June 2023

Place text in a collapsed table

Template parameters

ParameterDescriptionTypeStatus
Classclass

class for table, default no table

Example
table table-dark
Lineoptional
Text1

Text is placed in the first cell

Stringrequired