টেমপ্লেট:GeoGroup

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে
নথি আইকন টেমপ্লেট নথি[দেখুন] [সম্পাদনা] [ইতিহাস] [শোধন]

{{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 Google Earth, NASA World Wind and similar applications.
  • Microformatted coordinates from the Wikipedia page in a GeoRSS file.
  • A link to Google Maps 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.

ব্যবহার[সম্পাদনা]

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.

ক্যাশে বিলম্ব[সম্পাদনা]

As pages are cached at Google and Bing, it is normal for the new template not to appear for several hours. Its appearance can be forced by altering the url on the browser. On the template click on the Google map link. Up comes an old map or one with error message. Go to the browser searchurl line (top left) change the address to:

https://maps.google.com/maps?q=http://toolserver.org/~para/cgi-bin/kmlexport%3Farticle%3DCurrent_article_name%26usecache%3D0 from ....%26usecache%3D1. That is: the last character changes from 1 to zero.

If it is in plain text try:

Putting usecache=0 instead of the usecache=1.

সংযোগস্থাপন[সম্পাদনা]

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.

বিস্তার[সম্পাদনা]

Other KML aware services may be added, as they become available; as might services converting the coordinates to GPX or other formats.

উদাহরণ[সম্পাদনা]

Point Coordinates
(links to map & photo sources)
Dudley Port Junction ৫২°৩১′১৯″ উত্তর ২°০২′৩৬″ পশ্চিম / ৫২.৫২২০৪° উত্তর ২.০৪৩৩১° পশ্চিম / 52.52204; -2.04331 (Dudley Port Junction)
Groveland Bridge (Titpon Road, A457) ৫২°৩১′০৩″ উত্তর ২°০২′৫১″ পশ্চিম / ৫২.৫১৭৫৮° উত্তর ২.০৪৭৬০° পশ্চিম / 52.51758; -2.04760 (Groveland Bridge (Titpon Road, A457))
Tividale Aqueduct (Old BCN Main Line) ৫২°৩০′৫৯″ উত্তর ২°০২′৫৪″ পশ্চিম / ৫২.৫১৬৪০° উত্তর ২.০৪৮৪৩° পশ্চিম / 52.51640; -2.04843 (Tividale Aqueduct (Old BCN Main Line))
Northern tunnel portal ৫২°৩০′৫৫″ উত্তর ২°০২′৫৮″ পশ্চিম / ৫২.৫১৫৩৪° উত্তর ২.০৪৯৪৮° পশ্চিম / 52.51534; -2.04948 (Northern tunnel portal)
Aston Road air vent ৫২°৩০′৩১″ উত্তর ২°০৩′১৯″ পশ্চিম / ৫২.৫০৮৫০° উত্তর ২.০৫৫১৮° পশ্চিম / 52.50850; -2.05518 (Aston Road air vent)
Regent Road air vent ৫২°৩০′২৫″ উত্তর ২°০৩′২৫″ পশ্চিম / ৫২.৫০৬৯৭° উত্তর ২.০৫৭০৮° পশ্চিম / 52.50697; -2.05708 (Regent Road air vent)
Approx. tunnel mid-point ৫২°৩০′১৬″ উত্তর ২°০৩′৩৪″ পশ্চিম / ৫২.৫০৪৩৫° উত্তর ২.০৫৯৩২° পশ্চিম / 52.50435; -2.05932 (Approx. tunnel mid-point)
Southern tunnel portal ৫২°২৯′৩৬″ উত্তর ২°০৪′০৯″ পশ্চিম / ৫২.৪৯৩৩৫° উত্তর ২.০৬৯১৬° পশ্চিম / 52.49335; -2.06916 (Southern tunnel portal)
Windmill End Junction ৫২°২৯′৩০″ উত্তর ২°০৪′১৩″ পশ্চিম / ৫২.৪৯১৫৭° উত্তর ২.০৭০১৯° পশ্চিম / 52.49157; -2.07019 (Windmill End Junction)

বুকমার্কেট[সম্পাদনা]

To added the template to categories, you may want to use the bookmarklet 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())}