Template:Infobox pier/doc

From IxWiki
Jump to navigation Jump to search

Usage

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

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]]
{{{caption}}}
Official name{{{official_name}}}
Type{{{type}}}
Carries{{{carries}}}
Spans{{{crosses}}}
Locale{{{locale}}}
Maintained by{{{maint}}}
ID number{{{id}}}
Designer{{{design}}}
Constructor{{{construction}}}
Owner{{{owner}}}
Operator{{{operator}}}
Longest span{{{mainspan}}}
Total length{{{length}}}
Width{{{width}}}
Vertical clearance{{{clearance}}}
Clearance below{{{below}}}
AADT{{{traffic}}}
Opening date{{{open}}}
Renovated{{{renovated}}}
Closed date{{{closed}}}
Demolition date{{{demolished}}}
Listed status{{{listed}}}
Toll{{{toll}}}
Coordinates{{{coordinates}}}
[[File:{{{map_image}}}|{{{map_width}}}|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  = 
| completion_date =
| owner         = 
| operator      = 
| mainspan      = 
| length        = 
| width         = 
| clearance     = 
| below         = 
| traffic       = 
| open          = 
| renovated     = <!-- or | rebuilt = -->
| closed        = 
| demolished    =
| destroyed     =
| listed        =
| toll          = 
| map_cue       = 
| map_image     = 
| map_text      = 
| map_width     = 
| coordinates   = <!-- {{coord|display=inline,title}} -->
}}

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
  • |completion_date= Date construction complete
  • |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
  • |demolished= Demolition date
  • |destroyed= Destruction date (usually by storm or collision)
  • |listed= Listed building status (if applicable)
  • |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
  • |extra= Any additional notes

Microformat

The HTML markup 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 "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates 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