Template:Infobox Location

From Edge of Darkness Wiki

Infobox Location
Jump to: navigation, search
m
m
 
(5 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|300px|{{{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;
|label1      = Location
|label1      = Location
-
|data1      = {{#if:{{{Address|}}}|{{{Address|}}}|}}{{#set:Coordinates={{{Location|}}} }}{{#set:Latitude={{{Lat|}}} }}{{#set:Longitude={{{Lon|}}} }}
+
|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|}}}]]|}}

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