Template:Infobox pier/doc

From The Global Wiki
< Template:Infobox pier
Revision as of 14:20, 4 July 2021 by en>Stuffed cat (→‎Usage: Comments revised)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

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

Script error: No such module "Parameter names example".

{{Infobox pier
| name          = 
| image         = 
| image_size    = 
| alt           = 
| caption       = 
| official_name =
| type 
| carries       = 
| spans         = 
| locale        = 
| maint         = 
| id            = 
| design        = 
| designer      =
| construction  = 
| constructor   =  
| start         =  
| completed     =
| open          = 
| inaugurated   =
| owner         = 
| operator      = 
| mainspan      = 
| length        = 
| width         = 
| clearance     = 
| below         = 
| traffic       = 
| renovated     = <!-- or | rebuilt = -->
| closed        = 
| destroyed     =
| demolished    =
| listed        =
| toll          = 
| map_cue       = 
| map_image     = 
| map_text      = 
| map_width     = 
| coordinates   = <!-- {{coord|dd|mm|ss|N|dd|mm|ss|E|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
  • |type= Victorian pleasure pier, Amusement pier, Working pier, Fishing pier, Industrial pier, Coal pier
  • |carries= Type of vehicles pier carries
  • |spans= Body of water or geographic feature that is being spanned
  • |locale= General area where located (e.g. San Francisco, Indiana-Kentucky state line)
  • |maint= Maintaining entity (e.g. California Department of Transportation)
  • |id= National Pier ID#, if available
  • |designer= Name of pier designer
  • |constructor= Company that built the pier
  • |start= Date construction started
  • |completed= Date construction complete
  • |open= Opening date - even if partial opening
  • |inaugurated= Official opening date when control and ownership is (ceremonially) passed over
  • |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
  • |rebuilt= Date renovated or rebuilt |renovated= also available
  • |closed= Closure date
  • |destroyed= Destruction date (usually by storm or collision)
  • |demolished= Demolition date
  • |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

Template loop detected: Template:Buildings and structures infobox templates