Difference between revisions of "Template:MNint"

From blackwiki
Jump to navigation Jump to search
imported>Happy5214
(Adding new syntax for multiple locations)
imported>Primefac
m (Protected "Template:MNint": semi-protection of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite)))
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Jctint/core
+
{{#invoke:Jctint/USA|jctint
|1={{{1|}}}
+
|state=MN
|region=Minnesota
+
|sub2param=township
|region_special={{{state_special|}}}
 
|regionspan={{{sspan|}}}
 
|primary_topic=no
 
|sub1={{{county|}}}
 
|sub1name=County
 
|sub1span={{{cspan|}}}
 
|sub1_special={{#if:{{{county2|}}}|[[{{{county1|}}} County, Minnesota|{{{county1}}}]]–[[{{{county2|}}} County, Minnesota|{{{county2|}}}]]{{#if:{{{county3|}}}|–<br>[[{{{county3|}}} County, Minnesota|{{{county3}}}]]{{#if:{{{county4|}}}|–[[{{{county4|}}} County, Minnesota|{{{county4|}}}]]|}}|}}<br>county line|{{{county_special|}}}}}
 
|sub1dab={{{ctdab|}}}
 
|sub2={{{location|}}}
 
|indep_city_special={{{indep_city_special|}}}
 
|indep_city_align={{{indep_city_align|}}}
 
|sub2span={{{lspan|}}}
 
|sub2_special={{#if:{{{location1|}}}|[[{{{location1}}}, Minnesota|{{{location1}}}]]–[[{{{location2}}}, Minnesota|{{{location2}}}]]{{#if:{{{location3|}}}|–[[{{{location3}}}, Minnesota|{{{location3}}}]]}}{{#if:{{{location4|}}}|–[[{{{location4}}}, Minnesota|{{{location4}}}]]}}&#32;city line|{{#if:{{{township|}}}|[[{{{township}}} Township, {{#if:{{{county|}}}|{{{county}}}|{{{ctdab}}}}} County, Minnesota|{{{township}}}{{#if:{{{township2|}}}||&#32;Township}}]]{{#if:{{{township2|}}}|–[[{{{township2}}} Township, {{#if:{{{ctdab2|}}}|{{{ctdab2}}}|{{{ctdab}}}}} County, Minnesota|{{{township2}}}]]{{#if:{{{township3|}}}|–<br>[[{{{township3}}} Township, {{#if:{{{ctdab3|}}}|{{{ctdab3}}}|{{{ctdab}}}}} County, Minnesota|{{{township3}}}]]{{#if:{{{township4|}}}|–[[{{{township4}}} Township, {{#if:{{{ctdab4|}}}|{{{ctdab4}}}|{{{ctdab}}}}} County, Minnesota|{{{township4}}}]]|}}|}}{{#if:{{{township4|}}}|<br>|{{#if:{{{township3|}}}|&#32;|{{#if:{{{township2|}}}|<br>}}}}}}township {{#if:{{{township4|}}}|quadripoint|{{#if:{{{township3|}}}|tripoint|line}}}}}}|{{{location_special|}}}}}}}
 
|area={{{area|}}}
 
|type={{{type|}}}
 
|unit={{{mile|}}}
 
|unit2={{{mile2|}}}
 
|uspan={{{mspan|}}}
 
|unitdef=mi
 
|exit={{{exit|}}}
 
|old={{{old|}}}
 
|espan={{{espan|}}}
 
|ospan={{{ospan|}}}
 
|name={{{name|}}}
 
|road={{{road|}}}
 
|notes={{{notes|}}}
 
 
}}<noinclude>
 
}}<noinclude>
 
[[Category:United States highway templates]]
 
[[Category:United States highway templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 00:31, 19 January 2018