Difference between revisions of "Template:Expand section/doc"
imported>Juan Mayordomo |
imported>Nnemo |
||
| Line 41: | Line 41: | ||
(The <code><nowiki /></code> is required or the first item will not display correctly.) If this list were longer than three items, it would probably be better raised on the talk page. | (The <code><nowiki /></code> is required or the first item will not display correctly.) If this list were longer than three items, it would probably be better raised on the talk page. | ||
| − | ==Categorisation== | + | == Categorisation == |
When this template is used in main (article) space it places the article in [[:Category:Articles to be expanded]] or in a dated category like [[:Category:Articles to be expanded from {{CURRENTMONTHNAME}} {{CURRENTYEAR}}]] if the date parameter "date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}" is specified. It also places the article in [[:Category:All articles to be expanded]]. | When this template is used in main (article) space it places the article in [[:Category:Articles to be expanded]] or in a dated category like [[:Category:Articles to be expanded from {{CURRENTMONTHNAME}} {{CURRENTYEAR}}]] if the date parameter "date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}" is specified. It also places the article in [[:Category:All articles to be expanded]]. | ||
| − | ==Usage== | + | == Usage == |
| − | *If the section is completely empty, use {{Tlx|Empty section}} instead. | + | * If the section is completely empty, you can use {{Tlx|Empty section}} instead. |
| − | *For the references section, use one of {{Tlx|No footnotes}} and {{Tlx|More footnotes}} instead. | + | * For the references section, use one of {{Tlx|No footnotes}} and {{Tlx|More footnotes}} instead. |
| − | ==See also== | + | == See also == |
* {{Tlx|Expand section}} | * {{Tlx|Expand section}} | ||
* {{Tlx|Expand further}} | * {{Tlx|Expand further}} | ||
| Line 55: | Line 55: | ||
<includeonly> | <includeonly> | ||
| + | |||
[[Category:Cleanup templates|{{PAGENAME}}]] | [[Category:Cleanup templates|{{PAGENAME}}]] | ||
[[Category:Exclude in print]] | [[Category:Exclude in print]] | ||
| Line 83: | Line 84: | ||
[[vi:Tiêu bản:Phần sơ khai]] | [[vi:Tiêu bản:Phần sơ khai]] | ||
[[zh:Template:Expand section]] | [[zh:Template:Expand section]] | ||
| + | |||
</includeonly> | </includeonly> | ||
Revision as of 19:09, 31 December 2012
| 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. |
This is the {{Expand section}} message box.
It can be placed at the top of article sections that need expansion, after the section title. It can also be used on other pages such as in "Wikipedia:" space. (This template currently only uses the "article message box" style, but that is a bug we are going to fix.)
This template can be used without any parameters, like this:
{{Expand section}}
This section needs expansion. You can help by adding to it. |
It can also take the current month and year as a parameter, which is used in categorising the page into a corresponding category. (See more on that hereafter.) Like this:
{{Expand section|date=December 2025}}
or
{{Expand section|{{subst:DATE}}}}
This section needs expansion. You can help by adding to it. (December 2025) |
There are bots that edit the pages and add the date parameter if you forget to do it. The date parameter causes no visible change in the message box itself, it only makes the page categorise properly.
This template can also take a |1= parameter with an explanation of what expansion the section needs. And you can of course feed the date parameter at the same time. Like this:
{{Expand section|1=examples and additional citations|date=December 2025}}
This section needs expansion with: examples and additional citations. You can help by adding to it. (December 2025) |
When multiple expansion issues need to be raised, a bullet list can be made:
{{Expand section|1=<nowiki />
* Career from 1952 to 1960
* Final days after 1972 retirement
|{{subst:DATE}}}}
This section needs expansion with:
|
(The <nowiki /> is required or the first item will not display correctly.) If this list were longer than three items, it would probably be better raised on the talk page.
Categorisation
When this template is used in main (article) space it places the article in Category:Articles to be expanded or in a dated category like Category:Articles to be expanded from December 2025 if the date parameter "date=December 2025" is specified. It also places the article in Category:All articles to be expanded.
Usage
- If the section is completely empty, you can use
{{Empty section}}instead. - For the references section, use one of
{{No footnotes}}and{{More footnotes}}instead.
See also
{{Expand section}}{{Expand further}}{{Expand list}}{{Empty section}}