Help Wikitravel grow by contributing to an article! Learn how.

Template talk:Geo

From Wikitravel
Revision as of 14:36, 22 September 2009 by LtPowers (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This template is RDF code for inserting the geographical location of a place into the RDF metadata. See Wikitravel:Geocoding for usage information.

Datum[edit]

I assume it is WGS84? -- elgaard 12:53, 19 Dec 2005 (EST)

Spelling error[edit]

I think, the right manner of writing would be "longitude" instead of "longtitude". --Atlas 01:51, 19 Jan 2006 (EST)

The instructions on geocoding have the right spelling. I've taken out these old instructions. --Evan 12:00, 19 Jan 2006 (EST)

Microformat[edit]

Please consider including the Geo microformat. All it needs is:

<div class="geo">  <!-- or span, or some other container, such as <P> -->
 <abbr class="latitude" title="37.408183">N 37° 24.491</abbr> 
 <abbr class="longitude" title="-122.13855">W 122° 08.313</abbr>
</div>

I hope that Wikitravel:Microformats will be useful. Thank you. Andy Mabbett 16:06, 25 November 2006 (EST)

Maps[edit]

If I add this template I'll get a link in the bar on the left. This is a great feature, for e.g. Paris, where the map is incidentally in the right size. But it is not useful e.g. for the US, because the map section is by far too small. Is it possible to add another variable to this template describing the desired magnification? --Flip666 15:55, 6 February 2007 (EST)

Transpose to other language versions[edit]

I'd like to transpose this template to Portuguese Wikitravel but I'm not sure about a few issues:

  1. Is the Mapstraction feature already functional on pt:?
  2. Will it still work if we name the template something more friendly like Coordenadas (coordinates)?
  3. Can the "Page is about a place" and "The place is at this lat and long position" bits be translated?

Thank you, Ricardo (Rmx) 17:56, 6 April 2007 (EDT)

Yep. It all works. We have de:Vorlage:Geo on de:. -- Sapphire(Talk) • 18:00, 6 April 2007 (EDT)

Ok. I did some research.

You'll want to customize the following files:

I'm not sure about your last question, but I think you should be able to name the template whatever you want. -- Sapphire(Talk) • 18:20, 6 April 2007 (EDT)

I tried to implement this feature on :ru, but the mapstraction link does not appear in the toolbox. The template is here and the one article that is currently using it is here. Any ideas why this isn't working? --Peter Talk 18:02, 10 March 2008 (EDT)

Bug[edit]

I'm not sure why, but the inclusion of this template in the Washington, D.C. article causes all RDF features there to break. --Peter Talk 04:59, 19 September 2009 (EDT)

One possible debug method would be to subst the template and then (after making sure the RDF is still broken) edit the substituted code to see what triggers the failure. LtPowers 10:32, 22 September 2009 (EDT)

Variants

Actions

Destination Docents

In other languages