Template:Infobox road/shield/CAR: Difference between revisions

From IxWiki
Jump to navigation Jump to search
mNo edit summary
Tag: 2017 source edit
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch:{{{type|}}}
{{#switch:{{{type|}}}
|I|Interstate={{#switch:{{{state}}}
|IH|Interstate={{#switch:{{{state}}}
  |AL|AR|AZ|CA|IA|KS|NJ|NV|NM|OK|SC|VA|UT|WV|WY=I-{{{route}}} ({{{state}}}).svg
  |AR|AZ|IA|KS|NJ|NM|OK|SC|UT|WV|WY=CAIH-{{{route}}} ({{{state}}}).svg
  |MT=I-{{{route}}} (big).svg
  |MT=I-{{{route}}} (big).svg
  |NY=I-{{{route}}} (long).svg
  |NY=I-{{{route}}} (long).svg
  |HI=I-H{{{route}}}.svg
  |HI=I-H{{{route}}}.svg
  |PR=I-PR{{{route}}}.svg
  |PR=I-PR{{{route}}}.svg
  |#default=I-{{{route}}}.svg
  |#default=CAIH-{{{route}}}.svg
  }}
  }}
|I 1957={{#switch:{{{state}}}
|I 1957={{#switch:{{{state}}}
  |¬|=I-{{{route}}} (1957).svg
  |¬|=I-{{{route}}} (1957).svg
  |#default=I-{{{route}}} ({{{state}}} 1957).svg
  |#default=CAIH-{{{route}}} ({{{state}}} 1957).svg
  }}
  }}
|I 1961={{#switch:{{{state}}}
|I 1961={{#switch:{{{state}}}
Line 20: Line 20:
  |#default={{#ifeq:{{str len|{{{route}}}}}|3|I-{{{route}}} ({{{state}}} 1961).svg|I-{{{route}}} ({{{state}}} 1957).svg}}
  |#default={{#ifeq:{{str len|{{{route}}}}}|3|I-{{{route}}} ({{{state}}} 1961).svg|I-{{{route}}} ({{{state}}} 1957).svg}}
  }}
  }}
|Future=I-{{{route}}} (Future).svg
|Future=CAIH-{{{route}}} (Future).svg
|BL={{#switch: {{{state|}}}
|BL={{#switch: {{{state|}}}
  |CA=Business Loop {{{route}}} (CA).svg
  |CA=Business Loop {{{route}}} (CA).svg
Line 37: Line 37:
|DL=Downtown Loop {{{route}}}.svg
|DL=Downtown Loop {{{route}}}.svg
|DS=Downtown Spur {{{route}}}.svg
|DS=Downtown Spur {{{route}}}.svg
|US={{#switch:{{{state}}}
|CA={{#switch:{{{state}}}
  |AR={{#switch:{{{subtype|}}}
  |AR={{#switch:{{{subtype|}}}
   |Bus=US {{{route}}}B.svg
   |Bus=US {{{route}}}B.svg
Line 69: Line 69:
|US 1926={{#if:{{{state|}}}
|US 1926={{#if:{{{state|}}}
  |{{#switch:{{{state|}}}{{{subtype|}}}
  |{{#switch:{{{state|}}}{{{subtype|}}}
   |MIAlt|MIAlternate=US {{{route}}}A {{Infobox road/name/CRT/StateName|{{{state}}}}} 1926.svg
   |MIAlt|MIAlternate=US {{{route}}}A {{Infobox road/name/CAR/StateName|{{{state}}}}} 1926.svg
   |#default=US {{{route}}} {{Infobox road/name/CRT/StateName|{{{state}}}}} 1926.svg
   |#default=US {{{route}}} {{Infobox road/name/CAR/StateName|{{{state}}}}} 1926.svg
   }}
   }}
  |US {{{route}}} (1926).svg
  |US {{{route}}} (1926).svg
  }}
  }}
|US 1948={{#switch:{{{state|}}}{{{subtype|}}}
|US 1948={{#switch:{{{state|}}}{{{subtype|}}}
  |MIAlt|MIAlternate=US {{{route}}}A {{Infobox road/name/CRT/StateName|{{{state}}}}} 1948.svg
  |MIAlt|MIAlternate=US {{{route}}}A {{Infobox road/name/CAR/StateName|{{{state}}}}} 1948.svg
  |#default=US {{{route}}} {{Infobox road/name/CRT/StateName|{{{state}}}}} 1948.svg
  |#default=US {{{route}}} {{Infobox road/name/CAR/StateName|{{{state}}}}} 1948.svg
  }}
  }}
|US 1950={{#switch:{{{state}}}{{{subtype|}}}
|US 1950={{#switch:{{{state}}}{{{subtype|}}}
  |NCAlt|NCAlternate=US {{{route}}}A North Carolina 1950.svg
  |NCAlt|NCAlternate=US {{{route}}}A North Carolina 1950.svg
  |#default=US {{{route}}} {{Infobox road/name/CRT/StateName|{{{state}}}}} 1950.svg
  |#default=US {{{route}}} {{Infobox road/name/CAR/StateName|{{{state}}}}} 1950.svg
  }}
  }}
|US 1961={{#switch:{{{state}}}
|US 1961={{#switch:{{{state}}}
Line 98: Line 98:
  }}
  }}
|SH|SR|{{{state}}}|Route|Hwy|K|M|U|Former={{#switch:{{{state}}}
|SH|SR|{{{state}}}|Route|Hwy|K|M|U|Former={{#switch:{{{state}}}
  |AK={{Infobox road/name/CRT/StateName|{{{state}}}}} {{{route}}} shield.svg
  |AK={{Infobox road/name/CAR/StateName|{{{state}}}}} {{{route}}} shield.svg
  |AR={{#switch: {{{route|}}}
  |AR={{#switch: {{{route|}}}
     |980=Arkansas 980(Airport).svg
     |980=Arkansas 980(Airport).svg
     |#default={{Infobox road/name/CRT/StateName|{{{state}}}}} {{{route}}}{{Infobox road/meta/mask/subtype2|{{{subtype|}}}|bus=B|spr=S|trk=T}}.svg
     |#default={{Infobox road/name/CAR/StateName|{{{state}}}}} {{{route}}}{{Infobox road/meta/mask/subtype2|{{{subtype|}}}|bus=B|spr=S|trk=T}}.svg
   }}
   }}
  |AS={{Infobox road/name/CRT/StateName|{{{state}}}}} Highway {{{route}}}.svg
  |AS={{Infobox road/name/CAR/StateName|{{{state}}}}} Highway {{{route}}}.svg
  |AZ={{Infobox road/name/CRT/StateName|{{{state}}}}} {{#switch:{{{route}}}|101|202|303=Loop {{{route}}}|#default={{{route}}}}}.svg
  |AZ={{Infobox road/name/CAR/StateName|{{{state}}}}} {{#switch:{{{route}}}|101|202|303=Loop {{{route}}}|#default={{{route}}}}}.svg
  |CO={{#switch:{{{route|}}}
  |CO={{#switch:{{{route|}}}
   |35=none
   |35=none
   |#default={{Infobox road/name/CRT/StateName|{{{state}}}}} {{{route}}}.svg
   |#default={{Infobox road/name/CAR/StateName|{{{state}}}}} {{{route}}}.svg
   }}
   }}
  |CT={{#switch:{{{type|}}}
  |CT={{#switch:{{{type|}}}
   |SR|SSR=none
   |SR|SSR=none
   |#default={{Infobox road/name/CRT/StateName|{{{state}}}}} Highway {{{route}}}.svg
   |#default={{Infobox road/name/CAR/StateName|{{{state}}}}} Highway {{{route}}}.svg
   }}
   }}
  |DE={{#iferror: {{#expr:1+{{{route}}}}}|Ellipse sign {{{route}}}.svg|{{#ifexpr:{{{route}}}<100
  |DE={{#iferror: {{#expr:1+{{{route}}}}}|Ellipse sign {{{route}}}.svg|{{#ifexpr:{{{route}}}<100
Line 174: Line 174:
  |VI=Circle sign {{{route}}}.svg
  |VI=Circle sign {{{route}}}.svg
  |WI=WIS {{{route}}}.svg
  |WI=WIS {{{route}}}.svg
  |#default={{Infobox road/name/CRT/StateName|{{{state}}}}} {{{route}}}.svg
  |#default={{Infobox road/name/CAR/StateName|{{{state}}}}} {{{route}}}.svg
  }}
  }}
|SH-old|SR-old|{{{state}}}-old|Route-old|M-old={{#switch:{{{state}}}
|SH-old|SR-old|{{{state}}}-old|Route-old|M-old={{#switch:{{{state}}}
Line 296: Line 296:
|FR|FH|FFH=Forest Route {{{route}}}.svg
|FR|FH|FFH=Forest Route {{{route}}}.svg
|Farm|FM={{#switch:{{{subtype|}}}
|Farm|FM={{#switch:{{{subtype|}}}
  |Spur=Texas Spur {{{route}}}.svg
  |Spur=Verona Spur {{{route}}}.svg
  |#default=Texas FM {{{route}}}.svg
  |#default=Verona FM {{{route}}}.svg
  }}
  }}
|Link={{#switch:{{{state}}}
|Link={{#switch:{{{state}}}
Line 304: Line 304:
  }}
  }}
|Loop={{#switch:{{{route}}}
|Loop={{#switch:{{{route}}}
  |8=Texas Beltway 8.svg
  |6=Verona Beltway 6.svg
  |#default=Texas Loop {{{route}}}.svg
|7=Verona Beltway 7.svg
|40=Verona Beltway 40.svg
  |#default=Verona Loop {{{route}}}.svg
  }}
  }}
|NER=New England {{{route}}}.svg
|NER=New England {{{route}}}.svg
|NFSB=National Forest Scenic Byway.svg
|NFSB=National Forest Scenic Byway.svg
|NSB=MUTCD D6-4.svg
|NSB=MUTCD D6-4.svg
|NTTA=Toll Texas {{PAGENAME}}.svg
|VCTA=Toll Verona {{PAGENAME}}.svg
|Park=Texas Park Road {{{route}}}.svg
|Park=Verona Park Road {{{route}}}.svg
|Pkwy|Parkway={{#switch:{{{state}}}
|Pkwy|Parkway={{#switch:{{{state}}}
  |¬={{#switch:{{{route}}}
  |¬={{#switch:{{{route}}}
Line 349: Line 351:
|PSH|SSH=WA-{{{type}}}{{{route}}}.svg
|PSH|SSH=WA-{{{type}}}{{{route}}}.svg
|QR=PA QR {{{route}}}.svg
|QR=PA QR {{{route}}}.svg
|Ranch|RM=Texas RM {{{route}}}.svg
|Ranch|RM=Verona RM {{{route}}}.svg
|Rec|RE={{#switch:{{{state}}}
|Rec|RE={{#switch:{{{state}}}
  |NE=N REC {{{route}}}.svg
  |NE=N REC {{{route}}}.svg
Line 364: Line 366:
  }}
  }}
|Scenic|SB={{#switch:{{{state|}}}
|Scenic|SB={{#switch:{{{state|}}}
  |AK|GA|NC|SC={{Infobox road/name/CRT/StateName|{{{state}}}}} Scenic Byway.svg
  |AK|GA|NC|SC={{Infobox road/name/CAR/StateName|{{{state}}}}} Scenic Byway.svg
  |AZ=Arizona Scenic Road Marker.svg
  |AZ=Arizona Scenic Road Marker.svg
  |CA=California Scenic.svg
  |CA=California Scenic.svg
Line 424: Line 426:
|Beach|Post|Postal|Ref|SSR|=none
|Beach|Post|Postal|Ref|SSR|=none
|#default=[[Category:Infobox road transclusion errors|& {{PAGENAME}}]]
|#default=[[Category:Infobox road transclusion errors|& {{PAGENAME}}]]
}}<noinclude>[[Category:United States highway infobox templates|{{PAGENAME}}]]</noinclude>
}}<noinclude>[[Category:Cartadania highway infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 15:00, 10 May 2024

none