Template:Infobox docks/doc

Coordinates: 53°24′46″N 3°03′24″W / 53.412857°N 3.056538°W / 53.412857; -3.056538
From The Democratikan Wiki

Usage

This template generates an infobox for docks. Below is the basic syntax that you need to get a complete infobox for an article. Place this below any hatnotes and before any other text and fill in the variables. If a variable is empty, it can and should be omitted. Other, more specific parameters exist and are described in detail below.

Syntax

This is the basic code you need to set up an infobox for a dock:

<syntaxhighlight lang="wikitext" width=100%> </syntaxhighlight>

Example

Bidston Dock
File:Iron ore unloaders, Birkenhead 1964.jpg
Location
LocationBirkenhead , United Kingdom
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
OS gridSJ297909
Details
OwnerMersey Docks and Harbour Company
Opened1933 (1933)

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

Bidston Dock
File:Iron ore unloaders, Birkenhead 1964.jpg
Location
LocationBirkenhead, United Kingdom
CoordinatesLua error in Module:Coordinates at line 489: attempt to index field 'wikibase' (a nil value).
OS gridSJ297909
Details
OwnerMersey Docks and Harbour Company
Opened1933 (1933)

</syntaxhighlight>

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