Template:Village: Difference between revisions
Jump to navigation
Jump to search
Jediminer543 (talk | contribs) m (Added some template data) |
m (ce) |
||
| (3 intermediate revisions by one other user not shown) | |||
| Line 36: | Line 36: | ||
{{!}}- | {{!}}- | ||
{{#if:{{{Location|}}}|[[Location::{{{Location}}}|]][[MapFix::{{{Location}}}~{{#explode:{{PAGENAME}}|:|1}}~{{{Description}}}~{{#ifeq:{{ImageExists|Village-{{#explode:{{PAGENAME}}|:|1}}}}|1|{{GetImageFilename|Village-{{#explode:{{PAGENAME}}|:|1}}}}|EMF-blue.png}}|]]|}} | {{#if:{{{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"{{!}} {{#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 | ! 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|zoom=18}} }} | ||
|- | |- | ||
!colspan="2"|[[Villages|View all Villages]] | !colspan="2"|[[Villages|View all Villages]] | ||
| Line 47: | Line 47: | ||
"params": { | "params": { | ||
"Description": { | "Description": { | ||
"description": "A | "description": "A brief description of the village", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
Latest revision as of 18:30, 29 May 2022
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 }}
Used to annotate villages
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Description | Description | A brief description of the village | String | suggested |
| Contact | Contact | User to contact about the village | User | suggested |
| WebAddress | WebAddress | A URL to more info about the village
| URL | suggested |
| Activities | Activities | no description | Unknown | optional |
| Location | Location | no description | Unknown | optional |
| HideList | HideList | no description | Unknown | optional |