Template:About other people

From blackwiki
Revision as of 15:37, 16 October 2020 by Blackwikiadmin (talk | contribs) (12 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

This template acts like {{Other people}}, but includes an extra parameter that describes the subject of the article.

Usage

The first parameter is mandatory; omitting it produces an error message, and a maintenance category that can be suppressed by supplying a category parameter with a falsy value. For example:

  • {{About other people|category=false}}Lua error in package.lua at line 80: module 'Module:About' not found.

The second parameter defines the ambiguous name, changing the "other people" text to include it and improving the default disambiguation page:

  • {{About other people|an example person}}Lua error in package.lua at line 80: module 'Module:About' not found.
  • {{About other people|an example person|Jane Doe}}Lua error in package.lua at line 80: module 'Module:About' not found.

As with {{Other people}}, the message produced when the second parameter is defined can be customized using the named parameter. For example, named=titled can be useful:

  • {{About other people|some "Lord Byron" or other|Lord Byron|Baron Byron|named=titled}}Lua error in package.lua at line 80: module 'Module:About' not found.

The third and any further parameters define custom targets for the hatnote:

  • {{About other people|ABOUT|NAME|PAGE1}}Lua error in package.lua at line 80: module 'Module:About' not found.
  • {{About other people|ABOUT||PAGE1|PAGE2|PAGE3}Lua error in package.lua at line 80: module 'Module:About' not found.
TemplateData

Produces a disambiguation message to aid readers distinguish between articles on people with the same or similar name, prefixed with a message clarifying the subject of the article.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Page subject1

A descriptor for the page subject

Stringrequired
Name2

Sets the name to be disambiguated

Stringsuggested
Target page 13

The name of a page to which the disambiguation message should point

Pagesuggested
Target page 24

The name of an additional target page

Pageoptional
Target page 35

The name of an additional target page

Pageoptional