Template:Adjacent stations doc
This is a data module for Module:Adjacent stations. It supports services operated by [[]].
Template:Adjacent stations doc is a documentation competent used on Module:Adjacent stations system sub-pages.
Usage[edit source]
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 Template:Tq.
|
|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 source]
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 <templatedata> { "description": "Documentation competent used on Module:Adjacent stations system sub-pages.", "params": { "former": { "label": "Is former service?", "type": "line", "required": false, "suggested": false, "deprecated": false, "description": "Any value. Should be used if the service is a former service." }, "place": { "label": "Place", "type": "line", "required": false, "suggested": false, "deprecated": false, "description": "The location of where the service operates." }, "link": { "label": "Link", "type": "wiki-page-name", "required": false, "suggested": false, "deprecated": false, "description": "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": { "label": "Previous service name", "type": "line", "required": false, "suggested": false, "deprecated": false, "description": "The previous name of the service. Should be used if the service changed names and the previous one is notable to mention." }, "including": { "label": "including", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Additional line or services the module handles." }, "for": { "label": "For", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "A descriptive text for a related module page." }, "for_link": { "label": "For link", "type": "wiki-page-name", "required": false, "suggested": false, "deprecated": false, "description": "The link to the related module. If for_link= and former= are used, sets the text to \"For the current services\"." }, "alias": { "label": "alias", "type": "line", "required": false, "suggested": false, "deprecated": false, "description": "The name of another module that redirects to the current module. Sometimes a module is created with a shorter name to simplify usages." }, "main": { "label": "Main module", "type": "line", "required": false, "suggested": false, "deprecated": false, "description": "The name of the non-redirect module. Should be used on redirect pages." } } } </templatedata> |