Template:Empty section: Difference between revisions

From Body Communication
en>Jonesey95
(Fix too small font per MOS:FONTSIZE. (see talk page request))
(No difference)

Revision as of 01:08, 9 May 2021

Template documentation[view] [edit] [history] [purge]

Usage

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Empty section

To be placed in sections that are empty, containing neither text nor sub-sections. Before tagging an empty section, consider removing the section heading instead – for example, an empty "Gallery", "See also" or "External links" section can safely be deleted.

{{Empty section}} puts articles into Category:Articles with empty sections and Category:Articles to be expanded.

Common form


{{Empty section|date=November 2024|section= }}
⧼templatedata-doc-param-name⧽⧼templatedata-doc-param-desc⧽⧼templatedata-doc-param-type⧽⧼templatedata-doc-param-status⧽
Month and yeardate
The month and year that the template was placed (in full).
⧼templatedata-doc-param-example⧽
February 2020
⧼templatedata-doc-param-autovalue⧽
November 2024
⧼templatedata-doc-param-type-line⧽⧼templatedata-doc-param-status-suggested⧽
Section numbersection
The section number to be edited (or whatever the &section= parameter accepts).
⧼templatedata-doc-param-type-string⧽⧼templatedata-doc-param-status-optional⧽
Make smallsmall
Anything except left: Uses an in-line default-sized message box.
left (default): Uses smaller left-aligned message box designed for the head of sections. (See Template:Ambox/doc#The small parameters.)
⧼templatedata-doc-param-type-string⧽⧼templatedata-doc-param-status-optional⧽
Additional commentcomment
Any additional comments.
⧼templatedata-doc-param-type-string⧽⧼templatedata-doc-param-status-optional⧽

Format: inline

Test of raw TemplateData output:
<templatedata>{"format":"inline","description":"To be placed in sections that are empty, containing neither text nor sub-sections. Before tagging an empty section, consider removing the section heading instead – for example, an empty \"Gallery\", \"See also\" or \"External links\" section can safely be deleted., , puts articles into Category:Articles with empty sections and Category:Articles to be expanded.","paramOrder":["date","section","small","comment"],

"params":{ "date":{"suggested":true,"type":"line","description":"The month and year that the template was placed (in full).","label":"Month and year","example":"February 2020","autovalue":"November 2024"},

"section":{"type":"string","description":"The section number to be edited (or whatever the  parameter accepts).","label":"Section number"},

"small":{"type":"string","description":"Anything except : Uses an in-line default-sized message box., ' (default): Uses smaller left-aligned message box designed for the head of sections. (See Template:Ambox/doc#The small parameters.)","label":"Make small"},

"comment":{"type":"string","description":"Any additional comments.","label":"Additional comment"} }

}</templatedata>

Tracking categories

Redirects

See also