Template:Chengdu Metro/doc

From blackwiki
< Template:Chengdu Metro
Revision as of 04:16, 24 April 2020 by imported>Vanisaac (→‎Full template: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

This template selectively displays the stations of various Chengdu Metro lines in a navbox. To select which lines are displayed, use the parameters "line1" through "line9". Give each parameter a value to make that line display, and leave the parameter unset to make the line stay hidden. For example,

{{Chengdu Metro
|line1=yes
|line2=
}}

displays:


If adding new lines to this template, please ensure that List of Chengdu 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.

{{Chengdu Metro
|line1=
|line2=
}}

Full template

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