Шаблон:Infobox pier
Usage
Copy and paste the template below, removing any unused parameters:
{{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=)
- Use
|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.