Usage
editThis 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
editCode | Result |
---|---|
{{heading|Level 1|1}}
Lorem ipsum...
|
Level 1Lorem ipsum... |
{{heading|Level 2|2}}
Lorem ipsum...
|
Level 2Lorem ipsum... |
{{heading|Level 3|3}}
Lorem ipsum...
|
Level 3Lorem ipsum... |
{{heading|Level 4|4}}
Lorem ipsum...
|
Level 4Lorem ipsum... |
{{heading|Level 5|5}}
Lorem ipsum...
|
Level 5Lorem ipsum... |
See also
edit- {{Fake heading}}