Jump to content

Template:KL bus code/doc

From Wikipedia, the free encyclopedia

This template creates a coloured icon for a bus route in Greater Kuala Lumpur.

Usage

[edit]
Parameter Description Defaults to
1 route none
bgcolor iconcolor
  blue
tcolor text color
  white
link link to the route operator Rapid KL
tlink link to the route List of bus routes in Greater Kuala Lumpur

Please avoid adding these icons within the prose of articles: per Wikipedia's Manual of Style for icons, "Icons should not be used in the article body... This breaks up the continuity of the text, distracting the reader".

In addition, icons used in this way are primarily decorative, e.g. "aesthetics are in the eye of the beholder: one reader's harmless decoration may be another reader's distraction": While the icons provide visual cues in certain circumstances, writing in prose will usually suffice. Instead, provide a link to the services directly.

Examples

[edit]
Code Result
{{KLBC|001}} 001 
{{KLBC|PJ06|bgcolor=#{{klbcr|pj}}|tcolor=black|link=Petaling Jaya City Council}} PJ06 
{{KL bus code|Sunway Line|bgcolor=#{{rcr|KLRT|21}}|link=Rapid Bus|tlink=BRT Sunway Line}} Sunway Line 
{{KL bus code|ORANGE|bgcolor=#{{klbcr|goklorange}}|link=GO KL City Bus|tlink=GO KL City Bus Orange Line}} ORANGE 

See also

[edit]