Template:Empty section/doc: Difference between revisions
(use br tag) |
TheOnlyZac (talk | contribs) (Cleaned up imported doc) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} |
{{Documentation subpage}} |
||
⚫ | |||
{{AWB standard installation}} |
|||
⚫ | |||
May be placed in a section that is completely empty, containing neither text nor sub-sections |
May be placed in a section that is completely empty, containing neither text nor sub-sections. |
||
== Usage == |
== Usage == |
||
Line 18: | Line 17: | ||
* {{para|find2}} : search keywords for {{tl|find sources}} param 2 (unquoted search). |
* {{para|find2}} : search keywords for {{tl|find sources}} param 2 (unquoted search). |
||
===Date=== |
=== Date === |
||
The {{para|data}} parameter sorts the article into subcategories of [[:Category:Articles to be expanded]], allowing the oldest problems to be identified and dealt with first. You do not need to specify the date manually; a [[WP:Bots|bot]] will add it later automatically. |
The {{para|data}} parameter sorts the article into subcategories of [[:Category:Articles to be expanded]], allowing the oldest problems to be identified and dealt with first. You do not need to specify the date manually; a [[WP:Bots|bot]] will add it later automatically. |
||
===Find parameters === |
|||
There are two 'find' parameters available to control the presentation and operation of the {{tl|find sources}} links optionally displayed by the template. By default, the template displays {{tl|find sources}} with a quoted search query equivalent to the exact article title. Sometimes, especially if the article has a long, [[WP:NDESC|descriptive title]], or if it includes [[WP:PARENDIS|parenthetical disambiguation terms]], this may not give useful results. The find parameters can be used to provide the search keywords of your choice to the {{tl|find sources}} links. Use: |
|||
* {{para|find}} to specify keywords for an exact search (double-quoted query); this corresponds to {{tl|find sources}} positional param {{para|1}}. |
|||
* {{para|find2}} to specify keywords for an unquoted search; this corresponds to {{tl|find sources}} param {{para|2}}. |
|||
== Template Data == |
== Template Data == |
||
Line 38: | Line 31: | ||
"date": { |
"date": { |
||
"label": "Month and year", |
"label": "Month and year", |
||
"description": "The month and year that the template was placed (in full). \" |
"description": "The month and year that the template was placed (in full). \"July 2022\" inserts the current month and year automatically.", |
||
"type": "line", |
"type": "line", |
||
"autovalue": " |
"autovalue": "July 2022", |
||
"example": "January 2013", |
"example": "January 2013", |
||
"suggested": true |
"suggested": true |
||
Line 97: | Line 90: | ||
<includeonly>{{Sandbox other|| |
<includeonly>{{Sandbox other|| |
||
<!-- Categories go here |
<!-- Categories go here. --> |
||
[[Category:Cleanup templates|{{PAGENAME}}]] |
[[Category:Cleanup templates|{{PAGENAME}}]] |
||
[[Category:Wikipedia section templates]] |
|||
}}</includeonly> |
}}</includeonly> |
Latest revision as of 23:36, 25 July 2022
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. |
May be placed in a section that is completely empty, containing neither text nor sub-sections.
Usage
{{Empty section|date=May 2024}}
{{Empty section|small=no|date=May 2024}}
{{Empty section|small=no|find=search keywords|date=May 2024}}
Parameters
|date=
: month and year the section was last checked for references; e.g.,|date=May 2024
|small=
: Any value (typically "y", "yes", etc.) will make the template smaller. The template should normally be full-width when it applies to an entire section.|find=
: search keywords for {{find sources}} param 1 (double-quoted search). This optional parameter adds a set of links produced by the {{find sources}} template to the output. If omitted, no "find sources" links are displayed.|find2=
: search keywords for {{find sources}} param 2 (unquoted search).
Date
The |data=
parameter sorts the article into subcategories of Category:Articles to be expanded, allowing the oldest problems to be identified and dealt with first. You do not need to specify the date manually; a bot will add it later automatically.
Template Data
TemplateData for Empty section
Maintenance template 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]].
Parameter | Description | Type | Status | |
---|---|---|---|---|
Month and year | date | The month and year that the template was placed (in full). "July 2022" inserts the current month and year automatically.
| Line | suggested |
Section number | section | The ordinal number of the section to be edited (goes after "§ion=" in the "adding to it" link)
| Number | optional |
Make template big | small | Enter anything other than "left" here to make the template box big and centred.
| Line | optional |
"Find sources" verbatim search term | find | Verbatim search term for the links in the template for finding sources | Line | optional |
"Find sources" non-verbatim search term | find2 | Non-verbatim search term for the links in the template for finding sources | Line | optional |
Comment | comment | Custom text to go after "This section is empty." | String | optional |
Tracking categories
Redirects
- {{No content}}
See also
- {{Expand section}}