Difference between revisions of "Template:1Color template documentation"

From blackwiki
Jump to navigation Jump to search
blackwiki>Useddenim
(/*)
 
m (3 revisions imported)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
----
+
<includeonly>----
This template can be used to call the color of [[{{Remove last word|{{BASEPAGENAME}}}}]] routes.
+
This template can be used to call the color of {{#if:{{{1|}}}|[[{{{1}}}]]|[[{{Remove last word|{{BASEPAGENAME}}}}]]}} routes.
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 7: Line 7:
  
 
*After saving an amendment, {{purge|purge this page}} to refresh the colour sample.
 
*After saving an amendment, {{purge|purge this page}} to refresh the colour sample.
 +
</includeonly><noinclude>
 +
{{Documentation}}</noinclude>

Latest revision as of 07:39, 4 October 2020

50px Template documentation[view] [edit] [history] [purge]

This template can be used to call the color of Railway routes.

{{Railway color}}

Sample: 30px hexval
  • After saving an amendment, Script error: No such module "Purge". to refresh the colour sample.

Usage

This template is used for a railway color template that has only one value. The name of the template is used for the wikilink: e.g. {{Railroad color}} produces Template:Nobreak and {{Railway colour}} produces Template:Nobreak

Including and optional argument will replace the wikilink; for example when an abbreviation is used for the line name.

See also