ढाँचा:Infobox road small/कागजात

विकिपिडिया, एक स्वतन्त्र विश्वकोशबाट


Infobox road small is a compact version of {{infobox road}} that is intended to be used where the full infobox would be a bit excessive or unwieldy, such as in a subsection of an article.

Usage[सम्पादन गर्नुहोस्]

The infobox accepts four mandatory parameters and seven optional parameters.

Mandatory
  • One of the following:
    • country: country that the route is in
    • province: province that the route is in (for Canadian provinces only)
    • state: state that the route is in (for U.S. and Mexican states only)
  • type: type of the route
  • route: the number of the route
  • location: location of the route, either a single location or the locations of the route's termini separated by an en dash
Optional
  • name: overrides the highway name displayed by default; use only if necessary
  • shield: overrides the shield displayed by default; use only if necessary. Use "shield=none" if the route does not have a shield.
  • county: county that the route is in (necessary only for county routes)
  • subtype: the type of special route that the route is (necessary only for special routes)
  • length_mi: length of the route (use only if length is in miles)
  • length_km: length of the route (use only if length is in kilometers)
  • length_ref: reference for the length
  • length_round: the decimal precision of the length
  • formed: year that the designation was assigned
    • historic: set as yes for historic routes never formally decommissioned
  • deleted: year that the designation was removed
  • yr_ref: unified reference for formed/deleted years that displays at the end of the line. You can optionally add individual refs in the "formed" and "deleted" fields.
  • header_type: the infobox will use the color coding set up in {{infobox road}} for a country/state/province for each type of roadway. For other cases, the infobox has a small set of alternate header shades for specific sets of articles. They are:
    • under construction: for roads where construction has begun on the highway and no sections have been opened to traffic. Do not use for roads that are open to traffic in some capacity. (Alternate values: const, uc)
    • historic: for roads of a historic nature, such as auto trails or highways posted with brown, historical signage. (Alternate values: historical, hist)
    • former: for highway designations no longer maintained by the corresponding government authority. (Alternate value: decommissioned)
    • freeway: Canada only. For roads that are freeways for their entire length.
    • minor: UK only. For A roads signed with black-on-white markers.

Blank syntax[सम्पादन गर्नुहोस्]

{{Infobox road small
|country=
|province=
|state=
|county=
|type=
|route=
|name=
|shield=
|subtype=
|location=
|length_mi=
|length_km=
|length_ref=
|length_round=
|formed=
|deleted=
|historic=
|yr_ref=
}}

Examples[सम्पादन गर्नुहोस्]

Interstate 5 Business
Location:National City, California
Existed:1960s–1990s
{{Infobox road small
|state=CA
|type=BL
|route=5
|location=[[National City, California]]
|formed=1960s
|deleted=1990s
}}

U.S. Route 1-9 Truck
Location:Jersey City, New Jersey
Length:4.11 mi[१] (६.६१ km)
{{infobox road small
|state=NJ
|type=US
|route=1-9
|subtype=TRUCK
|location=[[Jersey City, New Jersey]]
|length_mi=4.11
|length_round=2
|length_ref=<ref name=SLD2>{{cite web|url=http://www.state.nj.us/transportation/refdata/sldiag/00000001T_-.pdf|title=U.S. Route 1-9 Truck straight line diagram|publisher=New Jersey Department of Transportation|accessdate=2007-04-12}}</ref>
}}

See also[सम्पादन गर्नुहोस्]

  • {{infobox road}}, a fully functional infobox intended to be used as an article's main infobox

References[सम्पादन गर्नुहोस्]

  1. "U.S. Route 1-9 Truck straight line diagram", New Jersey Department of Transportation, अन्तिम पहुँच २००७-०४-१२