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

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
imported>Ramramger
Line 15: Line 15:
 
{{Color template doc|1|Bt|Batong|Ba Tong}}
 
{{Color template doc|1|Bt|Batong|Ba Tong}}
 
{{Color template doc|2}}
 
{{Color template doc|2}}
 +
{{Color template doc|3}}
 
{{Color template doc|4|Dx|Daxing}}
 
{{Color template doc|4|Dx|Daxing}}
 
{{Color template doc|5}}
 
{{Color template doc|5}}
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|17}}
 +
{{Color template doc|19}}
 +
{{Color template doc|Pg|Pinggu|22}}
 +
{{Color template doc|Yz|Yizhuang|24}}
 +
{{Color template doc|Fs|Fangshan|Yf|Yanfang|25}}
 +
{{Color template doc|S1|M|Mentougou|26}}
 +
{{Color template doc|Cp|Changping|27}}
 +
{{Color template doc|28}}
 
{{Color template doc|Ap|Airport}}
 
{{Color template doc|Ap|Airport}}
 
{{Color template doc|na|da|daxingairport|newairport}}
 
{{Color template doc|na|da|daxingairport|newairport}}
{{Color template doc|Cp|Changping}}
 
{{Color template doc|Fs|Fangshan|Yf|Yanfang}}
 
 
{{Color template doc|Xj|W|Xijiao|Western}}
 
{{Color template doc|Xj|W|Xijiao|Western}}
{{Color template doc|S1|M|Mentougou}}
+
 
{{Color template doc|Yz|Yizhuang}}
+
 
 
{{Color template doc|#default}}
 
{{Color template doc|#default}}
 
|}
 
|}

Revision as of 13:27, 7 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:北京地铁颜色).