Template:Coord

From Bhikitia Pro, An open encyclopedia


Usage

This template is used to add geographical coordinates to a page.

Syntax

{{Coord|latitude|N/S|longitude|E/W|type=feature_type|display=inline|name=name}}

Parameters

  • latitude and longitude: Required values.
 - Enter the latitude and longitude in degrees.
 - Use `N` for north, `S` for south, `E` for east, and `W` for west.
  • type (optional): Describes the type of location. Examples include `city`, `landmark`, etc.
  • display (optional): Defines how the coordinates appear:
 - `inline` (default): Coordinates appear within the page text.
 - `title`: Coordinates are hidden in text but appear in the title bar.
 - `inline,title`: Coordinates appear both in the text and title.
  • name (optional): Adds a label for the coordinates when linked to maps.

Examples

Basic example:

{{Coord|23.8103|N|90.4125|E}}

Renders as: 23°48′37″N 90°24′45″E

Using the `type` and `display` parameters:

{{Coord|23.8103|N|90.4125|E|type=city|display=inline,title}}

Renders as: 23°48′37″N 90°24′45″E (with coordinates also in the title).

Notes

This template is designed for straightforward use without additional modules. It supports basic coordinate display needs.