Difference between revisions of "Template:Empty section/doc"

From blackwiki
Jump to navigation Jump to search
imported>John of Reading
(Reverted 1 edit by 86.47.44.51 (talk): Misplaced - did you mean to add this to an article? (TW))
imported>GeneralNotability
m (Fix JSON errors)
Line 10: Line 10:
 
"small": {
 
"small": {
 
"label": "Make small",
 
"label": "Make small",
"description": "'''Anything except <code>left</code>''': Uses an in-line default-sized message box.<br/>
+
"description": "'''Anything except <code>left</code>''': Uses an in-line default-sized message box.<br/>'''<code>left</code>''' (default): Uses smaller left-aligned message box designed for the head of sections. (See [[Template:Ambox/doc#The small parameters]].)",
'''<code>left</code>''' (default): Uses smaller left-aligned message box designed for the head of sections. (See [[Template:Ambox/doc#The small parameters]].)",
 
 
"type": "string"
 
"type": "string"
 
},
 
},
Line 26: Line 25:
 
}
 
}
 
},
 
},
"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\" or \"External links\" section can safely be deleted.<br> {{tnull|Empty section}} puts articles into Category:Articles with empty sections and Category:Articles to be expanded.<noexport>
+
"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\" or \"External links\" section can safely be deleted.<br> {{tnull|Empty section}} puts articles into Category:Articles with empty sections and Category:Articles to be expanded.<noexport><br><h3>Common form</h3><br><code>&#123;&#123;Empty section&#124;date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}&#124;section{{=}} &#125;&#125;</code></noexport>",
<h3>Common form</h3>
 
<code>&#123;&#123;Empty section&#124;date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}&#124;section{{=}} &#125;&#125;</code></noexport>",
 
 
"format": "inline"
 
"format": "inline"
 
}
 
}

Revision as of 23:32, 24 July 2019

Usage

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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" 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=June 2026|section= }}
ParameterDescriptionTypeStatus
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.)
Stringoptional
Section numbersection
The section number to be edited (or whatever the &section= parameter accepts).
Stringoptional
Date taggeddate
If a date parameter is provided, in the form June 2026, then the page is put into a by-month subcategory instead. If the date is left out, a bot will add it later.
Auto value
June 2026
Stringoptional

Format: inline

Tracking categories

Redirects

See also