Template:Infobox Location
From Edge of Darkness Wiki
Infobox Location
m |
m |
||
Line 8: | Line 8: | ||
|labelstyle = font-weight: bold; text-align: right; color: #ff9933; | |labelstyle = font-weight: bold; text-align: right; color: #ff9933; | ||
|label1 = Location | |label1 = Location | ||
- | |data1 = {{#if:{{{Address|}}}|{{{Address|}}}|}}{{#set:Coordinates={{{Location | + | |data1 = {{#if:{{{Address|}}}|{{{Address|}}}|}}{{#set:Coordinates={{{Location|}}} }} |
|label2 = {{#if:{{{Owner|}}}|Owner|}} | |label2 = {{#if:{{{Owner|}}}|Owner|}} | ||
|data2 = {{#if:{{{Owner|}}}|[[Owner::{{{Owner|}}}]]|}} | |data2 = {{#if:{{{Owner|}}}|[[Owner::{{{Owner|}}}]]|}} | ||
Line 19: | Line 19: | ||
|belowstyle = font-style:italic; white-space: nowrap; color: #eebc1d; | |belowstyle = font-style:italic; white-space: nowrap; color: #eebc1d; | ||
- | |below = {{ #ask: [[{{PAGENAME}}]]| ?Coordinates| format=googlemaps |height=200 }} | + | |below = {{ #ask: [[{{PAGENAME}}]]| ?Coordinates| format=googlemaps |height=200 }} |
}}{{#if:{{{Status|}}}|{{#set:{{{Status|}}}=Locations}}|}}{{#set:Page has default form=Location Editor}}</includeonly><noinclude>{{documentation}}[[Category:Templates|{{PAGENAME}}]]</noinclude> | }}{{#if:{{{Status|}}}|{{#set:{{{Status|}}}=Locations}}|}}{{#set:Page has default form=Location Editor}}</includeonly><noinclude>{{documentation}}[[Category:Templates|{{PAGENAME}}]]</noinclude> | ||
+ | |||
+ | |||
+ | {{#if:{{{Lat|}}}|{{#set:Latitude={{{Lat|}}}{{#set:Longitude={{{Lon|}}}<googlemap version="0.9" lat="{{{Lat|}}}" lon="{{{Lon|}}}" zoom="19" width="350" height="275">{{{Lat|}}}, {{{Lon|}}}</googlemap></div> }} |
Revision as of 15:20, 16 March 2016
[edit] [ ]
Template documentation

This template is used on Category:Locations pages and sets the Category automatically. It uses the following properties:
To create or edit Locations such as Sites, use the Location Editor Form.
The above documentation is transcluded from Template:Infobox Location/doc. (edit | history) Editors can experiment in this template's sandbox (create). Subpages of this template:
|
{{#if:|{{#set:Latitude=