Template:Empty section/doc

From the AARoads Wiki: Read about the road before you go
Jump to navigation Jump to search

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}}
  • {{Empty section|small=no}}
  • {{Empty section|small=no|find=search keywords}}

Parameters

  • |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).

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

<templatedata> { "description": "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 and.", "format": "inline", "params": { "date": { "label": "Month and year", "description": "The month and year that the template was placed (in full). \"December 2023\" inserts the current month and year automatically.", "type": "line", "autovalue": "December 2023", "example": "January 2013", "suggested": true }, "section": { "label": "Section number", "description": "The ordinal number of the section to be edited (goes after \"&section=\" in the \"adding to it\" link)", "type": "number", "example": "3" }, "small": { "label": "Make template big", "description": "Enter anything other than \"left\" here to make the template box big and centred.", "type": "line", "autovalue": "no", "example": "no", "default": "left" }, "find": { "label": "\"Find sources\" verbatim search term", "description": "Verbatim search term for the links in the template for finding sources", "type": "line" }, "find2": { "label": "\"Find sources\" non-verbatim search term", "description": "Non-verbatim search term for the links in the template for finding sources", "type": "line" }, "comment": { "label": "Comment", "description": "Custom text to go after \"This section is empty.\"", "type": "string" } }, "paramOrder": [ "date", "section", "small", "find", "find2", "comment" ] } </templatedata>

Tracking categories

Redirects

See also