Difference between revisions of "Template:Location box"
Jump to navigation
Jump to search
Ben Barrett (talk | contribs) |
Ben Barrett (talk | contribs) |
||
(21 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| style="vertical-align: top; padding-left: 10px; padding-right: 10px; float: right; width: | {| style="vertical-align: top; padding-top: 5px; padding-bottom: 5 px; padding-left: 10px; padding-right: 10px; float: right; width: 35%; background-color: #A3C1AD;" | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| '''Location:''' | | '''Location:''' | ||
| {{{1}}} | | {{{1}}} | ||
|- {{ #if: {{{Link name|}}} | | style="display: none;"}} | |||
| '''See also:''' | |||
| [{{{Link}}} {{{Link name}}}] | |||
|- {{ #if: {{{GPS1|}}} | | style="display: none;"}} | |- {{ #if: {{{GPS1|}}} | | style="display: none;"}} | ||
| ''' | | '''Google Maps:''' | ||
| [https://www.google.com/maps/place/{{{GPS1}}}{{{GPS2}}}] | | [https://www.google.com/maps/place/{{{GPS1}}}+{{{GPS2}}} {{{GPS1}}} {{{GPS2}}}] | ||
|} | | | ||
|- {{ #if: {{{image|}}} | | style="display: none;"}} | |||
| {{{image}}} | |||
|}<noinclude><br><br> | |||
'''How to use this template:'''<br> | |||
This template is for a box for geographical locations that displays in the upper right-hand corner. Example form: | |||
{{DE box |1={{Location box | Description of location which may include an [external_link] | Wikipedia | https://www.wikipedia.org/wiki/Page_Name | GPS1 = 48°19′33″N | GPS2 = 122°1′13″W }}}} | |||
<br> | |||
* The description is required and must be after the first | symbol. | |||
* Link name = Optionally add an external website with more description, such as Wikipedia | |||
* Link = the URL of the above website without brackets | |||
* GPS1 = optional; the first portion of the global coordinates (north/south) | |||
* GPS2 = the second portion of the global coordinates (east/west) | |||
* GPS1 and GPS2 cannot have any internal spaces. | |||
A Google link for the coordinates will be generated automatically. See an example at [[q̓ilbəc̓]]. | |||
</noinclude> |
Latest revision as of 04:57, 26 March 2016
Location: | {{{1}}} |
How to use this template:
This template is for a box for geographical locations that displays in the upper right-hand corner. Example form:
- The description is required and must be after the first | symbol.
- Link name = Optionally add an external website with more description, such as Wikipedia
- Link = the URL of the above website without brackets
- GPS1 = optional; the first portion of the global coordinates (north/south)
- GPS2 = the second portion of the global coordinates (east/west)
- GPS1 and GPS2 cannot have any internal spaces.
A Google link for the coordinates will be generated automatically. See an example at q̓ilbəc̓.