Difference between revisions of "Template:GW2clock"
Jump to navigation
Jump to search
(Created page with "<noinclude>This template adds a clock and a countdown timer to a page (themed around Guild Wars 2). It's possible to adapt it to other themes or uses. <pre style="float: left...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 10: | Line 10: | ||
* '''countdown offset:''' positive integer that adjusts the countdown (dailies) display | * '''countdown offset:''' positive integer that adjusts the countdown (dailies) display | ||
+ | Current version allows only one clock and/or one timer per page. | ||
[[Category:Templates (Guild Wars 2)]] | [[Category:Templates (Guild Wars 2)]] | ||
− | </noinclude><div style="float: right; position: relative; width: 489px;"> | + | </noinclude><div style="float: right; position: relative; width: 489px; color: #ecf4e5;"> |
[[File:SBI background.jpg|link=]] | [[File:SBI background.jpg|link=]] | ||
− | <div style="position: absolute; top: 86px; left: 289px; | + | <div class="gw2clockbox" style="position: absolute; top: 86px; left: 289px;">Server Time <span id="ServerTime" style="font: 1.4em sans-serif;"></span></div> |
− | <div style="position: absolute; top: 158px; left: 289px | + | <div class="gw2clockbox" style="position: absolute; top: 158px; left: 289px;">Dailies Reset in: <span id="CountdownTimer" style="font: 1.4em sans-serif;"></span></div> |
− | <span style=" | + | <span id="soffset" style="display: none;">{{{clock offset|0}}}</span><span id="cdoffset" style="display: none;">{{{countdown offset|0}}}</span></div> |
− | |||
− | <span id="soffset" style="display: none;">{{{clock offset|0}}}</span> | ||
− | <span id="cdoffset" style="display: none;">{{{countdown offset|0}}}</span> | ||
− | </div> |
Latest revision as of 23:48, 1 January 2013
This template adds a clock and a countdown timer to a page (themed around Guild Wars 2). It's possible to adapt it to other themes or uses.
{{GW2clock |clock offset = |countdown offset = }}
Usage:
- clock offset: positive integer that adjusts the Server Time display
- countdown offset: positive integer that adjusts the countdown (dailies) display
Current version allows only one clock and/or one timer per page.
Server Time
Dailies Reset in: