Differenze tra le versioni di "Template:Fase del giorno"

nessun oggetto della modifica
m
<div class="width-xl-100">'''<!--{{ucfirst:{{#time: l, G:i}}}}-->{{ucfirst:{{#time:l}}}}, {{#expr: {{#time:G}} + 2 + {{#time:I}} }}:{{#time:i}}''' ({{purge|color=black}})</div>
<div class="width-xl-50" style="padding: 0.2em;"><div class="roundy white-bg height-100" style="padding: 0.2em;">
{{genblackabbrev|II}}<div class="roundy {{#invoke: chooseColor | forModBg | {{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 4|5|6|7|8|9=Mattina | 10|11|12|13|14|15|16|17=Giorno | 18|19|20|21|22|23|0|1|2|3=white-textNotte | #default=black-text}} }}" style="padding: 0.2em; background: #{{#invoke: colore | {{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 4|5|6|7|8|9=Mattina | 10|11|12|13|14|15|16|17=Giorno | 18|19|20|21|22|23|0|1|2|3=Notte }} }};">{{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 4|5|6|7|8|9=Mattina | 10|11|12|13|14|15|16|17=Giorno | 18|19|20|21|22|23|0|1|2|3=Notte }}</div>
</div></div>
<div class="width-xl-50" style="padding: 0.2em;"><div class="roundy white-bg height-100" style="padding: 0.2em;">
{{#invoke: blackabbrev | RZS}}<div class="roundy {{#invoke: chooseColor| forModBg | {{#switch: {{#time:a}} | am=white-textNotte | pm=black-textGiorno }} }}" style="padding: 0.2em; background: #{{#invoke: colore | {{#switch: {{#time:a}} | am=Notte | pm=Giorno }} }};">{{#switch: {{#time:a}} | am=Notte | pm=Giorno }}</div>
</div></div>
<div class="width-xl-50" style="padding: 0.2em;"><div class="roundy white-bg height-100" style="padding: 0.2em;">
{{genblackabbrev|IV}}<div class="roundy {{#invoke: chooseColor | forModBg | {{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 4|5|6|7|8|9=Mattina | 10|11|12|13|14|15|16|17=Giorno | 18|19|20|21|22|23|0|1|2|3=white-textNotte | #default=black-text}} }}" style="padding: 0.2em; background: #{{#invoke: colore | {{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 4|5|6|7|8|9=Mattina | 10|11|12|13|14|15|16|17=Giorno | 18|19|20|21|22|23|0|1|2|3=Notte }} }};">{{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 4|5|6|7|8|9=Mattina | 10|11|12|13|14|15|16|17=Giorno | 18|19|20|21|22|23|0|1|2|3=Notte }}</div>
</div></div><!-- Month of the year not zero-padded: n -->
<div class="width-xl-50" style="padding: 0.2em;"><div class="flex flex-row flex-wrap flex-items-stretch flex-main-stretch roundy white-bg height-100" style="padding: 0.2em;">
<div class="width-xl-100">{{genblackabbrev|V}}</div>
<div class="width-xl-50 roundy {{#invoke: chooseColor | forModBg | {{#switch: {{#time:n}}
| 1|5|9={{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 5|6|7|8|9=Mattina | 10|11|12|13|14|15|16=Giorno | 17|18|19=Sera | 20|21|22|23|0|1|2|3|4=white-text | #default=black-textNotte }}
| 2|6|10={{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 4|5|6|7|8=Mattina | 9|10|11|12|13|14|15|16|17|18=Giorno | 19|20=Sera | 21|22|23|0|1|2|3=white-text | #default=black-textNotte }}
| 3|7|11={{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 6|7|8|9=Mattina | 10|11|12|13|14|15|16|17=Giorno | 18|19=Sera | 20|21|22|23|0|1|2|3|4|5=white-text | #default=black-textNotte }}
| 4|8|12={{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 7|8|9|10=Mattina | 11|12|13|14|15|16=Giorno | 17|18=Sera | 19|20|21|22|23|0|1|2|3|4|5|6=white-textNotte | #default=black-text}} }} }}" style="padding: 0.2em; background: #{{#invoke: colore | {{#switch: {{#time:n}}
| 1|5|9={{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 5|6|7|8|9=Mattina | 10|11|12|13|14|15|16=Giorno | 17|18|19=Sera | 20|21|22|23|0|1|2|3|4=Notte }}
| 2|6|10={{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 4|5|6|7|8=Mattina | 9|10|11|12|13|14|15|16|17|18=Giorno | 19|20=Sera | 21|22|23|0|1|2|3=Notte }}
| 3|7|11={{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 6|7|8|9=Mattina | 10|11|12|13|14|15|16|17=Giorno | 18|19=Sera | 20|21|22|23|0|1|2|3|4|5=Notte }}
| 4|8|12={{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 7|8|9|10=Mattina | 11|12|13|14|15|16=Giorno | 17|18=Sera | 19|20|21|22|23|0|1|2|3|4|5|6=Notte }} }}</div>
<div class="width-xl-50 roundy black-text" style="padding: 0.2em; background: #{{#invoke: csscolore | horizGrad | type = {{#switch: {{#time: n}} | 1|5|9=Primavera | 2|6|10=Estate | 3|7|11=Autunno | 4|8|12=Inverno }} }};">{{DL|Stagioni|{{#switch: {{#time: n}} | 1|5|9=Primavera | 2|6|10=Estate | 3|7|11=Autunno | 4|8|12=Inverno }}}}</div>
</div></div>
<div class="width-xl-50" style="padding: 0.2em;"><div class="roundy white-bg height-100" style="padding: 0.2em;">
{{genblackabbrev|VI}}<div class="roundy {{#invoke: chooseColor | forModBg | {{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 4|5|6|7|8|9|10=Mattina | 11|12|13|14|15|16|17=Giorno | 18|19|20|21=Sera | 22|23|0|1|2|3=white-textNotte | #default=black-text}} }}" style="padding: 0.2em; background: #{{#invoke: colore | {{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 4|5|6|7|8|9|10=Mattina | 11|12|13|14|15|16|17=Giorno | 18|19|20|21=Sera | 22|23|0|1|2|3=Notte }} }};">{{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 4|5|6|7|8|9|10=Mattina | 11|12|13|14|15|16|17=Giorno | 18|19|20|21=Sera | 22|23|0|1|2|3=Notte }}</div>
</div></div>
<div class="width-xl-50" style="padding: 0.2em;"><div class="roundy white-bg height-100" style="padding: 0.2em;">
{{#invoke: blackabbrev | SUS}}<div class="roundy {{#invoke: chooseColor | forModBg | {{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 6|7|8|9=Mattina | 10|11|12|13|14|15|16=Giorno | 17=Sera | 18|19|20|21|22|23|0|1|2|3=white-text | #default4|5=black-textNotte }} }}" style="padding: 0.2em; background: #{{#invoke: colore | {{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 6|7|8|9=Mattina | 10|11|12|13|14|15|16=Giorno | 17=Sera | 18|19|20|21|22|23|0|1|2|3|4|5=Notte }} }};">{{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 6|7|8|9=Mattina | 10|11|12|13|14|15|16=Giorno | 17=Sera | 18|19|20|21|22|23|0|1|2|3|4|5=Notte }}</div>
</div></div>
<div class="width-xl-50" style="padding: 0.2em;"><div class="roundy white-bg height-100" style="padding: 0.2em;">
{{#invoke: blackabbrev | LUL}}<div class="roundy {{#invoke: chooseColor | forModBg | {{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 18|19|20|21=Mattina | 22|23|0|1|2|3|4=Giorno | 5=Sera | 6|7|8|9|10|11|12|13|14|15|16|17=white-textNotte | #default=black-text}} }}" style="padding: 0.2em; background: #{{#invoke: colore | {{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 18|19|20|21=Mattina | 22|23|0|1|2|3|4=Giorno | 5=Sera | 6|7|8|9|10|11|12|13|14|15|16|17=Notte }} }};">{{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 18|19|20|21=Mattina | 22|23|0|1|2|3|4=Giorno | 5=Sera | 6|7|8|9|10|11|12|13|14|15|16|17=Notte }}</div>
</div></div>
<div class="width-xl-50" style="padding: 0.2em;"><div class="roundy white-bg height-100" style="padding: 0.2em;">
{{genblackabbrev|VIII}}<div class="roundy {{#invoke: chooseColor | forModBg | {{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 6|7|8|9=Mattina | 10|11|12|13|14|15|16|17=Giorno | 18|19=Sera | 20|21|22|23|0|1|2|3=white-text | #default4|5=black-textNotte }} }}" style="padding: 0.2em; background: #{{#invoke: colore | {{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 6|7|8|9=Mattina | 10|11|12|13|14|15|16|17=Giorno | 18|19=Sera | 20|21|22|23|0|1|2|3|4|5=Notte }} }};">{{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 6|7|8|9=Mattina | 10|11|12|13|14|15|16|17=Giorno | 18|19=Sera | 20|21|22|23|0|1|2|3|4|5=Notte }}</div>
</div></div>
</div><noinclude>[[Categoria:Template legati al tempo]]</noinclude>
46 258

contributi