Template:Hcard-geo

From Wikipedia, the free encyclopedia

 Template:hcard-geo has been deprecatedin favor of Template:coord.› {{{name}}} ({{{coordinates}}})

[edit] Template documentation

Contents

[edit] Purpose

This template creates an inline hCard microformat for a building, organisation or place (for inline hCards for people, see {{Hcard-bday}}).

[edit] Use

The tempalte has two parameters:

{{hcard-geo
|name=
|coordinates=
}}
  • name = the subject's name
    • creates hCard's "fn org" class
  • coordinates = a {{coord}} template (use display=inline; unless the coordinates apply to the whole article, in which case use display=inline,title. Do not use display=title; for that, use {{hcard-geo-title}}.)

[edit] Example

lorem {{hcard-geo
|name=Battersea Power Station
|coordinates={{coord|51|28|57|N|0|08|41|W|region:GB_type:landmark|display=inline}}
}} ipsum

which may be written in one line, as:

lorem {{hcard-geo|name=Battersea Power Station|coordinates={{coord|51|28|57|N|0|08|41|W|region:GB_type:landmark|display=inline}}}} ipsum

gives:

lorem  Template:hcard-geo has been deprecatedin favor of Template:coord.› Battersea Power Station (51°28′57″N 0°08′41″W / 51.4825, -0.14472) ipsum

[edit] Coordinates

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