Difference between revisions of "Template:Empty section/doc"
Jump to navigation
Jump to search
en>John of Reading (Reverted 1 edit by IsaiahWilliams1996 (talk): Misplaced edit: this page describes how to use the "Empty section" notice. (TW)) |
(→Usage: Fixed json formatting.) |
||
(One intermediate revision by the same user not shown) | |||
Line 10: | Line 10: | ||
"small": { | "small": { | ||
"label": "Make small", | "label": "Make small", | ||
− | "description": "'''Anything | + | "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. | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"section": { | "section": { | ||
"label": "Section number", | "label": "Section number", | ||
− | "description": "The section number to be | + | "description": "The section number to be edited (or whatever the <code>§ion=</code> parameter accepts).", |
"type": "string" | "type": "string" | ||
}, | }, | ||
Line 23: | Line 22: | ||
"description": "If a date parameter is provided, in the form {{CURRENTMONTHNAME}} {{CURRENTYEAR}}, then the page is put into a by-month subcategory instead. If the date is left out, a [[Wikipedia:Bot|bot]] will add it later.", | "description": "If a date parameter is provided, in the form {{CURRENTMONTHNAME}} {{CURRENTYEAR}}, then the page is put into a by-month subcategory instead. If the date is left out, a [[Wikipedia:Bot|bot]] will add it later.", | ||
"autovalue": "{{CURRENTMONTHNAME}} {{CURRENTYEAR}}", | "autovalue": "{{CURRENTMONTHNAME}} {{CURRENTYEAR}}", | ||
− | + | "type": "string" | |
} | } | ||
}, | }, | ||
− | "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> <h3 > Common form < /h3> <code > & #123;&# 123;Empty section & #124;date{{=}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} & #124;section{{=}} & #125;&# 125; < /code></noexport > ", |
− | <h3>Common form</h3> | ||
− | <code>{{Empty section|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}|section{{=}} }}</code></noexport>", | ||
"format": "inline" | "format": "inline" | ||
} | } |
Latest revision as of 15:50, 29 December 2018
This is a documentation subpage for Template:Empty section. It contains usage information, categories and other content that is not part of the original template page. |
This template is used by the standard installation of AutoWikiBrowser (AWB). If you are planning to make changes to this template, how it should be used, or nominate it for deletion, please notify AWB's user base and maintainers beforehand at Wikipedia talk:AWB as a courtesy. |
Contents
Usage
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error 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.
Common form < /h3>
{{Empty section}}
puts articles into Category:Articles with empty sections and Category:Articles to be expanded. Common form < /h3> & #123;&# 123;Empty section & #124;date= November 2024 & #124;section= & #125;&# 125; < /code></noexport >
Parameter | Description | Type | Status | |
---|---|---|---|---|
Make small | small | 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. (SeeTemplate: Ambox / doc# The small parameters.) | String | optional |
Section number | section | The section number to be edited (or whatever the §ion= parameter accepts). | String | optional |
Date tagged | date | If a date parameter is provided, in the form November 2024, then the page is put into a by-month subcategory instead. If the date is left out, a bot will add it later.
| String | optional |
Format: inline
missing </noexport>
Tracking categories
Redirects
- {{No content}}
See also
- {{Expand section}}