Difference between revisions of "Template:Location box"
Jump to navigation
Jump to search
Ben Barrett (talk | contribs) |
Ben Barrett (talk | contribs) |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| style="vertical-align: top; padding-top: | {| 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}}} {{{GPS1}}} {{{GPS2}}}] | | [https://www.google.com/maps/place/{{{GPS1}}}+{{{GPS2}}} {{{GPS1}}} {{{GPS2}}}] | ||
| | |||
|- {{ #if: {{{image|}}} | | style="display: none;"}} | |||
| {{{image}}} | |||
|}<noinclude><br><br> | |}<noinclude><br><br> | ||
How to use this template:<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] | GPS1 = 48°19′33″N | GPS2 = 122°1′13″W }}}} | {{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> | <br> | ||
* GPS1 = the first portion of the global coordinates (north/south) | * 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) | * GPS2 = the second portion of the global coordinates (east/west) | ||
* GPS1 and GPS2 cannot have any internal spaces. | * GPS1 and GPS2 cannot have any internal spaces. | ||
A Google link for the coordinates will be generated automatically. See an example at [[ | A Google link for the coordinates will be generated automatically. See an example at [[q̓ilbəc̓]]. | ||
</noinclude> | </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̓.