Template:Geographic location: Difference between revisions

From Cvillepedia
Jump to navigation Jump to search
(New page: {| class="navbox" style="width: 80%; font-size:95%; margin:0.5em auto;" | width="5%" style="text-align: center;" rowspan="5"| | width="30%" style="text-align: center;" | {{{Northwest|}}} |...)
 
(cvillepedia doesn't like .svg images? replacing the text with arrows to try to get this closer to the wikipedia version.)
Line 14: Line 14:
|-  
|-  
| width="30%" style="text-align: center;" rowspan="3" | {{{West|}}}
| width="30%" style="text-align: center;" rowspan="3" | {{{West|}}}
| width="30%" style="text-align: center;" | ''North''
| width="30%" style="text-align: center;" | '''↑'''
| width="30%" style="text-align: center;" rowspan="3" | {{{East|}}}
| width="30%" style="text-align: center;" rowspan="3" | {{{East|}}}
|-
|-
| width="30%" style="text-align: center;" nowrap="nowrap" | ''West''   '''{{{Centre|{{{Center|(enter city)}}}}}}'''    ''East''
| width="30%" style="text-align: center;" nowrap="nowrap" | '''←'''   '''{{{Centre|{{{Center|(enter city)}}}}}}'''    '''→'''  
<!--"Centre" OR "Center" will work; the code looks for "Centre" first, then "Center", using "(enter city)" if neither is found. This code is to ensure the template functions with both the Canadian and American variants of "centre".-->
<!--"Centre" OR "Center" will work; the code looks for "Centre" first, then "Center", using "(enter city)" if neither is found. This code is to ensure the template functions with both the Canadian and American variants of "centre".-->
|-
|-
| width="30%" style="text-align: center;" | ''South''
| width="30%" style="text-align: center;" | '''↓'''
|-
|-
| width="30%" style="text-align: center;" | {{{Southwest|}}}
| width="30%" style="text-align: center;" | {{{Southwest|}}}

Revision as of 13:31, 9 July 2009

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 "Center"; the template defaults to an "(enter city)" in the centre of the box message if nothing is entered here.

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.)

Usage

{{Geogragphic location
|Center=
|Northwest=
|North=
|Northeast=
|East=
|Southeast=
|South=
|Southwest=
|West=
}}

Include links after the "=" for the community located in that direction; eliminate the direction if you do not desire that in your results.