Template:Heading
Usage
This template is used to produce a heading when wikitext (e.g. ==Heading== ) won't work. Headings will be added to the table of contents like normal headings.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Heading content | 1 | The name of the (sub)section this heading represents | String | required |
Heading size | 2 | A whole number between 1 and 5, with 1 being the largest (forbidden by MOS) and 5 being the smallest
| Number | optional |
Styling | 3 style | Additional CSS styling for the header element
| String | optional |
Examples
Code | Result |
---|---|
<syntaxhighlight lang="wikitext" style="margin-right:20px;">Level 1Lorem ipsum...</syntaxhighlight> |
Level 1Lorem ipsum... |
<syntaxhighlight lang="wikitext" style="margin-right:20px;">Level 2Lorem ipsum...</syntaxhighlight> |
Level 2Lorem ipsum... |
<syntaxhighlight lang="wikitext" style="margin-right:20px;">Level 3Lorem ipsum...</syntaxhighlight> |
Level 3Lorem ipsum... |
<syntaxhighlight lang="wikitext" style="margin-right:20px;">Level 4Lorem ipsum...</syntaxhighlight> |
Level 4Lorem ipsum... |
<syntaxhighlight lang="wikitext" style="margin-right:20px;">Level 5Lorem ipsum...</syntaxhighlight> |
Level 5Lorem ipsum... |
See also
- {{Fake heading}}