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

From blackwiki
Jump to navigation Jump to search
imported>Useddenim
 
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 22: Line 22:
  
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
<includeonly>{{Sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:United Kingdom rail transport color templates|{{PAGENAME}}]]
 
[[Category:United Kingdom rail transport color templates|{{PAGENAME}}]]
 
[[Category:First Capital Connect templates|{{PAGENAME}}]]
 
[[Category:First Capital Connect templates|{{PAGENAME}}]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 04:27, 25 April 2020


This template is used to call the colour of First Capital Connect routes.

Usage

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

{{FCC color|Bedford}} or …|B}} Sample:   f400a1
{{FCC color|ECML}} or …|East}} or …|E}} Sample:   f400a1
{{FCC color|King's Lynn}} or …|KL}} or …|K}} Sample:   f400a1
{{FCC color|Luton}} or …|L}} Sample:   f400a1
{{FCC color|Peterborough}} or …|P}} Sample:   f400a1
{{FCC color|#default}} Sample:   f400a1
  • When adding a new colour to the template, be sure to add a corresponding row to the sample box above.
  • After saving an amendment, Script error: No such module "Purge". to refresh the colour samples.