Template:KL bus code/doc

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by imported>Useddenim at 14:32, 2 March 2024 (See also). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

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 source]
Code Result
{{KLBC|001}} File:Bus-logo-white.svg001 
{{KLBC|PJ06|bgcolor=#{{klbcr|pj}}|tcolor=black|link=Petaling Jaya City Council}} File:Bus-logo.svgPJ06 
{{KL bus code|Sunway Line|bgcolor=#{{rcr|KLRT|21}}|link=Rapid Bus|tlink=BRT Sunway Line}} File:Bus-logo-white.svgSunway Line 
{{KL bus code|ORANGE|bgcolor=#{{klbcr|goklorange}}|link=GO KL City Bus|tlink=GO KL City Bus Orange Line}} File:Bus-logo-white.svgORANGE 

See also

[edit source]