Difference between revisions of "Template:Expand section/doc"
imported>Geekdiva (Misc copy and readability edits. Added and renamed headers. Expanded one section.) |
imported>Geekdiva m (→Choosing the right template: Typo fix.) |
||
| Line 61: | Line 61: | ||
The exception would be an empty section used for references, as explained in the following section. | The exception would be an empty section used for references, as explained in the following section. | ||
| − | === For | + | === For a section for references (aka footnotes) and sources === |
When the section you think needs expansion is a section for citing sources, use either {{Tlx|No footnotes}} or {{Tlx|More footnotes}} instead of {{Tlx|Empty section}} or {{Tlx|Expand section}}. | When the section you think needs expansion is a section for citing sources, use either {{Tlx|No footnotes}} or {{Tlx|More footnotes}} instead of {{Tlx|Empty section}} or {{Tlx|Expand section}}. | ||
| Line 68: | Line 68: | ||
In the Main/Article namespace, [[WP:Citing sources|citing sources]] is an important part of the article, done using the tags, <nowiki><ref></ref></nowiki>, which in turn are collected and formatted into text in the section containing {{Tlx|Reflist}} or <nowiki><references /></nowiki>. 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. | In the Main/Article namespace, [[WP:Citing sources|citing sources]] is an important part of the article, done using the tags, <nowiki><ref></ref></nowiki>, which in turn are collected and formatted into text in the section containing {{Tlx|Reflist}} or <nowiki><references /></nowiki>. 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 {{Tlx|Reflist}} or <nowiki><references /></nowiki>, ''the section can still appear blank'' on the saved, rendered page if the article has no text within <nowiki><ref></ref></nowiki> tags. Such a section is still considered blank, even though the template or tag wikitext can be seen in Edit mode, so use {{Tlx|No footnotes}}. | + | If the article has a section that contains either {{Tlx|Reflist}} or <nowiki><references /></nowiki>, ''the section can still appear blank'' on the saved, rendered page if the article has no text within <nowiki><ref></ref></nowiki> tags. Such a section is still considered blank, even though the template or tag wikitext can be seen in Edit mode, so use {{Tlx|No footnotes}}. |
==TemplateData== | ==TemplateData== | ||
Revision as of 21:20, 1 August 2016
| 40px | This is a documentation subpage for Template:Expand section. It contains usage information, categories and other content that is not part of the original template page. |
| 40px | This template is used on 35,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.
Transclusion count updated automatically (see documentation). |
This is the {{Expand section}} message box template.
Contents
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 namespace, and also on other pages such as those in the Wikipedia namespace (which uses the Wikipedia: prefix; for example, Wikipedia:Glossary is in the Wikipedia namespace).
As of August 2016[update], this template only uses the "article message box" style, but this will be fixed in the future.
You can use this template without any parameters:
{{Expand section}}
| 20px | This section needs expansion. You can help by adding to it. |
You can also use the current month and year as a parameter, which adds the page to a template-related category's sub-category sorted by time:
{{Expand section|date=March 2026}}
or
{{Expand section|{{subst:DATE}}}}
| 20px | This section needs expansion. You can help by adding to it. (March 2026) |
See § Categorisation for more information.
There are bots that edit the pages and add the date= parameter if you forget to do it.
You can add a |1= (a.k.a. |with= or |for=) parameter with an explanation of what expansion the section needs, and you can of course use the date parameter at the same time:
{{Expand section|1=examples and additional citations|date=March 2026}}
| 20px | This section needs expansion with: examples and additional citations. You can help by adding to it. (March 2026) |
When you need to raise multiple yet simply explanable expansion issues, you can make a bullet list within the template:
{{Expand section|1=<nowiki />
* Career from 1952 to 1960
* Final days after 1972 retirement
|{{subst:DATE}}}}
| 20px | This section needs expansion with:
|
(The <nowiki /> is required or the first item may not display correctly.)
However, if you want to raise more than a few simple points, your issues would better be raised in a new section of the talk page.
Categorisation
When this template is used in the Main/Article namespace, it places the article in Category:Articles to be expanded or in a dated category like Category:Articles to be expanded from March 2026 if the date parameter "date=March 2026" is specified.
It also places the article in 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) 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 top of the page, rather than the top 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. | String | optional |
| talksection | 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 |
| date | date | The month and year the template was added, e.g. 'August 2013'. | String | optional |
| 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. | String | optional |
See also
{{Clarify}}{{Expand list}}{{Empty section}}