This template displays formatted text with an appropriate link for National Cycle Network routes in the United Kingdom.

Usage edit

Code Result Links to
{{UK NCN route|7}} or
{{UK NCN route|route=7}}
UK traffic sign identifying a cycle route 7  National Cycle Network  National Cycle Route 7
{{UK NCN route|72}} or
{{UK NCN route|route=72}}
UK traffic sign identifying a cycle route 72  National Cycle Network  National Cycle Route 72
{{UK NCN route|725}} or
{{UK NCN route|route=725}}
UK traffic sign identifying a cycle route 725  National Cycle Network  National Cycle Route 725


Adding the optional parameter |regional=yes or |reg=yes will change from a national to a regional route:

  • {{UK NCN route|route=141|regional=yes}}UK traffic sign identifying a cycle route 141 
  • {{UK NCN route|141|reg=y}}UK traffic sign identifying a cycle route 141 

Note: regional routes are not wikilinked.


The default height for the route number is 12 pixels, but this can be changed by specifying a different value for the optional |height= parameter:

  • {{UK NCN route|route=72}}UK traffic sign identifying a cycle route 72 
  • {{UK NCN route|72|height=20}}UK traffic sign identifying a cycle route 72 


Adding the optional parameter |symbol=false or |symbol=no or |symbol=n will omit the cycle route symbol (e.g. for use in a list):

  • {{UK NCN route|7|symbol=false}}  7 
  • {{UK NCN route|72|symbol=no}}  72 
  • {{UK NCN route|725|symbol=n}}  725 

TemplateData edit

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:UK NCN route in articles based on its TemplateData.

TemplateData for UK NCN route

This template displays formatted text with an appropriate image and link for National Cycle Network routes in the UK

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
NCN Routeroute 1

National Cycle Network route number

Example
route=1
Numberrequired
Heightheight

Route number height, in pixels

Default
12
Example
height=14
Numberoptional
Symbolsymbol

Set to ''no'' or ''false'' if you want to omit the cycle route symbol (e.g. for use in lists, etc.)

Default
yes
Example
symbol=no
Booleanoptional
Regionalregional reg

Set to ''yes'' or ''true'' if the route is a regional one (blue background for the number).

Default
no
Example
regional=yes
Auto value
Booleanoptional
regreg

no description

Unknownoptional