کينډۍ:GeoGroup/doc
{{GeoGroup}} generates an infobox type list of external links to services that present or display all coordinates listed on certain Wikipedia articles that have multiples of coordinates. The template is also capable of generating all the title coordinates from many articles listed in a single Wikipedia category. The template is intended to be inserted in the External links section of articles, or inside a section with a list or table of features, if appropriate (e.g. see Tame Valley Canal).
The linked services allow the following results:
- Coordinates from the Wikipedia page or category in a KML file suitable for use in گوگل ارټ, ناسا ورلډ وینډ and similar applications.
- Microformatted coordinates from the Wikipedia page in a GeoRSS file.
- A link to گوگل میپس with the waypoints plotted onto the map. Note that Google caches data and may at times show a previous revision instead of the latest one. In this case wait a moment before refreshing.
- A link to Bing map with the waypoints plotted onto the map. Note that if the page or category has more than 200 coordinates, Bing would present a maximum of just the first 200 points.
Inline coordinates can be associated with a name using {{Coord}} with the |name=
parameter, such as:
- {{coord|1|2|type:landmark|name=Interesting uncharted point in the sea}}
However, do not use the |name=
parameter when the coordinates are within a parent template or table which emits a microformat, such as an infobox.
This template is not intended for articles with single sets of coordinates; such coordinates already link indirectly to {{GeoTemplate}}.
To use this template, add {{GeoGroup}} to the External links section of an article, or, for list articles with no title coordinate, at the top of the article.
Usage
سمولThere are three optional parameters that are useful mainly in articles—not categories:
- {{GeoGroup|article=article name}}
article= The name of article or category, from which coordinates will be displayed. (Can be a category, as shown in List of stations in London fare zone 2#List of stations)
- {{GeoGroup|article=article name|articlee=article_name}}
articlee= Encoded name of the article. The encoding process here involves changing spaces to underscores ( _ ), everything else is taken care of by the urlencode magic word.
- {{GeoGroup|section=section name}}
section= The section parameter arranges most of the links to use only coordinates in the named section of the article. This is useful to limit the number seen at one time in articles with many coordinates. For examples, see List of rapids of the Columbia River.
There is one optional parameters for use with categories:
- {{GeoGroup|level=0,1,2,3,...}}
level= Category recursion level, where 0 means unlimited
A section-specific GeoGroup makes most sense placed within the section it refers to.
Linking
سمولLinks may be made directly to a page's instance of the template, with the ID GeoGroup
, by using [[#GeoGroup|Example Link Text]]
, which produces: Example Link Text.
Expansion
سمولOther KML aware services may be added, as they become available; as might services converting the coordinates to GPX or other formats.
Examples
سمولPoint | Coordinates (links to map & photo sources) |
---|---|
Dudley Port Junction | ۵۲°۳۱′۱۹″شمال ۲°۰۲′۳۶″لويديځ / 52.52204°شمال 2.04331°لويديځ |
Groveland Bridge (Titpon Road, A457) | ۵۲°۳۱′۰۳″شمال ۲°۰۲′۵۱″لويديځ / 52.51758°شمال 2.04760°لويديځ |
Tividale Aqueduct (Old BCN Main Line) | ۵۲°۳۰′۵۹″شمال ۲°۰۲′۵۴″لويديځ / 52.51640°شمال 2.04843°لويديځ |
Northern tunnel portal | ۵۲°۳۰′۵۵″شمال ۲°۰۲′۵۸″لويديځ / 52.51534°شمال 2.04948°لويديځ |
Aston Road air vent | ۵۲°۳۰′۳۱″شمال ۲°۰۳′۱۹″لويديځ / 52.50850°شمال 2.05518°لويديځ |
Regent Road air vent | ۵۲°۳۰′۲۵″شمال ۲°۰۳′۲۵″لويديځ / 52.50697°شمال 2.05708°لويديځ |
Approx. tunnel mid-point | ۵۲°۳۰′۱۶″شمال ۲°۰۳′۳۴″لويديځ / 52.50435°شمال 2.05932°لويديځ |
Southern tunnel portal | ۵۲°۲۹′۳۶″شمال ۲°۰۴′۰۹″لويديځ / 52.49335°شمال 2.06916°لويديځ |
Windmill End Junction | ۵۲°۲۹′۳۰″شمال ۲°۰۴′۱۳″لويديځ / 52.49157°شمال 2.07019°لويديځ |
Bookmarklet
سمولTo added the template to categories, you may want to use the بوکمارکلت below. Sample edit: [۱]
javascript:with(document.forms[0]){void(wpSummary.value+='+{{[[Template:GeoGroup|GeoGroup]]}}%20(see%20also%20[[Wikipedia:WikiProject_Geographical_coordinates|WP:GEO]]');void(wpTextbox1.value='{{GeoGroup}}'+wpTextbox1.value);void(wpSave.click())}