Template:Infobox Location
From Edge of Darkness Wiki
Infobox Location
m |
m |
||
(15 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: | + | |bodystyle = padding: 5px; border: 1px solid #1a1a1a; margin-left: 10px; background: #0d0d0d; |
- | |image = | + | |image = [[Image:{{PAGENAME}}.jpg|border|300px|{{PAGENAME}}]] |
- | |headerstyle = padding: 5px; text-align:center; border: 1px solid; background: # | + | |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; | ||
|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|}}}]]<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 | | + | |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> |
Latest revision as of 16:52, 24 May 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:
|