Template:Sidebar with collapsible headers/content: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(doc based on https://en.wikipedia.org/w/index.php?title=Template:Sidebar_with_collapsible_lists/row&oldid=641875988; cat: Navigation templates; Note: Had to remove noinlcude tags for documentation to show)
m (doc: dito)
 
(2 intermediate revisions by the same user not shown)
Line 15: Line 15:


== Usage ==
== Usage ==
  {{obr}}'''sidebar with collapsible headers/content'''{{!}}mandatory{{!}}''optional'' {{!}}mandatory= {{!}}''optional=''{{cbr}}
  {{obr}}'''sidebar with collapsible headers/content'''
{{!}} ''state=''
{{!}} ''headingstyle=''
{{!}} ''contentstyle=''
{{!}} ''headingclass=''
{{!}} ''contentclass=''
{{!}} ''heading=''
{{!}} ''content=''
{{cbr}}


; state
; state
Line 37: Line 45:
; content
; content
: Content of the section
: Content of the section
== Examples ==
Examples using different options.
== Known issues ==
Known issues and workarounds if such are known.
== Related templates ==
* {{tl|example}}


}}
}}

Latest revision as of 16:24, 13 June 2019

The following template description is not displayed when the template is inserted in an article.

Goal

This is a subtemplate to {{sidebar with collapsible headers}}.

Usage

{{sidebar with collapsible headers/content
| state=
| headingstyle=
| contentstyle=
| headingclass=
| contentclass=
| heading=
| content=
}}
state
If not empty the section will be expanded by default.
headingstyle
Alternative style to use for the section.
contentstyle
Alternative style to use for the contents
headingclass
Alternative style class to use for the section.
contentclass
Alternative style class to use for the contents
heading
Heading for the section
content
Content of the section