Template:Expand/zh

From RobotX
Jump to navigation Jump to search


Template documentation[create]
Template documentation
Template documentation[create]
Template documentation[create]

This is the {{expand}} 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 "RobotX:" space. (This template currently only uses the "article message box" style, but that is a bug we are going to fix.)

usage

Template documentation[create]

{{expand|reason=}}

This template can be used without any parameters, like this:

{{expand}}
Template documentation[create]

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|date=November 2024}}

or

{{expand|{{subst:DATE}}}}
Template documentation[create]

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|1=examples and additional citations|date=November 2024}}
Template documentation[create]

When multiple expansion issues need to be raised, a bullet list can be made:

{{expand|1
Template documentation[create]
<nowiki />
* Career from 1952 to 1960
* Final days after 1972 retirement
|{{subst:DATE}}}}
Template documentation[create]

(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.

Categorization

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 November 2024 if the date parameter "date=November 2024" is specified. It also places the article in Category:All articles to be expanded .