ទំព័រគំរូ: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


Prefix: a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9

Portal di Ensiklopedia Dunia

Kembali kehalaman sebelumnya