Template:Shanghai Metro
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,
{{Shanghai Metro|line2=yes|line3=yes}}
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.
{{Shanghai Metro
|line1=
|line2=
|line3=
|line4=
|line5=
|line6=
|line7=
|line8=
|line9=
|line10=
|line11=
|line12=
|line13=
|line14=
|line15=
|line16=
|line17=
|line18=
|line19=
|line20=
|line21=
|line22=
|line23=
|pujiang=
|maglev=
}}
TemplateData
TemplateData for Shanghai Metro
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Line 1 | line1 | no description | String | optional |
Line 2 | line2 | no description | String | optional |
Line 3 | line3 | no description | String | optional |
Line 4 | line4 | no description | String | optional |
Line 5 | line5 | no description | String | optional |
Line 6 | line6 | no description | String | optional |
Line 7 | line7 | no description | String | optional |
Line 8 | line8 | no description | String | optional |
Line 9 | line9 | no description | String | optional |
Line 10 | line10 | no description | String | optional |
Line 11 | line11 | no description | String | optional |
Line 12 | line12 | no description | String | optional |
Line 13 | line13 | no description | String | optional |
Line 14 | line14 | no description | String | optional |
Line 15 | line15 | no description | String | optional |
Line 16 | line16 | no description | String | optional |
Line 17 | line17 | no description | String | optional |
Line 18 | line18 | no description | String | optional |
Line 19 | line19 | no description | String | optional |
Line 20 | line20 | no description | String | optional |
Line 21 | line21 | no description | String | optional |
Line 22 | line22 | no description | String | optional |
Line 23 | line23 | no description | String | optional |
Pujiang line | pujiang | no description | String | optional |
Maglev | maglev | no description | String | optional |