Difference between revisions of "Template:BJS color/doc"
imported>ASDFGH |
imported>ASDFGH |
||
| Line 17: | Line 17: | ||
{{Color template doc|4|D|Daxing}} | {{Color template doc|4|D|Daxing}} | ||
{{Color template doc|5}} | {{Color template doc|5}} | ||
| − | {{Color template doc|6 | + | {{Color template doc|6}} |
{{Color template doc|7}} | {{Color template doc|7}} | ||
{{Color template doc|8}} | {{Color template doc|8}} | ||
{{Color template doc|9}} | {{Color template doc|9}} | ||
| − | {{Color template doc|10 | + | {{Color template doc|10}} |
{{Color template doc|13}} | {{Color template doc|13}} | ||
{{Color template doc|14}} | {{Color template doc|14}} | ||
| Line 29: | Line 29: | ||
{{Color template doc|C|Changping}} | {{Color template doc|C|Changping}} | ||
{{Color template doc|F|Fangshan|Yf|Yanfang}} | {{Color template doc|F|Fangshan|Yf|Yanfang}} | ||
| + | {{Color template doc|X|W|Xijiao|Western}} | ||
| + | {{Color template doc|S1|M|Mentougou|S1 Mentougou}} | ||
{{Color template doc|S2}} | {{Color template doc|S2}} | ||
{{Color template doc|Yq|Yuquanlu}} | {{Color template doc|Yq|Yuquanlu}} | ||
Revision as of 17:29, 18 December 2017
| This is a documentation subpage for Template:BJS color. It contains usage information, categories and other content that is not part of the original template page. |
This template contains the colour of each line of the Beijing Subway. This way, the colour of each line is only stored in one place. Therefore, in order to change the colour of a line in the hundreds of articles where the line is mentioned, all that needs to be done is to change it here.
This is particularly important because the Beijing Subway authority often changes the colour of certain lines. Without this template, hundreds of articles would have to be modified each time this happens.
Usage
This template can be used to call the color of Beijing Subway routes. The following are included in this template.
In order to call a line's color, the code #{{BJS color|line}} is used (where line is replaced by the actual line number or name). Note that this template is not case sensitive: i.e. {{BJS color|S1}} produces the same result as {{BJS color|s1}}.
{{BJS color|1}} or …|B}} or …|Batong}}
|
Sample: | a4343a
| |
{{BJS color|2}}
|
Sample: | 004b87
| |
{{BJS color|4}} or …|D}} or …|Daxing}}
|
Sample: | 008c95
| |
{{BJS color|5}}
|
Sample: | aa0061
| |
{{BJS color|6}}
|
Sample: | b58500
| |
{{BJS color|7}}
|
Sample: | ffc56e
| |
{{BJS color|8}}
|
Sample: | 009b77
| |
{{BJS color|9}}
|
Sample: | 97d700
| |
{{BJS color|10}}
|
Sample: | 0092bc
| |
{{BJS color|13}}
|
Sample: | f4da40
| |
{{BJS color|14}}
|
Sample: | ca9a8e
| |
{{BJS color|15}}
|
Sample: | 653279
| |
{{BJS color|16}}
|
Sample: | 6ba539
| |
{{BJS color|A}} or …|Airport}}
|
Sample: | a192b2
| |
{{BJS color|C}} or …|Changping}}
|
Sample: | d986ba
| |
{{BJS color|F}} or …|Fangshan}} or …|Yf}} or …|Yanfang}}
|
Sample: | d86018
| |
{{BJS color|X}} or …|W}} or …|Xijiao}} or …|Western}}
|
Sample: | d22630
| |
{{BJS color|S1}} or …|M}} or …|Mentougou}} or …|S1 Mentougou}}
|
Sample: | a45a2a
| |
{{BJS color|S2}}
|
Sample: | bbbbbb
| |
{{BJS color|Yq}} or …|Yuquanlu}}
|
Sample: | bbbbbb
| |
{{BJS color|Yz}} or …|Yizhuang}}
|
Sample: | d0006f
| |
{{BJS color|#default}}
|
Sample: | bbbbbb
|
The current colour codes follow the Beijing Subway official map: http://www.bjsubway.com/node/98