Difference between revisions of "Template:DLM color/doc"

From blackwiki
Jump to navigation Jump to search
imported>ASDFGH
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(One intermediate revision by one other user not shown)
Line 10: Line 10:
  
 
{| class="wikitable"
 
{| class="wikitable"
{{Color template doc|1|M1}}
+
{{Color template doc|1|m1}}
{{Color template doc|2|M2}}
+
{{Color template doc|2|m2}}
{{Color template doc|3|R3}}
+
{{Color template doc|3|r3}}
{{Color template doc|5|M5}}
+
{{Color template doc|5|m5}}
{{Color template doc|12|R2}}
+
{{Color template doc|12|r2}}
{{Color template doc|13|R4}}
+
{{Color template doc|13|r4}}
 
{{Color template doc|#default}}
 
{{Color template doc|#default}}
 
|}
 
|}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
<includeonly>{{Sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
  

Latest revision as of 23:53, 24 April 2020

Usage

This template can be used to call the color of Dalian Metro routes. The following are included in this template.

In order to call a line's color, the code #{{DLM color|line}} is used (where line is replaced by the actual line abbreviation or name). Note that this template is not case sensitive: i.e. {{DLM color|M1}} produces the same result as {{DLM color|m1}}.


{{DLM color|1}} or …|m1}} Sample:   5ba533
{{DLM color|2}} or …|m2}} Sample:   0d70bd
{{DLM color|3}} or …|r3}} Sample:   e91a38
{{DLM color|5}} or …|m5}} Sample:   d97e1c
{{DLM color|12}} or …|r2}} Sample:   5f259f
{{DLM color|13}} or …|r4}} Sample:   209285
{{DLM color|#default}} Sample:   bbbbbb