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

From blackwiki
Jump to navigation Jump to search
imported>BrownHairedGirl
imported>Vanisaac
m (→‎top: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 21: Line 21:
 
|}
 
|}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
<includeonly>{{Sandbox other||
 
<!-- 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 templates]]
 
[[Category:Hungary rail transport templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 00:33, 24 April 2020

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