Difference between revisions of "Template:Adjacent communities/doc"
blackwiki>Jonverve (add) |
blackwiki>Jonverve (add) |
||
| Line 3: | Line 3: | ||
{{mergefrommulti|GeoCompass|Compass-table}} | {{mergefrommulti|GeoCompass|Compass-table}} | ||
== Usage == | == Usage == | ||
| + | <font size=4>This template is used on roughly [http://en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/Template:Geographic_Location&limit=1000 6500 pages].</font> | ||
<pre> | <pre> | ||
Revision as of 19:00, 19 July 2009
| This is a documentation subpage for Template:Adjacent communities. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This template is used on roughly 6500 pages.
{{Geographic Location
|Centre =
|North =
|Northeast =
|East =
|Southeast =
|South =
|Southwest =
|West =
|Northwest =
}}
This template provides for a convenient compass-based navigational aid for articles about communities. It allows you to display the communities surrounding the subject of your article. The only required field is "Centre"; the template defaults to an "(enter city)" in the centre of the box message if nothing is entered here (see note below). The fields Northwest, North, Northeast, West, East, Southwest, South, and Southeast are optional. They will be hidden when not used; when values are entered for the relevant parameters, the fields will automatically appear. (Normal Wiki markup can be used in the fields, such as links, colours, and bold/italics.)
Here is a demonstration for the fictional town of Centreville:
*To ensure that the template does not fail if the American spelling "center" is used, there is coding for both variants. The template will first look for a value in "Centre", then in "Center"; it defaults to the "(add city)" message if both are left blank.
See also
- {{GeoCompass}} - different, but same basic layout
- {{Compass-table}} - simpler