Difference between revisions of "Template:Chengdu Metro"

From blackwiki
Jump to navigation Jump to search
imported>Dpm853
imported>Eti15TrSf
(Undid revision 981131444 by Dpm853 (talk) ensure that article is bolded when viewing)
 
Line 20: Line 20:
 
* {{stl|CDM|Nijiaqiao}}
 
* {{stl|CDM|Nijiaqiao}}
 
* {{stl|CDM|Tongzilin}}
 
* {{stl|CDM|Tongzilin}}
−
* {{stl|CDM|Chengdu South}} {{rint|chengdu|7}} {{rint|chengdu|18}} {{rint|cn|rail}}
+
* [[Chengdu South railway station|South Railway Station]] {{rint|chengdu|7}} {{rint|chengdu|18}} {{rint|cn|rail}}
 
* {{stl|CDM|Hi-Tech Zone}}
 
* {{stl|CDM|Hi-Tech Zone}}
 
* {{stl|CDM|Financial City}}
 
* {{stl|CDM|Financial City}}
Line 270: Line 270:
 
| group8style = {{box-shadow border|r|#{{rcr|CDM|18}}|5px}}
 
| group8style = {{box-shadow border|r|#{{rcr|CDM|18}}|5px}}
 
| list8 = {{#if:{{{line18<includeonly>|</includeonly>}}}|
 
| list8 = {{#if:{{{line18<includeonly>|</includeonly>}}}|
−
* {{stl|CDM|Chengdu South}} {{rint|chengdu|1}} {{rint|chengdu|7}}
+
* {{stl|CDM|South Railway Station}} {{rint|chengdu|1}} {{rint|chengdu|7}}
 
* {{stl|CDM|Incubation Park}} {{rint|chengdu|1}}
 
* {{stl|CDM|Incubation Park}} {{rint|chengdu|1}}
 
* {{stl|CDM|Jincheng Plaza East}}
 
* {{stl|CDM|Jincheng Plaza East}}

Latest revision as of 06:57, 2 October 2020

Template documentation[view] [edit] [history] [purge]

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: