Template:Village: Difference between revisions

From Electromagnetic Field
Jump to navigation Jump to search
No edit summary
(remove location from help)
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
|WebAddress=
|WebAddress=
|Activities=
|Activities=
|Location=
}}
}}
</pre>
</pre>
Line 31: Line 30:
! Activities
! Activities
{{!}} [[Activities::{{{Activities|}}}|]]{{{Activities|}}} |}}
{{!}} [[Activities::{{{Activities|}}}|]]{{{Activities|}}} |}}
{{#ifeq:|{{{Location|}}}||
{{!}}-
{{#if:{{{Location|}}}|
{{InfoboxSubtitle|SubTitle=Location}}
{{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}}|]]|}}
{{!}} colspan="2" {{!}}
! 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>
<div id="villageMap">Map is loading.</div>
{{#if:{{{Interests|}}}|<nowiki></nowiki>
{{InfoboxSubtitle|SubTitle=Relevant interests}}
{{InfoboxSubtitle|SubTitle=Relevant interests}}
{{!}}-
{{!}}-

Latest revision as of 13:37, 13 August 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=
}}

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