Difference between revisions of "Template:Village"
From SHA2017 Wiki
(regex filter on descriptions, only the pipe character will destroy it (possibly)) |
|||
| Line 101: | Line 101: | ||
|- | |- | ||
! 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}}~{{#regex: {{{Has description|}}}|%[^A-Za-z0-9. ]%| }}~{{#ifeq:{{ImageExists|Village-{{#explode:{{PAGENAME}}|:|1}}}}|1|{{GetImageFilename|Village-{{#explode:{{PAGENAME}}|:|1}}}}|Default_mapimage.png}}|]]|}} |
|- | |- | ||
! Prefered Field | ! Prefered Field | ||
Revision as of 10:23, 5 July 2017
Please use Form:Village to create your village page. You can use the list of existing Villages as a reference.