Difference between revisions of "Template:Village"

From Electromagnetic Field
Jump to navigation Jump to search
Line 35: Line 35:
 
{{!}}-
 
{{!}}-
 
{{#if:{{{Location|}}}|
 
{{#if:{{{Location|}}}|
 +
{{InfoboxSubtitle|SubTitle=Location}}
 
{{!}}-
 
{{!}}-
 
{{!}} colspan="2" style="vertical-align:top" {{!}}
 
{{!}} colspan="2" style="vertical-align:top" {{!}}
{{InfoboxSubtitle|SubTitle=Location}}
 
 
[[Location::{{{Location}}}|]][[MapFix::{{{Location}}}~{{#explode:{{PAGENAME}}|:|1}}~{{{Description}}}~{{#ifeq:{{ImageExists|Village-{{#explode:{{PAGENAME}}|:|1}}}}|1|{{GetImageFilename|Village-{{#explode:{{PAGENAME}}|:|1}}}}|EMF-blue.png}}|]]|}}
 
[[Location::{{{Location}}}|]][[MapFix::{{{Location}}}~{{#explode:{{PAGENAME}}|:|1}}~{{{Description}}}~{{#ifeq:{{ImageExists|Village-{{#explode:{{PAGENAME}}|:|1}}}}|1|{{GetImageFilename|Village-{{#explode:{{PAGENAME}}|:|1}}}}|EMF-blue.png}}|]]|}}
 
! colspan="2"{{!}} {{#display_map:{{{Location}}}~{{#explode:{{PAGENAME}}|:|1}}~{{{Description}}}~{{#ifeq:{{ImageExists|Village-{{#explode:{{PAGENAME}}|:|1}}}}|1|{{GetImageFilename|Village-{{#explode:{{PAGENAME}}|:|1}}}}|EMF-blue.png}}|width=300|height=300|service=openlayers|layers=emf,osm-mapnik|zoom=18}} }}{{#if:{{{Interests|}}}|<nowiki></nowiki>
 
! colspan="2"{{!}} {{#display_map:{{{Location}}}~{{#explode:{{PAGENAME}}|:|1}}~{{{Description}}}~{{#ifeq:{{ImageExists|Village-{{#explode:{{PAGENAME}}|:|1}}}}|1|{{GetImageFilename|Village-{{#explode:{{PAGENAME}}|:|1}}}}|EMF-blue.png}}|width=300|height=300|service=openlayers|layers=emf,osm-mapnik|zoom=18}} }}{{#if:{{{Interests|}}}|<nowiki></nowiki>

Revision as of 11:04, 28 January 2018

This is the "Village" template. The easiest way to use this template is to visit the Villages page and use the form to create a village.

It should be called in the following format:

{{Village
|Description=
|Contact=
|WebAddress=
|Activities=
|Location=
}}

To not include the list of village members, add |HideList=true before the }}