Difference between revisions of "Template:VillageOrange"

From Electromagnetic Field
Jump to navigation Jump to search
(Created page with "<noinclude> This is the "Village" template for Dutch villages. It should be called in the following format: <pre> {{Village |Name= |Description= |Contact= |URL= |Activities= }...")
 
 
Line 14: Line 14:
 
</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:orange; color: white;" colspan="2" |<big>Village: [[Name::{{{Name|}}}]]</big>
 
! style="text-align: center; background-color:orange; color: white;" colspan="2" |<big>Village: [[Name::{{{Name|}}}]]</big>
 +
{{#ifexist:File:{{{Picture}}}|{{!}}-|}}
 +
{{#ifexist:File:{{{Picture}}}|! colspan="2"{{!}}[[File:{{{Picture}}}|300px]]|}}
 
|-
 
|-
 
! Description
 
! Description
Line 27: Line 29:
 
| [[Activities::{{{Activities|}}}]]  
 
| [[Activities::{{{Activities|}}}]]  
 
{{#if:{{{Location|}}}|{{!}}-|}}
 
{{#if:{{{Location|}}}|{{!}}-|}}
{{#if:{{{Location|}}}|! style="text-align: center;; background-color:orange; color: white;" colspan="2" {{!}}<big>Location</big>[[Location::{{{Location}}}| ]]{{#display_map:{{{Location}}}|width=300|height=300|service=openlayers|layers=emf|zoom=17}}|}}
+
{{#if:{{{Location|}}}|[[MapFix::{{{Location}}}~{{{Name}}}~{{{Description}}}~{{#ifexist:File:{{{Picture}}}|{{{Picture}}}|
 +
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:{{{Picture}}}|{{{Picture}}}|
 +
Village icon.png}}|width=300|height=300|service=openlayers|layers=emf,osm-mapnik|zoom=2}}</span>|}}
 
[[Has default form::Village| ]]
 
[[Has default form::Village| ]]
 
|}
 
|}
 +
  
 
[[Category:Village]]
 
[[Category:Village]]
 
</includeonly>
 
</includeonly>

Latest revision as of 00:36, 19 August 2014

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

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

Edit the page to see the template text.