Template:RoadType/doc View history

(Created doc)
 
m (formatting)
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
== Overview ==
== Overview ==


This template currently links to the USA Road type page specific to the road type entered, along with a generic link to the road type page for all other countries. When other countries replicate the same details as in the USA page, we can consider automating the link to go to country specific pages for one road type.
This template currently links to the Road types page specific to the road type entered, along with a generic link to the road type page.


== Usage ==
== Usage ==
The only parameter is the name of the subsection or anchor on the [[Road types/USA]] page. The template also provides a link to the general [[Road types]] page for all other countries.
The only parameter is the name of the subsection or anchor on the [[Road types]] page. Excluding a parameter or using a parameter not listed as an anchor or subsection will link to the general [[Road types]] page.
 
== Examples ==
{{nowrapcode|<nowiki>{{RoadType|Railroad}}</nowiki>}} results in:<br /><br />
{{RoadType|Railroad}}<br /><br />
 
{{nowrapcode|<nowiki>{{RoadType|Primary Street}}</nowiki>}} results in:<br /><br />
{{RoadType|Primary Street}}<br /><br />


<includeonly>
<includeonly>

Revision as of 19:14, 9 May 2017

This is a documentation subpage for Template:RoadType.
It contains usage information, categories and other content that is not part of the original template page.

Overview

This template currently links to the Road types page specific to the road type entered, along with a generic link to the road type page.

Usage

The only parameter is the name of the subsection or anchor on the Road types page. Excluding a parameter or using a parameter not listed as an anchor or subsection will link to the general Road types page.

Examples

{{RoadType|Railroad}} results in:

For more information on Railroad select this link.

{{RoadType|Primary Street}} results in:

For more information on Primary Street select this link.