Template:Expand section/doc

From Infogalactic: the planetary knowledge core
Jump to: navigation, search


This is the Script error: No such module "Template link general". message box.

It can be placed at the beginning 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:

Script error: No such module "Template link general".

Lua error in package.lua at line 80: module 'strict' not found.

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 further.) Like this:

Script error: No such module "Template link general".

or

Script error: No such module "Template link general".

Lua error in package.lua at line 80: module 'strict' not found.

There are bots that edit the pages and add the date parameter if you forget to do it. The date parameter helps make the page categorise properly.

This template can also take a |1= (a.k.a. |with= or |for=) 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:

Script error: No such module "Template link general".

Lua error in package.lua at line 80: module 'strict' not found.

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

Script error: No such module "Template link general".

Lua error in package.lua at line 80: module 'strict' not found.

(The <nowiki /> is required or the first item may 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 April 2024 if the date parameter "date=April 2024" is specified. It also places the article in Category:All articles to be expanded.

Usage

  • If the section is completely empty, you should use Script error: No such module "Template link general". instead.
  • For the references section, use one of Script error: No such module "Template link general". and Script error: No such module "Template link general". instead.

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

TemplateData for Expand section/doc

Can be placed at the beginning of article sections that need expansion, after the section title.

Template parameters

Parameter Description Type Status
reason 1withfor

Reason the template was added, an explanation of what expansion the section needs. A bulleted list with lines beginning '*' can be given.

Default
empty
Example
empty
Auto value
empty
String optional
talksection talksectiondiscusstalk

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

Default
empty
Example
empty
Auto value
empty
String optional
date date

The month and year the template was added, e.g. 'August 2013'.

Default
empty
Example
empty
Auto value
empty
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.

Default
empty
Example
empty
Auto value
empty
String optional

See also

  • Script error: No such module "Template link general".
  • Script error: No such module "Template link general".
  • Script error: No such module "Template link general".