ទំព័រគំរូ:Sidebar subsection/doc

ពីវិគីភីឌា

Template to streamline the insertion of a subsection within a {{Sidebar}}(-based) section's content.

Parameters[កែប្រែ]

Parameter Description
style
Use to amend overall CSS styling.
subheading
or
heading
or first parameter
A subheading for the subsection.
Default appearance = Subheading, i.e. italics.
subheadingstyle
or
headingstyle
CSS styling to override / supplement the subheading's appearance.
subcontent
or
content
or only parameter
or second parameter
The subsection's content.
subcontentstyle
or
contentstyle
CSS styling to override / supplement the subsection's content's appearance.

Example[កែប្រែ]

{{Sidebar
|name = {{PAGENAME}}
|title = Example
|heading1 = heading1
|content1 =
Here's some content before the first subsection begins.
{{Sidebar subsection
 |style = padding-bottom:0.4em;<!--gap before content1 resumed-->
 |subheading = Subheading
 |content =
Here's the first subsection's content.
}}
Here's some content after the first subsection.
{{Sidebar subsection
 |Subheading
 |Here's the second subsection's content.
}}
Here's comes a subsection without subheading:
{{Sidebar subsection
 |Here's the third subsection's content
}}
}}<!--(end Sidebar)-->

Some templates that use Sidebar subsection/s[កែប្រែ]