Difference between revisions of "Template:StateHighway"
Jump to navigation
Jump to search
(Created page with "<includeonly>x21px|link=[[{{{1}}} State Highway {{{2}}}|alt={{{2}}}]]</includeonly><noinclude> This template creates a US state highw...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <span style="-moz-border-radius: 3px; |
− | + | background-color: #ffffff; | |
+ | padding-left:2px; | ||
+ | padding-right:2px; | ||
+ | border: 0px solid white; | ||
+ | -moz-outline-radius: 3px; | ||
+ | outline: 2px solid #000000; | ||
+ | font-size:100%; ">'''<includeonly>[[{{{1}}} State Highway {{{2}}}|<span style="color:#000000">{{{2}}}</span>]]</includeonly><noinclude><span style="color:#000000">999999</span></noinclude>'''</span><noinclude> | ||
− | = | + | ==Usage== |
− | + | This template creates a United States' ''State Highway'' sign with the link to it. | |
− | + | <nowiki>{{StateHighway|State|Number}}</nowiki> | |
− | <nowiki>{{StateHighway| | + | Fill in the state name and the number.<br> |
− | Example: {{StateHighway| | + | <nowiki>{{StateHighway|Texas|569}}</nowiki> |
+ | Example: {{StateHighway|Texas|569}} | ||
+ | |||
+ | ==Other templates== | ||
+ | For US Interstates use [[Template:US-I]]<br> | ||
+ | For US Routes use [[Template:US-R]]<br> | ||
+ | For all route number templates see: [[Hitchwiki:Road categories]] | ||
+ | <!--For those brace enough to attempt making this template use proper shields: I had some problem finding a shield svg that fit all the criteria such as, be neutral enough to use for all states, doesnt crash when the numbers get to big. One could attempt to make it lookup the correct shield for the state, but I'm not going to.--> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
[[Category:Road Numbers]] | [[Category:Road Numbers]] | ||
− |
Latest revision as of 17:49, 23 January 2025
999999
Usage
This template creates a United States' State Highway sign with the link to it.
{{StateHighway|State|Number}}
Fill in the state name and the number.
{{StateHighway|Texas|569}}
Example: 569
Other templates
For US Interstates use Template:US-I
For US Routes use Template:US-R
For all route number templates see: Hitchwiki:Road categories