Difference between revisions of "Template:Budapest Metro color/doc"

From blackwiki
Jump to navigation Jump to search
imported>Useddenim
m ({{Color template doc}})
imported>BrownHairedGirl
Line 24: Line 24:
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
[[Category:Budapest Metro templates]]
 
[[Category:Budapest Metro templates]]
[[Category:Hungary rail transport color templates]]
+
[[Category:Hungary rail transport templates]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 22:59, 22 March 2017

This is primarily part of a system of {{S-line}} codependent succession templates.

This template can also be used to call the color of Budapest Metro lines.

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

{{Budapest Metro color|1}} or …|M1}} Sample:   feda04
{{Budapest Metro color|2}} or …|M2}} Sample:   ca161c
{{Budapest Metro color|3}} or …|M3}} Sample:   025694
{{Budapest Metro color|4}} or …|M4}} Sample:   44aa44
{{Budapest Metro color|5}} Sample:   8a226c
{{Budapest Metro color|6}} Sample:   815319
{{Budapest Metro color|7}} Sample:   f29315
{{Budapest Metro color|8}} Sample:   ec766f
{{Budapest Metro color|9}} Sample:   ec766f
{{Budapest Metro color|default}} Sample:   008888