Differenze tra le versioni di "Template:Serra"

Da WikiBotanica.
 
Riga 2: Riga 2:
 
__NOTOC__
 
__NOTOC__
 
__NOTITLE__
 
__NOTITLE__
{{#switch:{{{colore|{{Stagione}}}}}|blu={{#switch:{{{ {{#ifexpr: 11<= {{#time: md}} and {{#time: md}}<=17 |feste|}} {{#ifexpr: 1223<= {{#time: md}} and {{#time: md}}<=1231 |feste|}}|non }}}|feste=<pic src="/images/b/b5/Alpi10_inverno.jpg" width=100% align=center link="Pagina_principale" />|non=<pic src="/images/f/f2/Alpi10.jpg" width=100% align=center link="Pagina_principale" />}}|verde=<pic src="/images/f/f2/Alpi10.jpg" width=100% align=center link="Pagina_principale" /> |arancione=<pic src="/images/1/1e/Alpi10_primavera.jpg" width=100% align=center link="Pagina_principale" /> |marrone=<pic src="/images/7/74/Alpi10_autunno.jpg" width=100% align=center link="Pagina_principale" />}}
+
<!-- STATICA -->
 +
{{#switch:{{{colore|{{Stagione}}}}}|blu={{#switch:{{{ {{#ifexpr: 11<= {{#time: md}} and {{#time: md}}<=17 |feste|}} {{#ifexpr: 1223<= {{#time: md}} and {{#time: md}}<=1231 |feste|}}|non }}}|feste=[[File:Alpi10_inverno.jpg|center|1000px|link="Pagina_principale"]]|non=[[File:Alpi10.jpg|center|1000px|link="Pagina_principale"]]}} |verde=[[File:Alpi10.jpg|center|1000px|link="Pagina_principale"]] |arancione=[[File:Alpi10_primavera.jpg|center|1000px|link="Pagina_principale"]] |marrone=[[File:Alpi10_autunno.jpg|center|1000px|link="Pagina_principale"]]}}<!--
 +
{{#switch:{{{colore|}}}|blu=<pic src="/images/b/b5/Alpi10_inverno.jpg" width=100% align=center link="Pagina_principale" /> |verde=<pic src="/images/f/f2/Alpi10.jpg" width=100% align=center link="Pagina_principale" /> |arancione=<pic src="/images/1/1e/Alpi10_primavera.jpg" width=100% align=center link="Pagina_principale" /> |marrone=<pic src="/images/7/74/Alpi10_autunno.jpg" width=100% align=center link="Pagina_principale" />}}-->
 +
 
 +
<!--- DINAMICA ##NON FUNZIONA!!##
 +
{{#switch:{{{colore|{{Stagione}}}}}|blu={{#switch:{{{ {{#ifexpr: 11<= {{#time: md}} and {{#time: md}}<=17 |feste|}} {{#ifexpr: 1223<= {{#time: md}} and {{#time: md}}<=1231 |feste|}}|non }}}|feste=<pic src="/images/b/b5/Alpi10_inverno.jpg" width=100% align=center link="Pagina_principale" />|non=<pic src="/images/f/f2/Alpi10.jpg" width=100% align=center link="Pagina_principale" />}}|verde=<pic src="/images/f/f2/Alpi10.jpg" width=100% align=center link="Pagina_principale" /> |arancione=<pic src="/images/1/1e/Alpi10_primavera.jpg" width=100% align=center link="Pagina_principale" /> |marrone=<pic src="/images/7/74/Alpi10_autunno.jpg" width=100% align=center link="Pagina_principale" />}} --->
 
<!-- linguette -->
 
<!-- linguette -->
 
{| width=100% cellpadding=0 cellspacing=0  style="background:transparent"
 
{| width=100% cellpadding=0 cellspacing=0  style="background:transparent"

Versione attuale delle 23:42, 18 feb 2017