Difference between revisions of "Template:FSM color"

From blackwiki
Jump to navigation Jump to search
imported>Useddenim
(removed case sensitivity)
imported>ASDFGH
Line 1: Line 1:
 
{{#switch:{{lc:{{{1}}}}}
 
{{#switch:{{lc:{{{1}}}}}
  | 1|gf=bad405
+
  | 1|gf=bed600
  | 2=00ff00
+
  | 2=009900
 
  | 3=0000ff
 
  | 3=0000ff
  | 4=ff69d8
+
  | 4=ff00ff
 
  | 5=ff6600
 
  | 5=ff6600
  | 6=ff9999
+
  | 6=ffb81d
 +
| 9=a25eb5
 +
| 11=6600cc
 +
| 13=32b7ea
 
  | #default=bbbbbb
 
  | #default=bbbbbb
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 21:48, 17 December 2017

bbbbbb

Template documentation[view] [edit] [history] [purge]

This template can be used to call the color of FMetro (Foshan Metro) routes. The following are included in this template.

In order to call a line's color, the code #{{FSM color|number}} is used (where number is replaced by the actual route number). Note that this template is not case sensitive: i.e. {{FSM color|1}} produces the same result as {{FSM color|1}}.

{{FSM color|1}} or …|GF}} Sample:   bed600
{{FSM color|2}} Sample:   009900
{{FSM color|3}} Sample:   0000ff
{{FSM color|4}} Sample:   ff00ff
{{FSM color|5}} Sample:   ff6600
{{FSM color|6}} Sample:   ffb81d
{{FSM color|9}} Sample:   a25eb5
{{FSM color|11}} Sample:   6600cc
{{FSM color|13}} Sample:   32b7ea
{{FSM color|T1}} or …|TGM1}} Sample:   bbbbbb
{{FSM color|#default}} Sample:   bbbbbb