Difference between revisions of "Template:Location box"

From Lushootseed Wiki Dictionary
Jump to navigation Jump to search
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{|  style="vertical-align: top; padding-left: 10px; padding-right: 10px; float: right; width: 30%; background-color: #90EE90;"
{|  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: {{{GPS|}}} | | style="display: none;"}}
 
| '''GPS:''  
|- {{ #if: {{{Link name|}}} | | style="display: none;"}}
| {{{2}}}
| '''See also:'''
|}
| [{{{Link}}} {{{Link name}}}]
|- {{ #if: {{{GPS1|}}} | | style="display: none;"}}
| '''Google Maps:'''
| [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=&#123;&#123;Location box &#124; Description of location which may include an [external_link]  &#124; Wikipedia &#124; https://www.wikipedia.org/wiki/Page_Name &#124; GPS1 = 48°19′33″N &#124; GPS2 = 122°1′13″W &#125;&#125;}}
<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}}}
See also: [{{{Link}}} {{{Link name}}}]
Google Maps: {{{GPS1}}} {{{GPS2}}}
{{{image}}}



How to use this template:
This template is for a box for geographical locations that displays in the upper right-hand corner. Example form:

{{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 }}


  • 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̓.