Differenze tra le versioni di "Template:Serra"

Da WikiBotanica.
 
(4 versioni intermedie di uno stesso utente non sono mostrate)
Riga 2: Riga 2:
 
__NOTOC__
 
__NOTOC__
 
__NOTITLE__
 
__NOTITLE__
{{#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" />}}
+
<!-- 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"
 
|-
 
|-
|style="border:1px solid #{{#switch:{{{colore|}}}|blu=99cbff|verde=70C0A0|arancione= ff9732|marrone=de8b2f}}; border-bottom:2px solid #{{#switch:{{{colore|}}}|blu=99cbff|verde=70C0A0|arancione= ff9732|marrone=de8b2f}}; border-top-left-radius:.5em; border-top-right-radius:.5em" bgcolor="#{{#switch:{{{colore|}}}|blu=e0ffff|verde=e3f5c3|arancione= fced98|marrone=fad680}}" align=center width=15% | '''[[Pagina principale|<span style="color:darkblue; font-size: 11pt">Giardino Montano</span>]]'''
+
|style="border:1px solid #{{#switch:{{{colore|}}}|blu=99cccc|verde= 33cc99 |arancione= ff6600 |marrone= b69451}}; border-bottom:2px solid #{{#switch:{{{colore|}}}|blu=99cbff|verde=70C0A0|arancione= ff9732|marrone=de8b2f}}; border-top-left-radius:.5em; border-top-right-radius:.5em" bgcolor="#{{#switch:{{{colore|}}}|blu= 66cccc |verde= 99cc99 |arancione= ffcc66 |marrone=cc9966}}" align=center width=15% | '''[[Pagina principale|<span style="color:#505070", font-size: 11pt>Giardino Montano</span>]]'''
| style="border:2px solid #{{#switch:{{{colore|}}}|blu=99cbff|verde=70C0A0|arancione= ff9732|marrone=de8b2f}}; border-bottom:0px solid #{{#switch:{{{colore|}}}|blu=99cbff|verde=70C0A0|arancione= ff9732|marrone=de8b2f}}; border-left:2px solid#{{#switch:{{{colore|}}}|blu=99cbff|verde=70C0A0|arancione= ff9732|marrone=de8b2f}}; border-top-left-radius:.5em; border-top-right-radius:.5em" bgcolor="#{{#switch:{{{colore|}}}|blu=e0ffff|verde=e3f5c3|arancione= fced98|marrone=fad680}}" align=center width=15% |  '''[[Pagina principale:Serra|<span style="color:#505070; font-size: 11pt">La serra fredda</span>]]'''
+
| style="border:2px solid #{{#switch:{{{colore|}}}|blu=99cbff|verde=70C0A0|arancione= ff9732 |marrone=de8b2f}}; border-bottom:0px solid #fff; border-left:2px solid#{{#switch:{{{colore|}}}|blu=99cbff|verde=70C0A0|arancione= ff9732|marrone=de8b2f}}; border-top-left-radius:.5em; border-top-right-radius:.5em" bgcolor="#{{#switch:{{{colore|}}}|blu=e0ffff|verde=e3f5c3|arancione= fced98 |marrone=fad680}}" align=center width=15% |  '''[[Pagina principale:Serra|<span style="color:darkblue; font-size: 15pt">La serra fredda</span>]]'''
 
<!--| style="border:1px solid #90A0C0; border-bottom:2px solid #90A0C0; border-top-left-radius:.5em; border-top-right-radius:.5em" bgcolor="#{{#switch:{{{colore|}}}|blu=e0ffff|verde=f5fff8}}" align=center width=15% |  '''[[Pagina principale:Biodiversità|<span style="color:#505070">Biodiversità</span>]]'''-->
 
<!--| style="border:1px solid #90A0C0; border-bottom:2px solid #90A0C0; border-top-left-radius:.5em; border-top-right-radius:.5em" bgcolor="#{{#switch:{{{colore|}}}|blu=e0ffff|verde=f5fff8}}" align=center width=15% |  '''[[Pagina principale:Biodiversità|<span style="color:#505070">Biodiversità</span>]]'''-->
 
|}
 
|}

Versione attuale delle 23:42, 18 feb 2017