Differenze tra le versioni di "Template:Istituzione"

Da Wikimedia Italia.
Jump to navigation Jump to search
m
m
Riga 1: Riga 1:
 
|-
 
|-
|[[{{{1|}}}|{{{2|}}}]]||align=center|{{#if:{{{3|}}}|<span style="display:none">{{{3|}}}-{{{4|}}}-{{{5|}}}</span>{{#time:j F Y|{{{3|}}}-{{{4|}}}-{{{5|}}}}}|–}}||align=center|{{#if:{{{6|}}}|<span style="display:none">{{{6|}}}-{{{7|}}}-{{{8|}}}</span>{{#time:j F Y|{{{6|}}}-{{{7|}}}-{{{8|}}}}}|<span style="display:none">9999-01-01</span>–}}||align=center {{#if:{{{6|}}}|{{#ifexpr:{{{6|}}} < {{CURRENTYEAR}}|bgcolor=#EE8019}}{{#ifexpr:{{{6|}}} = {{CURRENTYEAR}}|{{#ifexpr:{{{7|}}} < {{CURRENTMONTH}}|bgcolor=#EE8019}}{{#ifexpr:{{{7|}}} = {{CURRENTMONTH}}|{{#ifexpr:{{{8|}}} < {{CURRENTDAY}}|bgcolor=#EE8019}}{{#ifexpr:{{{8|}}} = {{CURRENTDAY}}|bgcolor=#71D1B3}}{{#ifexpr:{{{8|}}} > {{CURRENTDAY}}|bgcolor=#71D1B3}}}}{{#ifexpr:{{{7|}}} > {{CURRENTMONTH}}|bgcolor=#71D1B3}}}}{{#ifexpr:{{{6|}}} > {{CURRENTYEAR}}|bgcolor=#71D1B3}}{{!}}'''{{#ifexpr:{{{6|}}} < {{CURRENTYEAR}}|conclusa}}{{#ifexpr:{{{6|}}} = {{CURRENTYEAR}}|{{#ifexpr:{{{7|}}} < {{CURRENTMONTH}}|conclusa}}{{#ifexpr:{{{7|}}} = {{CURRENTMONTH}}|{{#ifexpr:{{{8|}}} < {{CURRENTDAY}}|conclusa}}{{#ifexpr:{{{8|}}} = {{CURRENTDAY}}|attiva}}{{#ifexpr:{{{8|}}} > {{CURRENTDAY}}|attiva}}}}{{#ifexpr:{{{7|}}} > {{CURRENTMONTH}}|attiva}}}}{{#ifexpr:{{{6|}}} > {{CURRENTYEAR}}|attiva}}'''|bgcolor=#{{#switch:{{{stato|}}}|Attivo|attivo|Attiva|attiva=71D1B3|Conclusa|conclusa|Concluso|concluso=EE8019|ffffff}}{{!}}{{#if:{{{stato|}}}|'''{{{stato|}}}'''|<span style="display:none">9999-01-01</span>'''–'''}}}}
+
| || ||{{{1|}}}-{{{2|}}}-{{{3|}}}||{{{4|}}}-{{{5|}}}-{{{6|}}}||
 +
{{#ifeq:{{{4|}}}|{{CURRENTYEAR}}|{{#ifexpr:{{#time:z}}+90>{{#time:z|{{{4|}}}-{{{5|}}}-{{{6|}}}}}|in scadenza|ALTRO}}|}} {{#ifeq:{{{4|}}}|{{CURRENTYEAR}}+1|{{#ifexpr:{{#time:z}}+{{#time:z|{{{4|}}}-{{{5|}}}-{{{6|}}}}}<91|in scadenza|ALTRO}}|}}

Versione delle 17:20, 10 nov 2022

|- | || ||--||--||