Difference between revisions of "Extensions:LiveClock"
Jump to navigation
Jump to search
Tag: 2017 source edit |
(→Usage) Tag: 2017 source edit |
||
Line 9: | Line 9: | ||
== Usage == | == Usage == | ||
− | <!- | + | Simply put the following in any location you want a clock: <syntaxhighlight> |
+ | {!! LiveClock() !!} | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | Optionally, add the following in front of the LiveClock line to get a little clock icon in front. | ||
+ | <syntaxhighlight lang="html"> | ||
+ | <i class="far fa-clock"></i> | ||
+ | </syntaxhighlight> | ||
+ | |||
== Troubleshooting == | == Troubleshooting == | ||
<!-- Are there known issues or errors that require user action? Who should they contact, and where, for support? --> | <!-- Are there known issues or errors that require user action? Who should they contact, and where, for support? --> |
Revision as of 10:33, 1 November 2021
Description | A short description |
---|---|
Author(s) | Author(s) |
Status | status (such as WIP, testing, stable) |
Github | branch |
LK Version | What Lorekeeper version the ext is built on |
Installation
Pull the extension branch and push to your site. Will replace the default clock on the dashboard, so be wary of conflicts if your dashboard is modified.
Configuration
No configuration necessary. LiveClock bases the time on your Lorekeeper timezone.
Usage
Simply put the following in any location you want a clock:
{!! LiveClock() !!}
Optionally, add the following in front of the LiveClock line to get a little clock icon in front.
<i class="far fa-clock"></i>