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

m
Fixato un bug che faceva rompere SUs e l'ottava gen alle 4 e alle 5 di notte
m (Fixato un bug che faceva rompere SUs e l'ottava gen alle 4 e alle 5 di notte)
</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 {{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 18|19|20|21|22|23|0|1|2|3=white-text | #default=black-text }}" 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;">
</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 {{#switch: {{#expr: {{#time:G}} + 1 + {{#time:I}} }} | 18|19|20|21|22|23|0|1|2|3=white-text | #default=black-text }}" 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>