Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a239512d1aaf4f87

Jump to content

Template:Heading/doc

From Wikipedia, the free encyclopedia

Examples

[edit]
Code Result
{{heading|Level 1|1}}
Lorem ipsum...

Level 1

Lorem ipsum...

{{heading|Level 2|2}}
Lorem ipsum...

Level 2

Lorem ipsum...

{{heading|Level 3|3}}
Lorem ipsum...

Level 3

Lorem ipsum...

{{heading|Level 4|4}}
Lorem ipsum...
Level 4

Lorem ipsum...

{{heading|Level 5|5}}
Lorem ipsum...
Level 5

Lorem ipsum...

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Heading in articles based on its TemplateData.

TemplateData for Heading

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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Heading content1

The name of the (sub)section this heading represents

Stringrequired
Heading size2

A whole number between 1 and 5, with 1 being the largest (forbidden by MOS) and 5 being the smallest

Suggested values
1 2 3 4 5
Default
2
Numberoptional
Styling3 style

Additional CSS styling for the header element

Example
padding-left: 0.5em; font-size: 120%; font-family: Times New Roman;
Stringoptional

See also

[edit]