Template:Infobox Cave/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Infobox Cave (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

[edit] Usage

This is modelled on Template:Infobox Mountain

{{Infobox Cave
| name =
| photo =
| caption =
| location =
| depth =
| length =
| coordinates =
| survey =
| survey electronic format = (which cave software is it in)
| discovery =
| geology =
| number of entrances =
| list of entrances =
| difficulty =
| hazards =
| access =
| translation =
| language =
| pronunciation =
}}

[edit] Coordinates

For coordinates, use {{coord}} with display=inline,title. Please do not be overly precise.

[edit] 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 article 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.

hCard uses HTML classes including:

  • "adr"
  • "county-name"
  • "fn"
  • "label"
  • "locality"
  • "nickname"
  • "note"
  • "org"
  • "region"
  • "street-address"
  • "vcard"

Geo is produced by calling {{coord}}, and uses HTML classes:

  • "geo"
  • "latitude"
  • "longitude"

Please do not rename or remove these classes.

When giving coordinates, please don't be overly precise.