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

From blackwiki
Jump to navigation Jump to search
imported>Ombresuvenere
imported>Ombresuvenere
Line 36: Line 36:
 
|}
 
|}
  
The current colour codes follow the Pantone codes in Beijing Local Standard ''DB11/T657.2-2015《公共交通客运标志第2部分:城市轨道交通》'', See the Chinese Wikipedia page: zh.wikipedia.org/wiki/Template:北京地铁颜色
+
The current colour codes follow the Pantone codes in Beijing Local Standard ''DB11/T657.2-2015《公共交通客运标志第2部分:城市轨道交通》'', See the Chinese Wikipedia page: <url>zh.wikipedia.org/wiki/Template:北京地铁颜色</url>
  
  

Revision as of 20:16, 5 January 2019

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 …|Bt}} or …|Batong}} Sample:   a4343a
{{BJS color|2}} Sample:   004b87
{{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|13}} Sample:   f4da40
{{BJS color|14}} Sample:   ca9a8e
{{BJS color|15}} Sample:   653279
{{BJS color|16}} Sample:   6ba539
{{BJS color|Ap}} or …|Airport}} Sample:   a192b2
{{BJS color|Cp}} or …|Changping}} Sample:   d986ba
{{BJS color|Fs}} or …|Fangshan}} or …|Yf}} or …|Yanfang}} Sample:   d86018
{{BJS color|Xj}} or …|W}} or …|Xijiao}} or …|Western}} Sample:   d22630
{{BJS color|S1}} or …|M}} or …|Mentougou}} Sample:   a45a2a
{{BJS color|S2}} or …|Sc}} or …|Sub-Central}} or …|Hm}} or …|Huaimi}} Sample:   bbbbbb
{{BJS color|Yz}} or …|Yizhuang}} Sample:   d0006f
{{BJS color|#default}} Sample:   bbbbbb

The current colour codes follow the Pantone codes in Beijing Local Standard DB11/T657.2-2015《公共交通客运标志第2部分:城市轨道交通》, See the Chinese Wikipedia page: <url>zh.wikipedia.org/wiki/Template:北京地铁颜色</url>