Difference between revisions of "Template:Highway detail hatnote"

From blackwiki
Jump to navigation Jump to search
imported>WebTV3
imported>Primefac
m (Protected "Template:Highway detail hatnote": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed...)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{about|the section of {{PAGENAME}}|the entire length of the highway|{{{1}}}}}</includeonly><noinclude><code><nowiki>{{Highway detail hatnote|Main article}}</nowiki></code>
+
<includeonly>{{about|the section of {{PAGENAME}}|the entire route|{{{1}}}}}</includeonly><noinclude><code><nowiki>{{Highway detail hatnote|Main article}}</nowiki></code>
 
==Usage==
 
==Usage==
 
This template is used on state detail articles for highways. It takes one parameter, the name of the main article. The template automatically places the name of the state detail article where the template is used after the text ''"This page is about the section of"''. For example, placing
 
This template is used on state detail articles for highways. It takes one parameter, the name of the main article. The template automatically places the name of the state detail article where the template is used after the text ''"This page is about the section of"''. For example, placing
Line 5: Line 5:
 
<code><nowiki>{{Highway detail hatnote|U.S. Route 44}}</nowiki></code> at the top of the [[U.S. Route 44 in New York]] page yields:
 
<code><nowiki>{{Highway detail hatnote|U.S. Route 44}}</nowiki></code> at the top of the [[U.S. Route 44 in New York]] page yields:
  
{{about|the section of U.S. Route 44 in New York|the whole length of the highway|U.S. Route 44}}
+
{{about|the section of U.S. Route 44 in New York|the entire route|U.S. Route 44}}
 
[[Category:United States highway templates|Hatnote]]
 
[[Category:United States highway templates|Hatnote]]
 +
[[Category:Hatnote templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 19:17, 10 January 2018

{{Highway detail hatnote|Main article}}

Usage

This template is used on state detail articles for highways. It takes one parameter, the name of the main article. The template automatically places the name of the state detail article where the template is used after the text "This page is about the section of". For example, placing

{{Highway detail hatnote|U.S. Route 44}} at the top of the U.S. Route 44 in New York page yields:

Script error: No such module "about".