Difference between revisions of "Template:BJS color/doc"
imported>ASDFGH |
imported>Eti15TrSf |
||
| (35 intermediate revisions by 9 users not shown) | |||
| Line 2: | Line 2: | ||
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | ||
| − | 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 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. For [[Beijing Suburban Railway]] lines, see [[Module:Adjacent stations/Beijing Suburban Railway]]. |
| − | This is particularly important because the Beijing | + | This is particularly important because the color of lines can be changed in different Beijing Municipal standards, for example in 2009, the color of Line 7 is "Pantone 1525C", however in 2015 it was changed to "Pantone 1355C". Without this template, hundreds of articles would have to be modified each time this happens. |
=== Usage === | === Usage === | ||
| Line 13: | Line 13: | ||
{| class="wikitable" | {| class="wikitable" | ||
| − | {{Color template doc|1| | + | {{Color template doc|1|Bt|Batong|Ba Tong}} |
{{Color template doc|2}} | {{Color template doc|2}} | ||
| − | {{Color template doc|4| | + | {{Color template doc|3}} |
| + | {{Color template doc|4|Dx|Daxing}} | ||
{{Color template doc|5}} | {{Color template doc|5}} | ||
{{Color template doc|6}} | {{Color template doc|6}} | ||
| Line 22: | Line 23: | ||
{{Color template doc|9}} | {{Color template doc|9}} | ||
{{Color template doc|10}} | {{Color template doc|10}} | ||
| + | {{Color template doc|11}} | ||
| + | {{Color template doc|12}} | ||
{{Color template doc|13}} | {{Color template doc|13}} | ||
{{Color template doc|14}} | {{Color template doc|14}} | ||
{{Color template doc|15}} | {{Color template doc|15}} | ||
{{Color template doc|16}} | {{Color template doc|16}} | ||
| − | {{Color template doc| | + | {{Color template doc|17}} |
| − | {{Color template doc| | + | {{Color template doc|19}} |
| − | {{Color template doc| | + | {{Color template doc|Pg|Pinggu|22}} |
| − | {{Color template doc| | + | {{Color template doc|Yz|Yizhuang|24}} |
| − | {{Color template doc| | + | {{Color template doc|Fs|Fangshan|Yf|Yanfang|25}} |
| − | {{Color template doc| | + | {{Color template doc|S1|M|Mentougou|26}} |
| − | {{Color template doc| | + | {{Color template doc|Cp|Changping|27}} |
| − | {{Color template doc| | + | {{Color template doc|28}} |
| + | {{Color template doc|Ap|Airport}} | ||
| + | {{Color template doc|na|da|daxingairport|newairport}} | ||
| + | {{Color template doc|Xj|W|Xijiao|Western}} | ||
{{Color template doc|#default}} | {{Color template doc|#default}} | ||
|} | |} | ||
| − | The current colour codes follow the Beijing | + | The current colour codes follow the Pantone codes in Beijing Local Standard ''DB11/T657.2-2015《公共交通客运标志第2部分:城市轨道交通'' (see [[:zh:Template:北京地铁颜色]]). |
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
[[Category:China rail transport color templates]] | [[Category:China rail transport color templates]] | ||
[[Category:Beijing Subway succession templates]] | [[Category:Beijing Subway succession templates]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 02:04, 10 September 2020
| 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. For Beijing Suburban Railway lines, see Module:Adjacent stations/Beijing Suburban Railway.
This is particularly important because the color of lines can be changed in different Beijing Municipal standards, for example in 2009, the color of Line 7 is "Pantone 1525C", however in 2015 it was changed to "Pantone 1355C". 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 …|Bt}} or …|Batong}} or …|Ba Tong}}
|
Sample: | a4343a
| |
{{BJS color|2}}
|
Sample: | 004b87
| |
{{BJS color|3}}
|
Sample: | d90627
| |
{{BJS color|4}} or …|Dx}} 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|11}}
|
Sample: | ff8674
| |
{{BJS color|12}}
|
Sample: | 9c4f01
| |
{{BJS color|13}}
|
Sample: | f4da40
| |
{{BJS color|14}}
|
Sample: | ca9a8e
| |
{{BJS color|15}}
|
Sample: | 653279
| |
{{BJS color|16}}
|
Sample: | 6ba539
| |
{{BJS color|17}}
|
Sample: | 00abab
| |
{{BJS color|19}}
|
Sample: | d3a3c9
| |
{{BJS color|Pg}} or …|Pinggu}} or …|22}}
|
Sample: | f4c1ca
| |
{{BJS color|Yz}} or …|Yizhuang}} or …|24}}
|
Sample: | d0006f
| |
{{BJS color|Fs}} or …|Fangshan}} or …|Yf}} or …|Yanfang}} or …|25}}
|
Sample: | d86018
| |
{{BJS color|S1}} or …|M}} or …|Mentougou}} or …|26}}
|
Sample: | a45a2a
| |
{{BJS color|Cp}} or …|Changping}} or …|27}}
|
Sample: | d986ba
| |
{{BJS color|28}}
|
Sample: | 476205
| |
{{BJS color|Ap}} or …|Airport}}
|
Sample: | a192b2
| |
{{BJS color|na}} or …|da}} or …|daxingairport}} or …|newairport}}
|
Sample: | 0049a5
| |
{{BJS color|Xj}} or …|W}} or …|Xijiao}} or …|Western}}
|
Sample: | d22630
| |
{{BJS color|#default}}
|
Sample: | bbbbbb
|
The current colour codes follow the Pantone codes in Beijing Local Standard DB11/T657.2-2015《公共交通客运标志第2部分:城市轨道交通 (see zh:Template:北京地铁颜色).