Template:Rail-interchange/doc

The  template is an abstraction layer to cope with rebranding and renaming of transport systems. The template maps $f (where, how) → to brand, link, icon(s)$ allowing the whole of Wikipedia to be easily updated when a transport network switches operator, changes name or updates their logo.

Avoid brandname, operator or sponsor names when choosing the location/link pair.

Usage
The optional named parameter size will override the default height of the icon (between 10 and 20 pixels): The value for size must be an integer and should not be any larger than the display height of the diagram icons themselves (20 pixels in most diagrams).

The icons' wikilink and alternate text can be overridden by adding the optional parameters newlink and othertext. Note that if only the link parameter is changed then the alt parameter will change from the default to the new link text. (However, the alt parameter can be changed without affecting the link target.)

Generic
The following symbols can be used to denote interchange:

Specific by country
This list:

Variants exist for a number of different places around the world to display symbols which are specific to a country or city - for example, the London Underground logo on London specific articles. Note that these are the names of the main location involved, and not the brand used by the current franchise operator (which can change frequently). If the logo should change, it can be easily updated within this template.

Please only use free content images. In most cases, using non-free logos in this manner will not comply with Wikipedia's non-free content policy.

TemplateData
{	"params": { "1": {			"label": "Location or operator", "type": "string", "required": true },		"2": {			"label": "Line, route or service", "type": "string" },		"3": {			"label": "Modifier", "description": "controls options for specific systems", "type": "string" },		"4": {			"label": "Modifier", "description": "controls options for specific systems", "type": "string" },		"size": { "label": "Size", "description": "width of icon, in pixels", "type": "number" },		"link": { "label": "Link", "description": "alternative Wikilink target for icon", "type": "string" },		"alt": { "label": "Alternative text", "description": "overrides default text", "type": "string" },		"Title case": {}, "line": {}, "icon": {}, "showtext": {}, "text": {}, "small": {} },	"description": "This template is an abstraction layer to cope with rebranding and renaming of transport systems. It easily allows the whole of Wikipedia to be updated when a transport network switches operator, changes name or updates their logo.", "format": "inline" }