Template:Village: Difference between revisions

From Electromagnetic Field
Jump to navigation Jump to search
(Undo revision 2128 by MatS (talk))
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 4: Line 4:
<pre>
<pre>
{{Village
{{Village
|Picture=
|Name=
|Name=
|Description=
|Description=
Line 15: Line 16:
</noinclude><includeonly>{| style="float: right; margin: 0 0 10px 10px; width: 269px; border-radius: 8px; background-color: #F9F9F9;border: 1px solid #AAAAAA;font-size: 95%;padding: 5px;"
</noinclude><includeonly>{| style="float: right; margin: 0 0 10px 10px; width: 269px; border-radius: 8px; background-color: #F9F9F9;border: 1px solid #AAAAAA;font-size: 95%;padding: 5px;"
! 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>
|-
{{#ifexist:File:{{{Picture}}}|{{!}}-[[Picture::{{filepath:{{{Picture}}}}}|]]|}}
! colspan="2"|[[File:Village {{{Name}}}.jpg| {{#ifexist:File:Village {{{Name}}}.jpg|300px|(click here to add a picture)}}]]
{{#ifexist:File:{{{Picture}}}|! colspan="2"{{!}}[[File:{{{Picture}}}|300px]]|}}
|-
|-
! Description
! Description
Line 30: Line 31:
| [[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:{{{Picture}}}|{{{Picture}}}|EMF-blue.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}}}~Village icon.png|width=300|height=300|service=openlayers|layers=emf,osm-mapnik|zoom=2}}</span>|}}
{{#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:{{{Picture}}}|{{{Picture}}}|EMF-blue.png}}|width=300|height=300|service=openlayers|layers=emf,osm-mapnik|zoom=2}}</span>|}}
[[Has default form::Village| ]]
[[Has default form::Village| ]]
|-
!colspan="2"|[[Villages|View all Villages]]
|}
|}



Latest revision as of 09:51, 20 August 2014

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

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

Edit the page to see the template text.