Template:Melbourne Tram route/doc
![]() | This is a documentation subpage for Template:Melbourne Tram route. It may contain usage information, categories and other content that is not part of the original template page. |
This template produces colored icons for the respective Melbourne tram lines.
- The first parameter is the line number.
- The second parameter sets the height of the icon in pixels. If this parameter is omitted, the default size is 16 pixels.
- Note that this template is not case sensitive: i.e.
{{Melbourne Tram route|CC}}
produces the same result as{{Melbourne Tram route|cc}}
.
Usage
[edit]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.
Valid parameters
[edit]1![]() |
3![]() |
3a![]() |
5![]() |
6![]() |
11![]() |
12![]() |
16![]() |
19![]() |
24 24 |
30![]() |
31 31 |
35![]() |
48![]() |
55 55 |
57![]() |
58![]() |
59![]() |
64![]() |
67![]() |
70![]() |
79 79 |
72![]() |
75![]() |
78![]() |
82![]() |
86![]() |
96![]() |
109![]() |
112 112 |
CC![]() (City Circle tram) |
Any other value will link to Trams in Melbourne instead of the specific tram route, and display the icon for the metropolitan Melbourne tram network.
Examples
[edit]