Template talk:Infobox road/banner
Appearance
Edit request from Imzadi1979, 7 September 2011
[edit]![]() | This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Replace with the following code:
{{#if:{{{subtype|}}}|{{#switch:{{{state}}}{{Infobox road/banner/SH|{{{type}}}|{{{state}}}}}{{{subtype|}}}<!--TYPES THAT DO NOT USE BANNER PLATES--> |ARSHBus|ARSHSpur|ARSHTruck|ARUSBus|ARUSSpur|ARUSTruck|IDUSScenic|IDSHScenic|MDUSBus|MDSHBus|NHSHByp|GASHAlt|GASHByp|GASHConn|GASHLoop|GASHSpur|MNSHBus|TXFMBus= |#default=[[File:{{#switch:{{Infobox road/banner/SH|{{{type}}}|{{{state}}}}}-{{{subtype}}} |US-Alt|US 1926-Alt|US 1948-Alt|US 1961-Alt={{#switch:{{{state}}} |DE|MD|SC|WV=Alt plate.svg |#default=Alternate plate.svg }} |M-old-Alt|M-Alt|SH-Alt={{#switch:{{{state}}} |SC=Alt plate South Carolina.svg |VT=Alternate plate Vermont.svg |DE|MD|WV=Alt plate.svg |#default=Alternate plate.svg }} |CR-Alt={{#switch:{{{state}}} |NJ=Alt |#default=Alternate }} plate county.svg |US-Bus|US 1948-Bus|US 1961-Bus=Business plate.svg |M-Bus|FM-Bus|RM-Bus|SH-Bus=Business plate{{#switch:{{{state}}}|LA|CA= green|SC|VT= {{StateName|{{{state}}}}}|#default=}}.svg |US 1926-Bus|SH-old-Bus|M-old-Bus=Business plate old.svg |CR-Bus=Business plate county.svg |US-Byp|US 1926-Byp|US 1948-Byp|US 1961-Byp|M-Byp|M-old-Byp|SH-Byp=By-pass plate.svg |CR-Byp=By-pass plate county.svg |US-Conn|US 1926-Conn|US 1948-Conn|US 1961-Conn|Town-Conn=Connector plate.svg |M-old-Conn|M-Conn|SH-Conn=Connector plate{{#switch:{{{state}}}|VT|WY= {{StateName|{{{state}}}}}|#default=}}.svg |US-Emerg|M-Emerg|SH-Emerg|I-Emerg|Interstate-Emerg=Emergency plate.svg |CR-Old=Old plate county.svg |US-Opt|US 1926-Opt|US 1948-Opt|US 1961-Opt|SH-Opt=Optional plate.svg |US-Scenic|US 1926-Scenic|US 1948-Scenic|US 1961-Scenic=Scenic plate.svg |US-Spur|US 1926-Spur|US 1948-Spur|US 1961-Spur=Spur plate.svg |M-old-Spur|M-Spur|SH-Spur=Spur plate{{#switch:{{{state}}}|LA= green|SD|WY= {{StateName|{{{state}}}}}|#default=}}.svg |CR-Spur=Spur plate county.svg |US-Temp|US 1926-Temp|US 1948-Temp|US 1961-Temp|SH-Temp=Temporary plate.svg |US-Toll|SH-Toll=Toll plate.svg |US-Truck|US 1926-Truck|US 1948-Truck|US 1961-Truck=Truck plate.svg |M-Truck|M-old-Truck|SH-Truck=Truck plate{{#switch:{{{state}}}|SC= {{StateName|{{{state}}}}}|#default=}}.svg |CR-Truck=Truck plate county.svg |#default=}}|{{{size}}}{{#ifeq:{{{alt_text|}}}|yes|{{!}}alt={{#switch:{{{subtype}}} |Alternate|Business|By-pass|Scenic|Spur|Truck|Old|Toll={{{subtype}}} |Alt=Alt |Bus=Business |Emerg=Emergency |Byp|Bypass=By-pass |Conn=Connector |Trk=Truck }}|{{!}}link={{!}}alt=}}]]<br>}}|}}
This will add Michigan's two types as needed for Byp and Truck banners. Imzadi 1979 → 21:18, 7 September 2011 (UTC)
Edit request from Imzadi1979, 8 September 2011
[edit]![]() | This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
To every line of the coding that lists "M-<subtype>", please add "M 1948-<subtype>" and wherever there is "M-old-<subtype>", please add "M 1926-<subtype>". This will set up the split in the old Michigan cutouts for the two types. (Thankfully, the 1919 edition never had banners!). Imzadi 1979 → 23:04, 8 September 2011 (UTC)