Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:CollapsibleCode: Difference between revisions

Template page
No edit summary
No edit summary
Line 15: Line 15:
and they should show up correctly.}}
and they should show up correctly.}}


<templatedata>
{
"params": {
"collapsed": {},
"width": {},
"heading": {},
"code": {}
},
"format": "inline"
}
</templatedata>
</noinclude>
</noinclude>

Revision as of 17:05, 24 December 2024


A simple template to add a collapsible (and by default collapsed) bit of code to a wiki page


{{#far:chevron-down}}{{#far:chevron-up}} Something

This is some test code text.
It can have multiple lines
and they should show up correctly.


No description.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
collapsedcollapsed

no description

Unknownoptional
widthwidth

no description

Unknownoptional
headingheading

no description

Unknownoptional
codecode

no description

Unknownoptional
Cookies help us deliver our services. By using our services, you agree to our use of cookies.