Difference between revisions of "Template:Village"

From Electromagnetic Field
Jump to navigation Jump to search
Line 33: Line 33:
 
{{#if:{{{Location|}}}|[[MapFix::{{{Location}}}~{{{Name}}}~{{{Description}}}~{{#ifexist:File:{{{Picture}}}|{{{Picture}}}|
 
{{#if:{{{Location|}}}|[[MapFix::{{{Location}}}~{{{Name}}}~{{{Description}}}~{{#ifexist:File:{{{Picture}}}|{{{Picture}}}|
 
Village icon.png}}|]]|}}
 
Village icon.png}}|]]|}}
{{#if:{{{Location|}}}|! style="text-align: center;; background-color:#5E93CE; color: white;" colspan="2" {{!}}<big>Location</big>[[Location::{{{Location}}}| ]]<span style='color:#000000'>{{#display_map:{{{Location}}}~{{{Name}}}~{{{Description}}}~{{#ifexist:File:Village {{{Name}}}.jpg|Village {{{Name}}}.jpg|{#ifexist:File:{{{Picture}}}|{{{Picture}}}|
+
{{#if:{{{Location|}}}|! style="text-align: center;; background-color:#5E93CE; color: white;" colspan="2" {{!}}<big>Location</big>[[Location::{{{Location}}}| ]]<span style='color:#000000'>{{#display_map:{{{Location}}}~{{{Name}}}~{{{Description}}}~{{#ifexist:File:{{{Picture}}}|{{{Picture}}}|
 
Village icon.png}}|width=300|height=300|service=openlayers|layers=emf,osm-mapnik|zoom=2}}</span>|}}
 
Village icon.png}}|width=300|height=300|service=openlayers|layers=emf,osm-mapnik|zoom=2}}</span>|}}
 
[[Has default form::Village| ]]
 
[[Has default form::Village| ]]

Revision as of 00:32, 19 August 2014

This is the "Village" template. It should be called in the following format:

{{Village
|Picture=
|Name=
|Description=
|Contact=
|URL=
|Activities=
|Location=
}}

Edit the page to see the template text.