Template:Infobox Location

From Edge of Darkness Wiki

Infobox Location
Jump to: navigation, search
m
m
 
(12 intermediate revisions not shown)
Line 1: Line 1:
<includeonly>[[Category:Locations]]{{Infobox
<includeonly>[[Category:Locations]]{{Infobox
|name        = Infobox Location
|name        = Infobox Location
-
|bodystyle  = padding: 5px; border: 3px solid #1a1a1a; border-radius: 5px; margin-left: 10px;
+
|bodystyle  = padding: 5px; border: 1px solid #1a1a1a; margin-left: 10px; background: #0d0d0d;
-
|image      = {{#if:{{{Image|}}}|[[Image:{{{Image|}}}|border|200px|{{{Location|}}}]]|}}
+
|image      = [[Image:{{PAGENAME}}.jpg|border|300px|{{PAGENAME}}]]
-
|headerstyle = padding: 5px; text-align:center; border: 1px solid; background: #1a1a1a;
+
|headerstyle = padding: 5px; text-align:center; border: 1px solid #1a1a1a; background: #0d0d0d;
|header1    =
|header1    =
|labelstyle  = font-weight: bold; text-align: right; color: #ff9933;
|labelstyle  = font-weight: bold; text-align: right; color: #ff9933;
Line 10: Line 10:
|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|}}}]]<div style="border: 0px solid dimgrey; border-radius: 50%; height: 70px; width: 70px; overflow:hidden; display:none; right:{{#expr: {{{number|{{{icon_nr|0}}}}}}*(2+{{{width|15}}})+10+{{{offset|{{{extra_offset|0}}}}}} }}px; {{{style|}}}" class="metadata topicon nopopups {{{class|}}}" {{#if:{{{id|}}}|id="{{{id}}}"}}>[[File:{{{Owner|}}}.jpg|70px|link={{{Owner|}}}]]</div>|}}
|label3      = {{#if:{{{Manager|}}}|Manager|}}
|label3      = {{#if:{{{Manager|}}}|Manager|}}
|data3      = {{#if:{{{Manager|}}}|[[Manager::{{{Manager|}}}]]|}}
|data3      = {{#if:{{{Manager|}}}|[[Manager::{{{Manager|}}}]]|}}
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 |zoom=19 |type=hybrid |height=350 }}
}}{{#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>
-
 
-
<includeonly>
 
-
{{#ifexist:{{{Lat|}}}
 
-
|{{#set:Latitude={{{Lat|}}}{{#set:Longitude={{{Lon|}}}<googlemap version="0.9" lat="{{{Lat|}}}" lon="{{{Lon|}}}" zoom="19" width="350" height="275">{{{Lat|}}}, {{{Lon|}}}</googlemap>
 
-
|
 
-
}}
 
-
</includeonly>
 

Latest revision as of 16:52, 24 May 2016

[edit] [purge] 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.

Personal tools
Namespaces
Variants
Actions
Navigation
games
Toolbox