Difference between revisions of "Template:BJS color/doc"

From blackwiki
Jump to navigation Jump to search
imported>Eti15TrSf
(I have not seen any color changes so this cannot be true)
imported>Ramramger
(Undid revision 977451692 by Eti15TrSf (talk) In 2009 standard the color of Line 7 is "Pantone 1525C", In 2015 standard it is changed to "Pantone 1355C".)
Line 4: Line 4:
 
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 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 Subway authority may change the colour of certain lines. Without this template, hundreds of articles would have to be modified each time this happens.
+
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 ===
 
=== Usage ===

Revision as of 07:37, 9 September 2020

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 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 …|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:北京地铁颜色).