Template:Shanghai Metro/doc

Usage
This template selectively displays the stations of various Shanghai Metro lines in a navbox. To select which lines are displayed, use the parameters line1 through line18, pujiang and maglev. Give each parameter any 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 Shanghai Metro stations is updated to match. The list page includes a copy of this template, showing all of the lines, 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.

TemplateData
{	"params": { "line1": { "required": false, "label": "Line 1", "type": "string" },		"line2": { "required": false, "label": "Line 2", "type": "string" },		"line3": { "required": false, "label": "Line 3", "type": "string" },		"line4": { "required": false, "label": "Line 4", "type": "string" },		"line5": { "required": false, "label": "Line 5", "type": "string" },		"line6": { "required": false, "label": "Line 6", "type": "string" },		"line7": { "required": false, "label": "Line 7", "type": "string" },		"line8": { "required": false, "label": "Line 8", "type": "string" },		"line9": { "required": false, "label": "Line 9", "type": "string" },		"line10": { "required": false, "label": "Line 10", "type": "string" },		"line11": { "required": false, "label": "Line 11", "type": "string" },		"line12": { "required": false, "label": "Line 12", "type": "string" },		"line13": { "required": false, "label": "Line 13", "type": "string" },		"line14": { "required": false, "label": "Line 14", "type": "string" },		"line15": { "required": false, "label": "Line 15", "type": "string" },		"line16": { "required": false, "label": "Line 16", "type": "string" },		"line17": { "required": false, "label": "Line 17", "type": "string" },		"line18": { "required": false, "label": "Line 18", "type": "string" },		"line19": { "required": false, "label": "Line 19", "type": "string" },		"line20": { "required": false, "label": "Line 20", "type": "string" },		"line21": { "required": false, "label": "Line 21", "type": "string" },		"line23": { "required": false, "label": "Line 23", "type": "string" },		"chongming": { "required": false, "label": "Chongming line", "type": "string" },		"pujiang": { "required": false, "label": "Pujiang line", "type": "string" },		"maglev": { "required": false, "label": "Maglev", "type": "string" }	},	"description": "This template shows the Shanghai Metro 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 metro station.", "format": "inline" }