Jump to content

Module:Titled coords/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by RedWolf (talk | contribs) at 20:54, 20 October 2023 (module documentation). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Description

This module generates titled coordinates from raw coordinates extracted from Wikidata. Currently, {{Wikidata}} does not support adding a title when requesting coordinates. So, when {{GeoGroup}} is used on a page with coordinates directly from Wikidata, the OpenStreetMap page will show an ordinal number as the title for each listed coordinate rather than a useful title. Using this module fixes the problem.

Pages should not call this module directly but rather use {{Titled_coords}} as it supports both named and unnamed parameters.

Usage

{{#invoke:Titled coords|main|Wikidata raw coords|title|options}}