Template:Hamburg rail/doc

Usage
This template selectively displays the stations of various Hamburg U-Bahn and Hamburg S-Bahn lines in a navbox. To select which lines are displayed, use the parameters "lineS1" through "lineS5" and "lineU1" through "lineU4". Give each parameter a value to make that line display, and leave the parameter unset to make the line stay hidden. For example,

displays:

If adding new lines to this template, please ensure that List of Hamburg U-Bahn stations or List of Hamburg S-Bahn stations are updated to match. The list pages include a copy of this template, and is also linked from the title bar of this template.

Blank declaration
You can copy and paste this blank template for use, inserting a value for each of the lines that's to be displayed and either deleting or leaving unset the lines that aren't to be displayed.

Full template
This is what the contents of the full template with every line displayed looks like:

Collapsed vs expanded
{	"params": { "lineS1": { "required": false, "label": "Line S1", "type": "string" },		"lineS2": { "required": false, "label": "Line S2", "type": "string" },		"lineS3": { "required": false, "label": "Line S3", "type": "string" },		"lineS5": { "required": false, "label": "Line S5", "type": "string" },		"lineU1": { "required": false, "label": "Line U1", "type": "string" },		"lineU2": { "required": false, "label": "Line U2", "type": "string" },		"lineU3": { "required": false, "label": "Line U3", "type": "string" },		"lineU4": { "required": false, "label": "Line U4", "type": "string" }	},	"description": "This template shows the Hamburg rail navbox at the bottom of the page, showing the appropriate lines and stations. The value \"yes\" should be used for whichever line runs through the station." }