Modèle:Mare : Différence entre versions

De Mares des Garrigues
(Page créée avec « <noinclude> Modèle mare. </noinclude> <includeonly> {{Infobox Subdivision administrative |nom = {{{nom|{{PAGENAME}}}}} |image = {{{image|}}} |tail... »)
 
Ligne 3 : Ligne 3 :
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
{{Infobox Subdivision administrative
+
{{Infobox  
 
|nom              = {{{nom|{{PAGENAME}}}}}
 
|nom              = {{{nom|{{PAGENAME}}}}}
 
|image            = {{{image|}}}
 
|image            = {{{image|}}}
 +
|légende          = {{{légende|}}}
 
|taille image    = {{{taille image|}}}
 
|taille image    = {{{taille image|}}}
|légende          = {{{légende|}}}
 
 
|latitude        = {{{latitude|}}}  
 
|latitude        = {{{latitude|}}}  
 
|longitude        = {{{longitude|}}}  
 
|longitude        = {{{longitude|}}}  
 
|altitude        = {{{altitude|}}}
 
|altitude        = {{{altitude|}}}
 
}}
 
}}
 +
 +
{| cellspacing="0" class="smworgsample" style="position:relative; float: right; clear: right; width: 280px;"
 +
! colspan="2" style="padding-top: 2px; " |  {{PAGENAME}} <span style="position:relative; top:-2px; float:right;">[[File:SMW-Info-button.png|14px|link=Special:Browse/{{FULLPAGENAME}}]]</span>
 +
|- <!-- *** IMAGE *** -->
 +
{{#if:{{{image|}}}|{{Tablesection|Label=[[File:{{{image|}}}|280px|center|{{{imgdesc|}}}]] |Textcolor=#ddd|Color=#fff}}{{#set:Has image=File:{{{image|}}} }} }}
 +
|-
 +
{{#ifeq:{{{légende|}}}|||{{Tablerow|Label=Image shows:|Value={{{légende|}}} }}}}
 +
|- <!-- *** SLIDESHOW *** -->
 +
{{#if:{{{collection|}}}|{{Tablesection|Label={{#ask: [[has image collection::{{{collection|}}}]]|?has description|widths=220|heights=220|format=gallery|widget=slideshow|overlay=yes|class=demo-center|navigation=auto|autocaptions=no}}|Color=#fff|Textcolor=#AAA}}}}
 +
|- <!-- *** SUMMARY *** -->
 +
{{Tablesection|Label=Summary|Color=#C4D6F4|Textcolor=#fff}} 
 +
|-
 +
{{#ifeq:{{#show: {{FULLPAGENAME}}|?Population}}|||{{Tablerow|Label=Population:|Value={{#show: {{FULLPAGENAME}}|?Population}} }}}}
 +
|-
 +
{{#ifeq:{{#show: {{FULLPAGENAME}}|?Area}}|||{{Tablerow|Label=Area:|Value={{#show: {{FULLPAGENAME}}|?Area}} }}}}
 +
|-
 +
{{#ifeq:{{#show: {{FULLPAGENAME}}|?Located in}}|||{{Tablerow|Label=Located in:|Value={{#show: {{FULLPAGENAME}}|?Located in}} }}}}
 +
|-
 +
{{#ifeq:{{#show: {{FULLPAGENAME}}|?Average rainy days}}|||{{Tablerow|Label=Average rainy days:|Value={{#show: {{FULLPAGENAME}}|?Average rainy days}} }}}}
 +
|- <!-- *** CHARTING *** -->
 +
{{#if:{{{chart|}}}|{{Tablesection|Label=Chart|Color=#C4D6F4|Textcolor=#fff}}}}
 +
|-
 +
{{#if:{{{chart|}}}|{{Tablesection|Label={{{chart|}}}|Color=#fff}}}}
 +
|- <!-- *** MAP *** -->
 +
{{#if:{{#show: {{FULLPAGENAME}}|?Has coordinates}}|{{Tablesection|Label=Map|Color=#C4D6F4|Textcolor=#fff}}}}
 +
|-
 +
{{#if:{{#show: {{FULLPAGENAME}}|?Has coordinates}}|{{Tablesection|Label={{#display_map:{{#show: {{FULLPAGENAME}}|?Has coordinates}}|width=280|height=280|service=osm}}|Color=#fff}}}}
 +
|}

Version du 30 mars 2018 à 16:51

Modèle mare.