Differenze tra le versioni di "Template:Giornisettimana"

m
Fix domenica + colori arcobaleno in hex
(Più meglio)
m (Fix domenica + colori arcobaleno in hex)
<div class="flex flex-row flex-wrap flex-main-stretch roundy pull-center text-center" style="{{#invoke: css | horizGrad | type = {{{color|pcwiki}}} | type2 = {{{color2|{{{color|pcwiki}}}}}} }} padding: 0.2em;">
<div class="width-xl-100 {{#ifeq: {{{text|no}}} | yes | white-text | black-text }}">'''Oggi è {{DL|Giorni della settimana|{{#time: l}}}}'''</div>
<div class="width-xl-10 width-md-25 width-sm-30 width-xs-50 flex flex-items-stretch flex-main-stretch" style="padding: 0.2em;"><div class="roundy white-bg" style="padding: 0.2em;"><div {{#ifeq: {{#time: w}} | 1 | class="roundy" style="background: #{{#invoke:colore | rosso}}f00;" }}>'''{{colore2|{{#ifeq: {{#time: w}} | 1 | fff | {{#invoke: colore | rosso}}f00 }}|Giorni della settimana#Lunedì|Lunedì}}'''</div>{{{lun|&mdash;}}}</div></div>
<div class="width-xl-10 width-md-25 width-sm-30 width-xs-50 flex flex-items-stretch flex-main-stretch" style="padding: 0.2em;"><div class="roundy white-bg" style="padding: 0.2em;"><div {{#ifeq: {{#time: w}} | 2 | class="roundy" style="background: #{{#invoke:colore | arancione}}ff7f00;" }}>'''{{colore2|{{#ifeq: {{#time: w}} | 2 | 000 | {{#invoke: colore | arancione}}ff7f00 }}|Giorni della settimana#Martedì|Martedì}}'''</div>{{{mar|&mdash;}}}</div></div>
<div class="width-xl-10 width-md-25 width-sm-30 width-xs-50 flex flex-items-stretch flex-main-stretch" style="padding: 0.2em;"><div class="roundy white-bg" style="padding: 0.2em;"><div {{#ifeq: {{#time: w}} | 3 | class="roundy" style="background: #{{#invoke:colore | hoenn}}ff0;" }}>'''{{colore2|{{#ifeq: {{#time: w}} | 3 | 000 | {{#invoke: colore | hoenn}}ff0 }}|Giorni della settimana#Mercoledì|Mercoledì}}'''</div>{{{mer|&mdash;}}}</div></div>
<div class="width-xl-10 width-md-25 width-sm-30 width-xs-50 flex flex-items-stretch flex-main-stretch" style="padding: 0.2em;"><div class="roundy white-bg" style="padding: 0.2em;"><div {{#ifeq: {{#time: w}} | 4 | class="roundy" style="background: #{{#invoke:colore | verde}}0f0;" }}>'''{{colore2|{{#ifeq: {{#time: w}} | 4 | 000 | {{#invoke: colore | verde}}0f0 }}|Giorni della settimana#Giovedì|Giovedì}}'''</div>{{{gio|&mdash;}}}</div></div>
<div class="width-xl-10 width-md-25 width-sm-30 width-xs-50 flex flex-items-stretch flex-main-stretch" style="padding: 0.2em;"><div class="roundy white-bg" style="padding: 0.2em;"><div {{#ifeq: {{#time: w}} | 5 | class="roundy" style="background: #{{#invoke:colore | blu}}00f;" }}>'''{{colore2|{{#ifeq: {{#time: w}} | 5 | fff | {{#invoke: colore | blu}}00f }}|Giorni della settimana#Venerdì|Venerdì}}'''</div>{{{ven|&mdash;}}}</div></div>
<div class="width-xl-10 width-md-25 width-sm-30 width-xs-50 flex flex-items-stretch flex-main-stretch" style="padding: 0.2em;"><div class="roundy white-bg" style="padding: 0.2em;"><div {{#ifeq: {{#time: w}} | 6 | class="roundy" style="background: #{{#invoke:colore | OsA}}4b0082;" }}>'''{{colore2|{{#ifeq: {{#time: w}} | 6 | fff | {{#invoke: colore | OsA}}4b0082 }}|Giorni della settimana#Sabato|Sabato}}'''</div>{{{sab|&mdash;}}}</div></div>
<div class="width-xl-10 width-md-25 width-sm-30 width-xs-50 flex flex-items-stretch flex-main-stretch" style="padding: 0.2em;"><div class="roundy white-bg" style="padding: 0.2em;"><div {{#ifeq: {{#time: w}} | 0 | class="roundy" style="background: #{{#invoke:colore | veleno}}9400d3;" }}>'''{{colore2|{{#ifeq: {{#time: w}} | 70 | fff | {{#invoke: colore | veleno}}9400d3 }}|Giorni della settimana#Domenica|Domenica}}'''</div>{{{dom|&mdash;}}}</div></div>
</div><noinclude>[[Categoria:Template legati al tempo]]
 
46 382

contributi