Šablonas:Geobox

Šablonas iš Vikipedijos, laisvosios enciklopedijos.
Peršokti į: navigaciją, paiešką
Documentation icon Šablono dokumentacija[view] [redaguoti] [istorija] [atnaujinti]
Geobox Clipper.png
{{Geobox}}
This is an infobox template for all types of geographical locations. This new version, Geobox 2, supersedes the old geobox template, Geobox 1. As of Geobox 2, there is no need for any additional templates for particular geographical features, but rather just one template, which can handle all types of data, also used in Geobox 1. Except for the updated version number, all other fields remain unchanged.

Features[taisyti | redaguoti kodą]

Geobox 2 keeps the same functionality as Geobox 1:

  • automated wikilinking
  • automated unit conversion for metric/imperial
  • automated locator dot placement, based on coordinates or X/Y
  • there's no need to format the input data in any way, it is now handled by the template.

New features[taisyti | redaguoti kodą]

There are several new features:

  • additional fields
  • background maps
  • optional foldable list on all multiple fields
  • optional automated country and state flags
  • international categories, such as the World Heritage Site, eliminating the need for a second infobox on the same page

Why were these geoboxes created?[taisyti | redaguoti kodą]

  • To provide a means for a consistently-formatted table, which is present in articles with a common subject, to provide summary information consistently between articles and to improve navigation to closely related articles in that subject.
  • To maximally ease the creation of new infoboxes in the same style
  • To make the information in the infoboxes easier to transfer to other language Wikipedias and for future upgrades of the infobox layout, by using strict database-like fields.

See also[taisyti | redaguoti kodą]

  • Pagalba:Infolentelė, from the Editor Handbook
  • Aprašas, instructions for each field
  • History, version notes
  • Tipai, sample templates for buildings, nature protected areas, mountains, regions, settlements and water, etc.
  • Samples, several completed examples to view for reference