Шаблон:Infobox pier

Мавод аз Википедиа — донишномаи озод
Jump to navigation Jump to search
[вироиш] Template-info.svg Ҳуҷҷатҳои шаблон
Information.svg Ҳуҷҷатҳо

Usage[вироиш]

Copy and paste the template below, removing any unused parameters:

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|{{{alt}}}]]
{{{caption}}}
Official name {{{official_name}}}
Type {{{type}}}
Carries {{{carries}}}
Spans {{{crosses}}}
Locale {{{locale}}}
Maintained by {{{maint}}}
ID number {{{id}}}
Design {{{design}}}
Construction {{{construction}}}
Owner {{{owner}}}
Operator {{{operator}}}
Longest span {{{mainspan}}}
Total length {{{length}}}
Width {{{width}}}
Vertical clearance {{{clearance}}}
Clearance below {{{below}}}
AADT {{{traffic}}}
Opening date {{{open}}}
Destruction date {{{closed}}}
Toll {{{toll}}}
Coordinates {{{coordinates}}}
[[File:{{{map_image}}}|{{{map_width}}}|alt={{{map_alt}}}|{{{map_alt}}}]]
{{{map_cue}}}
{{{map_text}}}
{{{extra}}}
{{Infobox pier
| name          = 
| image         = 
| image_size    = 
| alt           = 
| caption       = 
| official_name = 
| carries       = 
| spans         = 
| locale        = 
| type          = 
| maint         = 
| id            = 
| design        = 
| construction  = 
| owner         = 
| operator      = 
| mainspan      = 
| length        = 
| width         = 
| clearance     = 
| below         = 
| traffic       = 
| open          = 
| closed        = 
| toll          = 
| map_cue       = 
| map_image     = 
| map_text      = 
| map_width     = 
| coordinates   = 
| lat           = 
| long          = 
}}

Parameter descriptions[вироиш]

  • |name= Name of pier
  • |image= Filename of image of the pier
  • |image_size= Width of image in px (use only for images smaller than 250px)
  • |alt= Alternative text for image (see WP:ALT)
  • |caption= Text for caption beneath image
  • |official_name= Official name
  • |carries= Type of vehicles pier carries
  • |spans= Body of water or geographic feature that is being spanned
  • |locale= General area where located (San Francisco, Indiana-Kentucky State Line)
  • |type= Victorian Pleasure Pier, Amusement Pier, Working Pier, Fishing Pier, Industrial Pier, Coal Pier
  • |maint= Maintaining Entity (California Department of Transportation)
  • |id= National Pier ID#, if available
  • |design= Name of pier designer
  • |construction= Company that built the pier
  • |owner= Owner
  • |operator= Operator
  • |mainspan= Length of main span, w/ metric conversions (consider using {{convert}} or similar)
  • |length= Length of Pier, w/ metric conversions (consider using {{convert}} or similar)
  • |width= Width of Pier, w/ metric conversions (consider using {{convert}} or similar)
  • |clearance= Clearance on top of the pier, if proper
  • |below= Clearance beneath the pier
  • |traffic= Annual average daily traffic
  • |open= Opening date
  • |closed= Closing date
  • |toll= Price of the toll (if a toll pier)
  • |map_cue=
  • |map_image= Filename of map image of pier
  • |map_text= Caption beneath map image of pier
  • |map_width= Map width in a standard value (pixels, for example)
  • |coordinates= Latitude and longitude
    • Use {{coord}} with |display=inline,title
    • (use either |coordinates= or both |lat= and |long=)
  • |lat= Latitude
  • |long= Longitude
  • |extra= Any additional notes

Microformat[вироиш]

The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates[вироиш]

If the place or venue has an "established", "founded", "opened" or similar date, use {{start date}} unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes[вироиш]

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • url
  • vcard

Geo is produced by calling {{coord}}, and uses HTML classes:

  • geo
  • latitude
  • longitude

Please do not rename or remove these classes nor collapse nested elements which use them.

Precision[вироиш]

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.

See also[вироиш]