Changes
Jump to navigation
Jump to search
add align variable to fix linter problems
<!-- Begin
--><div style="border:1px solid #ccc; background: #fff; border-right:3px solid #ccc; border-bottom:3px solid #ccc; text-align: center; padding:3px; {{#ifeq:|{{{align|}}}|right|float:right;|float:left;}} font-size: smaller; line-height: 1.3; margin-right: 4px; width: 65px;">
<!-- Header
--><div style="background: #aaa; color: #f9f9f9;">'''{{{label|{{#switch:{{lc:{{{1|}}}}}|-1 day|-1 days=Yesterday:|+1 day|+1 days=Tomorrow:|=Today is|#default= }}}}}'''</div>
<!-- Body
--><div style="width:100%">[[{{#time:l|{{{1|}}}}}|<span style="color: black;">{{#time:l|{{{1|}}}}}</span>]]</div>
<div style="font-size: x-large; width: 100%;">[[{{#time:F j|{{{1|}}}}}|<span style="color: black;">{{#time:j|{{{1|}}}}}</span>]]</div>
<div style="width: 100%;">[[{{#time:F|{{{1|}}}}}|<span style="color: black;">{{#time:F|{{{1|}}}}}</span>]] <div style="background: #aaa; color: #f9f9f9;">'''[[{{#time:Y|{{{1|}}}}}|<span style="color: black;">{{#time:Y|{{{1|}}}}}</span>]]'''</div></div>
<!-- End
--></div><noinclude>
{{documentation}}
</noinclude>
--><div style="border:1px solid #ccc; background: #fff; border-right:3px solid #ccc; border-bottom:3px solid #ccc; text-align: center; padding:3px; {{#ifeq:|{{{align|}}}|right|float:right;|float:left;}} font-size: smaller; line-height: 1.3; margin-right: 4px; width: 65px;">
<!-- Header
--><div style="background: #aaa; color: #f9f9f9;">'''{{{label|{{#switch:{{lc:{{{1|}}}}}|-1 day|-1 days=Yesterday:|+1 day|+1 days=Tomorrow:|=Today is|#default= }}}}}'''</div>
<!-- Body
--><div style="width:100%">[[{{#time:l|{{{1|}}}}}|<span style="color: black;">{{#time:l|{{{1|}}}}}</span>]]</div>
<div style="font-size: x-large; width: 100%;">[[{{#time:F j|{{{1|}}}}}|<span style="color: black;">{{#time:j|{{{1|}}}}}</span>]]</div>
<div style="width: 100%;">[[{{#time:F|{{{1|}}}}}|<span style="color: black;">{{#time:F|{{{1|}}}}}</span>]] <div style="background: #aaa; color: #f9f9f9;">'''[[{{#time:Y|{{{1|}}}}}|<span style="color: black;">{{#time:Y|{{{1|}}}}}</span>]]'''</div></div>
<!-- End
--></div><noinclude>
{{documentation}}
</noinclude>