Widget:Time based highlighting
From Guild Wars 2 Wiki
Jump to navigationJump to search
Description
This widget applies the CSS class "highlight-yellow" to elements with data-starttime
and data-endtime
attributes. The widget is used by Template:Time based highlighting.
Parameters
- class
- The name of the css class on the elements that the widget should sometimes highlight. Defaults to "highlighterwidget".
- css
- The style to be applied to the element when the time is within the starttime and endtime. Defaults to a yellow background.
Usage
- Please use {{Time based highlighting}} instead of using this widget directly.
Notes
- Needs to be used after any tables it is intended to apply CSS to.