Difference between revisions of "Template:DongguanRT color/doc"
Jump to navigation
Jump to search
imported>ASDFGH (←Created page with '{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> === Usage === This template can be used to call the...') |
imported>ASDFGH |
||
| Line 6: | Line 6: | ||
This template can be used to call the color of [[Dongguan Rail Transit]] routes. The following are included in this template. | This template can be used to call the color of [[Dongguan Rail Transit]] routes. The following are included in this template. | ||
| − | In order to call a line's color, the code <code> #{{DongguanRT color|<i>line</i>}}</code> is used (where ''line'' is replaced by the actual line abbreviation or name). Note that this template is not case sensitive: i.e. <code><nowiki>{{DongguanRT color| | + | In order to call a line's color, the code <code> #{{DongguanRT color|<i>line</i>}}</code> is used (where ''line'' is replaced by the actual line abbreviation or name). Note that this template is not case sensitive: i.e. <code><nowiki>{{DongguanRT color|R2}}</nowiki></code> produces the same result as <code><nowiki>{{DongguanRT color|r2}}</nowiki></code>. |
| Line 14: | Line 14: | ||
{{Color template doc|3|r3}} | {{Color template doc|3|r3}} | ||
{{Color template doc|4|r4}} | {{Color template doc|4|r4}} | ||
| − | |||
{{Color template doc|#default}} | {{Color template doc|#default}} | ||
|} | |} | ||
Revision as of 05:32, 5 May 2018
| This is a documentation subpage for Template:DongguanRT color. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This template can be used to call the color of Dongguan Rail Transit routes. The following are included in this template.
In order to call a line's color, the code #{{DongguanRT 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. {{DongguanRT color|R2}} produces the same result as {{DongguanRT color|r2}}.
{{DongguanRT color|1}} or …|r1}}
|
Sample: | 034ea2
| |
{{DongguanRT color|2}} or …|r2}}
|
Sample: | ed1c24
| |
{{DongguanRT color|3}} or …|r3}}
|
Sample: | faa61a
| |
{{DongguanRT color|4}} or …|r4}}
|
Sample: | 00ab4e
| |
{{DongguanRT color|#default}}
|
Sample: | bbbbbb
|