Template:Infobox pier/doc

From The Democratikan Wiki
Revision as of 07:54, 21 May 2023 by wikipedia>WOSlinker (→‎Usage: type)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

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

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]]
{{{caption}}}
Type{{{type}}}
Carries{{{carries}}}
Spans{{{crosses}}}
Locale{{{locale}}}
Official name{{{official_name}}}
Owner{{{owner}}}
Operator{{{operator}}}
Maintained by{{{maint}}}
Toll{{{toll}}}
Characteristics
ID number{{{id}}}
Longest span{{{mainspan}}}
Construction{{{construction}}}
Total length{{{length}}}
Width{{{width}}}
Vertical clearance{{{clearance}}}
Clearance below{{{below}}}
History
Designer{{{design}}}
Opening date{{{open}}}
Renovated{{{renovated}}}
Listed{{{listed}}}
Closure date{{{closed}}}
Destruction date{{{destroyed}}}
Demolition date{{{demolished}}}
Coordinates{{{coordinates}}}
[[File:{{{map_image}}}|{{{map_width}}}|alt={{{map_alt}}}]]
{{{map_cue}}}
{{{map_text}}}
{{{extra}}}

<syntaxhighlight lang="wikitext" style="overflow:auto;">

Infobox pier/doc
Characteristics
History

</syntaxhighlight>

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