Template:Hcard-geo
From Wikipedia, the free encyclopedia
{{{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}}.)
- emits a geo microformat as part of hCard
[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 Battersea Power Station ( ) ipsum
[edit] Coordinates
When giving coordinates, please don't be overly precise.