Difference between revisions of "Template:Highway detail hatnote"
Jump to navigation
Jump to search
imported>Acroterion |
(improve) |
||
| Line 1: | Line 1: | ||
| − | <includeonly>{{about|the section of {{PAGENAME}}|the entire | + | <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 entire | + | {{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]] | ||
</noinclude> | </noinclude> | ||
Revision as of 14:15, 25 January 2015
{{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".