Difference between revisions of "Template:Village"

From SHA2017 Wiki
Jump to: navigation, search
m (added case insensitivity)
Line 108: Line 108:
 
! Prefered Location
 
! Prefered Location
 
| [[Has location::{{{Location|}}}]] {{#if:{{{Location|}}}|[[MapFix::{{{Location}}}~{{#explode:{{PAGENAME}}|:|1}}~{{{Has description|}}}~{{#ifeq:{{ImageExists|Village-{{#explode:{{PAGENAME}}|:|1}}}}|1|{{GetImageFilename|Village-{{#explode:{{PAGENAME}}|:|1}}}}|Default_mapimage.png}}|]]|}}
 
| [[Has location::{{{Location|}}}]] {{#if:{{{Location|}}}|[[MapFix::{{{Location}}}~{{#explode:{{PAGENAME}}|:|1}}~{{{Has description|}}}~{{#ifeq:{{ImageExists|Village-{{#explode:{{PAGENAME}}|:|1}}}}|1|{{GetImageFilename|Village-{{#explode:{{PAGENAME}}|:|1}}}}|Default_mapimage.png}}|]]|}}
 +
|-
 +
! Prefered Field
 +
| [[Has Field::{{{Has Field|}}}]]
 
|-
 
|-
 
! colspan="2"{{!}} {{#display_map:{{{Location}}}~{{#explode:{{PAGENAME}}|:|1}}~{{{Has description|}}}~{{#ifeq:{{ImageExists|Village-{{#explode:{{PAGENAME}}|:|1}}}}|1|{{GetImageFilename|Village-{{#explode:{{PAGENAME}}|:|1}}}}|Default_mapimage.png}}|width=400|height=300|service=openlayers|layers=sha, osm-mapnik|zoom=18}}
 
! colspan="2"{{!}} {{#display_map:{{{Location}}}~{{#explode:{{PAGENAME}}|:|1}}~{{{Has description|}}}~{{#ifeq:{{ImageExists|Village-{{#explode:{{PAGENAME}}|:|1}}}}|1|{{GetImageFilename|Village-{{#explode:{{PAGENAME}}|:|1}}}}|Default_mapimage.png}}|width=400|height=300|service=openlayers|layers=sha, osm-mapnik|zoom=18}}

Revision as of 21:56, 17 May 2017

Please use Form:Village to create your village page. You can use the list of existing Villages as a reference.