Difference between revisions of "Template:Time"

From Rigged Wiki
Jump to navigation Jump to search
(Created page with "<abbr style="border-bottom: 1px dotted #000; background: #f1f1f1;" title="Eastern: {{#expr:{{{1}}}-5}}:{{{2}}} �{{#expr:17-5}}:{{{2}}}">{{{1}}}:{{{2}}}}</abbr> <noinclude...")
 
Line 1: Line 1:
<abbr style="border-bottom: 1px dotted #000; background: #f1f1f1;" title="Eastern: {{#expr:{{{1}}}-5}}:{{{2}}}
<abbr style="border-bottom: 1px dotted #000; background: #f1f1f1;" title="Eastern Time: {{#expr:{{{1}}}-5}}:{{{2}}}
&#13;{{#expr:17-5}}:{{{2}}}">{{{1}}}:{{{2}}}}</abbr>
&#13;Pacific Time: {{#expr:17-8}}:{{{2}}}">{{{1}}}:{{{2}}}</abbr>


<noinclude>
<noinclude>

Revision as of 20:21, 7 February 2014

<abbr style="border-bottom: 1px dotted #000; background: #f1f1f1;" title="Eastern Time: Expression error: Unrecognized punctuation character "{".:{{{2}}} &#13;Pacific Time: 9:{{{2}}}">{{{1}}}:{{{2}}}

Usage:

To show time zones on hover

Parameters

{{Time|17|30}}

1st variable is the hour and 2nd is the minute (in UTC)