"टेम्पलेट:Infobox Swiss town" की अवतरण में अंतर

cats to /doc, etc
छो (Changed protection level for "Template:Infobox Swiss town": Highly visible template ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(cats to /doc, etc)
<includeonly>
{| class="infobox vcard geography" cellpadding="2" cellspacing="0" style="width:265px;"
|-
! colspan="2 align=center" class="fn" style="text-align:center;" | {{{subject_name}}}
|-
|- class="mergedrow"
{{#ifexpr:{{#time:n}}<6|
{{#if:{{{snow_image|}}}|<!--
--> {{!}} colspan="2" style="text-align: center; padding: 0.0em 0.0em 0.0em 0.0em;;" {{!}} [[File:{{{snow_image|Dummy flag.png}}}|{{ <!-- size parameters-->
#if:{{{snow_imagesize|}}}|{{{snow_imagesize}}}|<!--else-->265px }}|{{
#if:{{{snow_imagesize|}}}|{{{snow_imagesize}}}px<!--also put "size+px"-->
no snow image, take other image-->|<!--
-->{{#if:{{{image_photo|}}}|
{{!}} colspan="2" style="text-align: center; padding: 0.0em 0.0em 0.0em 0.0em;;" {{!}} [[File:{{{image_photo|Dummy flag.png}}}|{{ <!-- size parameters-->
#if:{{{imagesize|}}}|{{{imagesize}}}|<!--else-->265px }}|{{
#if:{{{imagesize|}}}|{{{imagesize}}}px<!--also put "size+px"-->
|<!--if not in month defined above, take std image -->
{{#if:{{{image_photo|}}}|
{{!}} colspan="2" style="text-align: center; padding: 0.0em 0.0em 0.0em 0.0em;;" {{!}} [[File:{{{image_photo|Dummy flag.png}}}|{{ <!-- size parameters-->
#if:{{{imagesize|}}}|{{{imagesize}}}|<!--else-->265px }}|{{
#if:{{{imagesize|}}}|{{{imagesize}}}px<!--also put "size+px"-->
if no non-snow image, take snow image
-->{{#if:{{{snow_image|}}}|
{{!}} colspan="2" style="text-align: center; padding: 0.0em 0.0em 0.0em 0.0em;;" {{!}} [[File:{{{snow_image|Dummy flag.png}}}|{{ <!-- size parameters-->
#if:{{{snow_imagesize|}}}|{{{snow_imagesize}}}|<!--else-->265px }}|{{
#if:{{{snow_imagesize|}}}|{{{snow_imagesize}}}px<!--also put "size+px"-->
|-
! colspan=2 align=center | {{Location map|Switzerland|float=left|width=265
|label={{#if:{{{map|}}}|[[:ImageFile:{{{map}}}|{{{subject_name}}} [zoom] ]]|{{{subject_name}}} }}
|lat={{#expr:{{{lat_d|0}}}+{{{lat_m|0}}}/60}}|long={{#expr:{{{long_d|0}}}+{{{long_m|0}}}/60}}|position={{#if:{{{position|<noinclude>x</noinclude>}}}|{{{position}}}}}|caption=}}
<!-- Geographical information / CoA section -->
}}<!--
Added to enable viewing older versions of articles:
-->{{#if:{{{altitude|}}}|{{!}}'''[[Elevation]]'''{{!!}}{{m to ft|num={{{altitude}}}|abbr=yes|precision=0|wiki=no}} [[ImageFile:Kuckucksuhr.JPG|9px|?]]{{#if: {{{altitude_description|}}}|<br>{{{altitude_description}}}|}}
}}
|- class="mergedrow"
| '''[[Postal code (Switzerland)|Postal code]]''' || {{{postal_code}}}
|- class="mergedrow"
{{#if:{{{municipality_code|}}}|{{!}}'''[[Community_Identification_NumberCommunity Identification Number#Switzerland|SFOS number]]''' {{!!}} {{{municipality_code}}}}}<!--
Added to enable viewing older versions of articles:
-->{{#if:{{{municipal_code|<noinclude>x</noinclude>}}}| {{!}}'''[[Community_Identification_NumberCommunity Identification Number#Switzerland|SFOS number]]''' {{!!}} {{{municipal_code}}} [[ImageFile:Kuckucksuhr.JPG|9px|?]]}}
|- class="mergedrow"
{{#if:{{{mayor|<noinclude>x</noinclude>}}}| {{!}}'''{{#if:{{{list_of_mayors|}}}|[[{{{list_of_mayors}}}|Mayor (list)]]|[[Mayor]]}}''' {{!!}} {{{mayor}}}{{#if: {{{mayor_asof|}}}| <small> (as of {{{mayor_asof}}})</small>|}} {{#if: {{{mayor_party|<noinclude>x</noinclude>}}}| <small> {{polparty|Switzerland|{{{mayor_party}}}}}</small>|}}
 
|}<!--
Categories -->{{#if:{{NAMESPACE}}||{{#ifeq:{{{municipality_type}}}|former|[[Category:Villages in Switzerland]][[Category:Former municipalities of Switzerland]]|[[Category:Municipalities of Switzerland]]}}}}</includeonly><noinclude>{{Documentation, template}}
{{pp-template}}
 
{{Documentation}}
[[Category:European city infobox templates|Swiss town]]
[[Category:Templates with coordinates fields|{{PAGENAME}}]]
</noinclude>
0

संपादन