Widget:Countdown

From Guild Wars 2 Wiki
Jump to navigationJump to search

Description

This widget counts down to a time supplied to it, optionally continuing to count down to further times in specifyable intervals after reaching it.

Parameters

target
A timestamp specifing the time that should be counted down to expressed as epoch seconds.
interval
The interval to count down to after the specified target time in seconds.
If specified as zero the countdown will stop after reaching the target time.
If specified as a positive number the countdown will count down first to the target time and then, after reaching the target time, to <target time>+interval*<n>. <n> starts out as 1 and increases every time the previous target so determined is surpassed.
ns
A text to be displayed if no scripting is available.
namespace
An identifier to be included in the ID assigned to target elements to distinguish them even in contexts which would otherwise cause ID colissions.

Notes

  • This widget should be used via {{Countdown}} so that its usage can be tracked.

Examples

Primary article: Template:Countdown#Examples