Template:Empty section: Difference between revisions

From NARA
Jump to navigation Jump to search
NARA>Primefac
 
m (1 revision imported)
 
(No difference)

Latest revision as of 19:01, 21 April 2023

Template documentation

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

Usage

{{Empty section|date=November 2024}}
{{Empty section|small=no|date=November 2024}}
{{Empty section|small=no|find=search keywords|date=November 2024}}

Parameters

  • |date= : month and year the section was last checked for references; e.g., |date=November 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 |data= 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 documentation for this template used by VisualEditor and other tools.

Empty section

[[Category:Templates using TemplateData{{#translation:}}]]

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

Template parameters

This template prefers inline formatting of parameters.

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

Example
January 2013
Auto value
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Linesuggested
Section numbersection

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

Example
3
Numberoptional
Make template bigsmall

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

Default
left
Example
no
Auto value
no
Lineoptional
"Find sources" verbatim search termfind

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

Lineoptional
"Find sources" non-verbatim search termfind2

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

Lineoptional
Commentcomment

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

Stringoptional

Tracking categories

Redirects

See also