Template:Expand section/doc
This template page is actively undergoing a major edit for a little while. To help avoid edit conflicts, please do not edit this page while this message is displayed. This page was last edited at 20:27, 8 January 2018 (UTC) (6 years ago) – this estimate is cached, . Please remove this template if this page hasn't been edited for a significant time. If you are the editor who added this template, please be sure to remove it or replace it with {{Under construction}} between editing sessions. |
This is a documentation subpage for Template:Expand section. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 38,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
Place this template at the beginning of article sections that need expansion, after that section's title. You can use this template in the Main/Article or Wikipedia namespaces.
As of August 2016[update], this template only uses the "article message box" (Ambox) style; this will be fixed in the future.
Recommended use is with a talk page link explaining what is needed and especially any justification for your judgement.
Note: {{sect-stub}} is a shortcut used for consistency with other cleanup templates.
{{Expand section | 1 = (or with= or for=) | section = (section number) | small = no (default is "yes") | talksection = (link with NO brackets, "[[]]"; displays only if small=no) | date = Month YYYY }}
or inline short form
{{Expand section | 1 = (or with= or for=) | section = (section number) | small = no (default is "yes") | talksection= | date= }}
Parameters
This template may be used without parameters, and a BOT will add the date when necessary.
- date=
- The current month and year can be used in the
|date=
parameter. This will add the page to a sub-category sorted by time (see the Categorisation section of this page for more information:
{{Expand section|date=December 2024}}
- or
{{Expand section|{{subst:DATE}}}}
- results in:
This section needs expansion. You can help by adding to it. (December 2024) |
- section=
- The
|section=
parameter is used to link to the edit screen of the article's section in which this template is placed. If this template is placed in the second section after the TOC, then use|section=2
:
{{Expand section|section=2|{{subst:DATE}}}}
- results in:
This section needs expansion. You can help by adding to it. (December 2024) |
- and links to the edit screen for the second section of the page after the TOC.
- 1=, with=, or for=
- An unnamed parameter,
|1=
(or one of the named parameters,|with=
or|for=
), may be used to explain what expansion is needed in the section:
{{Expand section|1=examples and additional citations|section=1|date=December 2024}}
- results in:
This section needs expansion with: examples and additional citations. You can help by adding to it. (December 2024) |
- When multiple expansion issues need to be raised, explain them in a new section on the article's discussion page, and use the next two parameters for reader convenience.
- small= and talksection=
- The default for the
|small=
parameter is "yes", which means that if this parameter is omitted, then the size of the tag will default to the sizes shown above. Use|small=no
to result in a larger section tag and to enable the|talksection=
parameter (|talk=
or|discuss=
may also be used):
{{Expand section|1=examples and additional citations|section=1|date=December 2024|small=no|talksection=Template talk:Expand section#When should this template be used?}}
- results in:
- This section needs expansion with: examples and additional citations. You can help by adding to it. (December 2024)
Categorisation
When {{Expand section}}
is used without a |date=
parameter in an article in the main article namespace, the article is sorted to Category:Articles to be expanded. A bot or an editor will then add the date parameter, and the article will be sorted to a category with a name that reflects the date given. For example, if the |date=December 2024
is used, the article will be added to Category:Articles to be expanded from December 2024.
No matter what parameters are used with this template, it also adds the article to Category:All articles to be expanded.
Choosing the right template
For an empty section
If the section is completely empty, you should use {{Empty section}}
instead.
The exception would be an empty section used for references, as explained in the following section.
For a section for references (aka footnotes [clarification needed]) and sources
When the section you think needs expansion is a section for citing sources, use either {{No footnotes}}
or {{More footnotes}}
instead of {{Empty section}}
or {{Expand section}}
.
Note: Unlike the other templates mentioned, these footnote/reference templates should go at the beginning of the page, rather than the beginning of the section.
In the Main/Article namespace, citing sources is an important part of the article, done using the tags, <ref></ref>, which in turn are collected and formatted into text in the section containing {{Reflist}}
or <references />. This section (or sub-section, as might be done if the sources are listed separately) is most often named References, but can have other names.
If the article has a section that contains either {{Reflist}}
or <references />, the section can still appear blank on the saved, rendered page if the article has no text within <ref></ref> tags. Such a section is still considered blank, even though the template or tag wikitext can be seen in Edit mode, so use {{No footnotes}}
.
TemplateData
TemplateData for Expand section
Can be placed at the beginning of article sections that need expansion, after the section title.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Reason | 1 with for | Reason the template was added, an explanation of what expansion the section needs. A bulleted list with lines beginning '*' can be given. | Content | optional |
Talk section | talksection discuss talk | A section heading in the talk page where the issue is discussed. Note: The talksection parameter only displays if the parameter small is set to 'no'. | String | optional |
Month and year | date | The month and year the template was added, e.g. 'July 2017'.
| String | suggested |
Small | small | By default the template will be displayed in a small size. This can be changed by setting small to no. Not recommended in articles.
| Boolean | optional |
See also
{{Clarify}}
and{{Elucidate}}
(both inline){{Expand list}}
{{Empty section}}
{{Incomplete}}
{{Missing information}}