Template:Χωριό: Difference between revisions

From Digital Cyprus
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{| class=infobox width="285" style="padding-top: 3px;padding-left: 3px;padding-right: 3px;margin:5px 0px 5px 10px;float:right;clear:right;border:1px solid #ccc;background-color:#FFFFFF;line-height:1.5em;word-spacing:0.5px;  font-size: 14px"
{| class=infobox width="285" style="padding-top: 3px;padding-left: 3px;padding-right: 3px;margin:5px 0px 5px 10px;float:right;clear:right;border:1px solid #ccc;background-color:#FFFFFF;line-height:1.5em;word-spacing:0.5px;  font-size: 14px"
!align=center style="background:#87BF90" colspan="2"|{{{acronym}}}
!align=center style="background:#87BF90" colspan="2"|{{{acronym}}}
{{Εικόνα |newwidth={{{newwidth}}} |imagename={{{imagename}}}|imageCaption={{{imageCaption}}} }}
{{Εικόνα |newwidth={{{newwidth}}} |imagename={{{imagename}}}|imageCaption={{{imageCaption}}} }}
|-


{{Γεω.Στοιχεία| color=#87BF90| eparxia={{{eparxia}}}|sintetagmenes={{{sintetagmenes}}}| ektasi={{{ektasi}}} |ipsometro={{{ipsometro}}} }}
{{ifnotempty|{{{eparxia|}}}{{{sintetagmenes|}}}{{{ektasi|}}}{{{ipsometro|}}}|{{!}}-
{{Τίτλος | TTitle=Γεωγραφικά Στοιχεία|color=#87BF90}}|{{!}}-
}}
{{ifnotempty|{{{eparxia|}}}|{{!}}-
{{!}} Επαρχία
{{!}} {{{eparxia}}}|{{!}}-
}}
{{ifnotempty|{{{sintetagmenes|}}}|{{!}}-
{{!}} Συντεταγμένες
{{!}} {{{sintetagmenes}}}|{{!}}-
}}
{{ifnotempty|{{{ektasi|}}}|{{!}}-
{{!}} Έκταση
{{!}} {{{ektasi}}}|{{!}}-
}}
{{ifnotempty|{{{ipsometro|}}}|{{!}}-
{{!}} Υψόμετρο
{{!}} {{{ipsometro}}}|{{!}}-
}}
|-
|-
{{ΤΑΔιοίκηση| color=#87BF90| koinotarxis={{{koinotarxis}}}|plithismos={{{plithismos}}}| postcode={{{postcode}}} }}}
{{ΤΑΔιοίκηση| color=#87BF90| koinotarxis={{{koinotarxis}}}|plithismos={{{plithismos}}}| postcode={{{postcode}}} }}}
Line 12: Line 32:
<noinclude>
<noinclude>


<br /><br /><br />
__TOC__
==EXAMPLE ON HOW TO USE THE TEMPLATE==
{{Χωριό
  |imagename=Logo.png
  |imageCaption= Εικόνα Δευτεράς
  |newwidth=270px
  |acronym= Δευτερά
  |eparxia= Λευκωσίας
  |ektasi= 50km
  |ipsometro=
  |koinotarxis=
  |plithismos = 4800
  |postcode=2460
  |website=[http://defteravillage.org.cy/ Δευτερά]
  |googlemap=www.google.com
}}
Copy and paste the code below to the page you wish to add Village box such as this one:
<pre>
{{Χωριό
{{Χωριό
   |imagename=Logo.png
   |imagename=Logo.png
Line 19: Line 61:
   |eparxia= Λευκωσίας
   |eparxia= Λευκωσίας
   |ektasi= 50km
   |ektasi= 50km
   |ipsometro= 10
   |ipsometro=  
   |koinotarxis= χαμπης
   |koinotarxis=  
   |plithismos = 4800
   |plithismos = 4800
   |postcode=2460
   |postcode=2460
   |website=[http://defteravillage.org.cy/ Δευτερά]
   |website=[http://defteravillage.org.cy/ Δευτερά]
   |sintetagmenes=[http://www.maps.google.com/ 32.50, 32.50]
   |googlemap=www.google.com
}}
}}
</pre>
Then replace the content of the variables with your own!!!
===List of Variables===
* <b>acronym</b> : This variable expects from the editor to assign to it the name of Village
* <b>image</b> : This variable expects from the editor to assign to it the image of the Village. You must first upload an image using the upload file option of the toolbox available on the left column of the page. This option is visible if and only if you are logged in.
* <b>location</b> : This variable expects from the editor to assign the location of Village
* <b>website</b> : This variable expects from the editor to assign to it the website of the Village
* <b>map</b> : This variable expects from the editor to assign to it the map of the Village


</noinclude>
</noinclude>

Revision as of 12:27, 9 October 2014

}
{{{acronym}}}


[[File:{{{imagename}}}|Expression error: Unrecognized punctuation character "{".px|text-top|]]
{{{imageCaption}}}
Τοπική αυτοδιοίκηση
Ταχ. Κώδικας {{{postcode}}}
Ιστοσελίδα
{{{website}}}





EXAMPLE ON HOW TO USE THE TEMPLATE

}
Δευτερά


Logo.png
Εικόνα Δευτεράς
Γεωγραφικά Στοιχεία
Επαρχία Λευκωσίας
Έκταση 50km
Τοπική αυτοδιοίκηση
Ταχ. Κώδικας 2460
Ιστοσελίδα
Δευτερά



Copy and paste the code below to the page you wish to add Village box such as this one:

{{Χωριό
   |imagename=Logo.png
   |imageCaption= Εικόνα Δευτεράς
   |newwidth=270px
   |acronym= Δευτερά
   |eparxia= Λευκωσίας
   |ektasi= 50km
   |ipsometro= 
   |koinotarxis= 
   |plithismos = 4800
   |postcode=2460
   |website=[http://defteravillage.org.cy/ Δευτερά]
   |googlemap=www.google.com
}}

Then replace the content of the variables with your own!!!

List of Variables

  • acronym : This variable expects from the editor to assign to it the name of Village
  • image : This variable expects from the editor to assign to it the image of the Village. You must first upload an image using the upload file option of the toolbox available on the left column of the page. This option is visible if and only if you are logged in.
  • location : This variable expects from the editor to assign the location of Village
  • website : This variable expects from the editor to assign to it the website of the Village
  • map : This variable expects from the editor to assign to it the map of the Village