Template:Village: Difference between revisions

From Electromagnetic Field
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
! style="text-align: center; background-color:#5E93CE; color: white;" colspan="2" |<big>Village: [[Name::{{{Name|}}}]]</big>
! style="text-align: center; background-color:#5E93CE; color: white;" colspan="2" |<big>Village: [[Name::{{{Name|}}}]]</big>
|-
|-
! colspan="2"|[[File:Village {{{Name}}}{{#ifexist:File:Village {{{Name}}}.jpg|.jpg{{!}}300px|{{#ifexist:File:Village {{{Name}}}.gif|.gif{{!}}300px|.jpg{{!}}(click here to add a picture)}}}}]]
! colspan="2"|[[File:Village {{{Name}}}{{#ifexist:File:Village {{{Name}}}.jpg|.jpg{{!}}300px|{{#ifexist:File:Village {{{Name}}}.gif|.gif{{!}}300px|{{#ifexist:File:Village {{{Name}}}.png|.png{{!}}300px|.jpg{{!}}(click here to add a picture)}}}}}}]]
|-
|-
! Description
! Description
Line 30: Line 30:
| [[Activities::{{{Activities|}}}]]  
| [[Activities::{{{Activities|}}}]]  
{{#if:{{{Location|}}}|{{!}}-|}}
{{#if:{{{Location|}}}|{{!}}-|}}
{{#if:{{{Location|}}}|[[MapFix::{{{Location}}}~{{{Name}}}~{{{Description}}}~Village icon.png|]]|}}
{{#if:{{{Location|}}}|[[MapFix::{{{Location}}}~{{{Name}}}~{{{Description}}}~{{#ifexist:File:Village {{{Name}}}.jpg|Village {{{Name}}}.jpg|{{#ifexist:File:Village {{{Name}}}.gif|Village {{{Name}}}.gif|
{{#ifexist:File:Village {{{Name}}}.png|Village {{{Name}}}.png|
Village icon.png}}}}}}|]]|}}
{{#if:{{{Location|}}}|! style="text-align: center;; background-color:#5E93CE; color: white;" colspan="2" {{!}}<big>Location</big>[[Location::{{{Location}}}| ]]<span style='color:#000000'>{{#display_map:{{{Location}}}~{{{Name}}}~{{{Description}}}~{{#ifexist:File:Village {{{Name}}}.jpg|Village {{{Name}}}.jpg|{{#ifexist:File:Village {{{Name}}}.gif|Village {{{Name}}}.gif|
{{#if:{{{Location|}}}|! style="text-align: center;; background-color:#5E93CE; color: white;" colspan="2" {{!}}<big>Location</big>[[Location::{{{Location}}}| ]]<span style='color:#000000'>{{#display_map:{{{Location}}}~{{{Name}}}~{{{Description}}}~{{#ifexist:File:Village {{{Name}}}.jpg|Village {{{Name}}}.jpg|{{#ifexist:File:Village {{{Name}}}.gif|Village {{{Name}}}.gif|
Village icon.png}}}}|width=300|height=300|service=openlayers|layers=emf,osm-mapnik|zoom=2}}</span>|}}
{{#ifexist:File:Village {{{Name}}}.png|Village {{{Name}}}.png|
Village icon.png}}}}}}|width=300|height=300|service=openlayers|layers=emf,osm-mapnik|zoom=2}}</span>|}}
[[Has default form::Village| ]]
[[Has default form::Village| ]]
|}
|}

Revision as of 00:19, 19 August 2014

This is the "Village" template. It should be called in the following format:

{{Village
|Name=
|Description=
|Contact=
|URL=
|Activities=
|Location=
}}

Edit the page to see the template text.