Difference between revisions of "Template:Cercanías Sevilla color/doc"

From blackwiki
Jump to navigation Jump to search
imported>MSG17
(Created page with '{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> This template can be used to call the color of Cerc...')
 
imported>Vanisaac
m (→‎top: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
 
This template can be used to call the color of [[Cercanías Sevilla]] lines. The following are included in this template.
 
This template can be used to call the color of [[Cercanías Sevilla]] lines. The following are included in this template.
  
In order to call a line’s color, the code <code> #&#123;&#123;Cercanías Madrid color|<i>line</i>}}</code> is used (where ''line'' is replaced by the actual line name, number or abbreviation). Note that this template is not case sensitive: i.e. <code><nowiki>{{Cercanías Madrid color|c-1}}</nowiki></code> produces the same result as <code><nowiki>{{Cercanías Madrid color|C-1}}</nowiki></code>.
+
In order to call a line’s color, the code <code> #&#123;&#123;Cercanías Sevilla color|<i>line</i>}}</code> is used (where ''line'' is replaced by the actual line name, number or abbreviation). Note that this template is not case sensitive: i.e. <code><nowiki>{{Cercanías Sevilla color|c-1}}</nowiki></code> produces the same result as <code><nowiki>{{Cercanías Sevilla color|C-1}}</nowiki></code>.
  
 
{| class="wikitable"
 
{| class="wikitable"
{{Color template doc|c-1}}
+
{{Color template doc|c1|c-1}}
{{Color template doc|c-2}}
+
{{Color template doc|c2|c-2}}
{{Color template doc|c-3}}
+
{{Color template doc|c3|c-3}}
{{Color template doc|c-4}}
+
{{Color template doc|c4|c-4}}
{{Color template doc|c-5}}
+
{{Color template doc|c5|c-5}}
 
|}
 
|}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
<includeonly>{{Sandbox other||
 
<!-- Categories go here and interwikis go in Wikidata. -->
 
<!-- Categories go here and interwikis go in Wikidata. -->
 
[[Category:Spain rail transport color templates]]
 
[[Category:Spain rail transport color templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 01:37, 24 April 2020

This template can be used to call the color of Cercanías Sevilla lines. The following are included in this template.

In order to call a line’s color, the code #{{Cercanías Sevilla color|line}} is used (where line is replaced by the actual line name, number or abbreviation). Note that this template is not case sensitive: i.e. {{Cercanías Sevilla color|c-1}} produces the same result as {{Cercanías Sevilla color|C-1}}.

{{Cercanías Sevilla color|c1}} or …|c-1}} Sample:   71c5e8
{{Cercanías Sevilla color|c2}} or …|c-2}} Sample:   266923
{{Cercanías Sevilla color|c3}} or …|c-3}} Sample:   ff0000
{{Cercanías Sevilla color|c4}} or …|c-4}} Sample:   870099
{{Cercanías Sevilla color|c5}} or …|c-5}} Sample:   fab700