Jump to content

Template:Adjacent stations doc/doc

From Wikipedia, the free encyclopedia

Template:Adjacent stations doc is a documentation competent used on Module:Adjacent stations system sub-pages.

Usage

[edit]

All parameters are optional. The System name is automatically inserted.

Parameter Notes
|former= Any value. Should be used if the service is a former service.
|place= The location of where the service operates.
|link= The link to the system article. Should be used if the title of the module page is not the correct link that leads to the system article. This happens if a system abbreviation or a descriptive title is used, or if the article uses disambiguation while the module does not.
|previous_name= The previous name of the service. Should be used if the service changed names and the previous one is notable to mention.
|including= Additional line or services the module handles.
|for= A descriptive text for a related module page.
|for_link= The link to the related module. If |for_link= and |former= are used, sets the text to For the current services.
|alias= The name of another module that redirects to the current module. Sometimes a module is created with a shorter name to simplify usages.
|main= The name of the non-redirect module. Should be used on redirect pages.

TemplateData

[edit]
TemplateData documentation used by VisualEditor and other tools
See a monthly parameter usage report for Template:Adjacent stations doc in articles based on its TemplateData.

TemplateData for Adjacent stations doc

Documentation competent used on Module:Adjacent stations system sub-pages.

Template parameters

ParameterDescriptionTypeStatus
Is former service?former

Any value. Should be used if the service is a former service.

Lineoptional
Placeplace

The location of where the service operates.

Lineoptional
Linklink

The link to the system article. Should be used if the title of the module page is not the correct link that leads to the system article. This happens if a system abbreviation or a descriptive title is used, or if the article uses disambiguation while the module does not.

Page nameoptional
Previous service nameprevious_name

The previous name of the service. Should be used if the service changed names and the previous one is notable to mention.

Lineoptional
includingincluding

Additional line or services the module handles.

Stringoptional
Forfor

A descriptive text for a related module page.

Stringoptional
For linkfor_link

The link to the related module. If for_link= and former= are used, sets the text to "For the current services".

Page nameoptional
aliasalias

The name of another module that redirects to the current module. Sometimes a module is created with a shorter name to simplify usages.

Lineoptional
Main modulemain

The name of the non-redirect module. Should be used on redirect pages.

Lineoptional


Examples

[edit]

See also

[edit]