模板:Empty section/doc

来自决策链云智库

May be placed in a section that is completely empty, containing neither text nor sub-sections. Optional {{find sources}} links may be included.

Content tends to follow sectioning on Wikipedia, as editors naturally will tend to fill in sections over time. Therefore, using this template to set up good placeholder sections at the start of an article's lifespan can aide its development over time.

Usage

  • {{Empty section|date=2月 2024}}
  • {{Empty section|small=no|date=2月 2024}}
  • {{Empty section|small=no|find=search keywords|date=2月 2024}}

Parameters

  • |date= : month and year the section was last checked for references; e.g., |date=2月 2024
  • |small= : Any value (typically "y", "yes", etc.) will make the template smaller. The template should normally be full-width when it applies to an entire section.
  • |find= : search keywords for {{find sources}} param 1 (double-quoted search). This optional parameter adds a set of links produced by the {{find sources}} template to the output. If omitted, no "find sources" links are displayed.
  • |find2= : search keywords for {{find sources}} param 2 (unquoted search).

Date

The |date= parameter sorts the article into subcategories of Category:Articles to be expanded, allowing the oldest problems to be identified and dealt with first. You do not need to specify the date manually; a bot will add it later automatically.

Find parameters

There are two 'find' parameters available to control the presentation and operation of the {{find sources}} links optionally displayed by the template. By default, the template displays {{find sources}} with a quoted search query equivalent to the exact article title. Sometimes, especially if the article has a long, descriptive title, or if it includes parenthetical disambiguation terms, this may not give useful results. The find parameters can be used to provide the search keywords of your choice to the {{find sources}} links. Use:

  • |find= to specify keywords for an exact search (double-quoted query); this corresponds to {{find sources}} positional param |1=.
  • |find2= to specify keywords for an unquoted search; this corresponds to {{find sources}} param |2=.

Template Data

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Empty section in articles based on its TemplateData.

TemplateData for Empty section

Maintenance template to be placed in sections that are empty, containing neither text nor sub-sections. Before tagging an empty section, consider removing the section heading instead – for example, an empty "Gallery", "See also" or "External links" section can safely be deleted. Puts articles into [[Category:Articles with empty sections]] and [[Category:Articles to be expanded]].

模板参数

此模板首选参数不换行的行内格式。

参数描述类型状态
Month and yeardate

The month and year that the template was placed (in full). "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}" inserts the current month and year automatically.

示例值
January 2013
自动值
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
单行文本推荐
Section numbersection

The ordinal number of the section to be edited (goes after "&section=" in the "adding to it" link)

示例值
3
数字可选
Make template bigsmall

Enter anything other than "left" here to make the template box big and centred.

默认值
left
示例值
no
自动值
no
单行文本可选
"Find sources" verbatim search termfind

Verbatim search term for the links in the template for finding sources

单行文本可选
"Find sources" non-verbatim search termfind2

Non-verbatim search term for the links in the template for finding sources

单行文本可选
Commentcomment

Custom text to go after "This section is empty."

字符串可选

Tracking categories

Redirects

See also