Module:Countdown2/doc
Appearance
| This is a documentation subpage for Module:Countdown2. It may contain usage information, categories and other content that is not part of the original module page. |
| This module is rated as beta. It is considered ready for widespread use, but as it is still relatively new, it should be applied with some caution to ensure results are as expected. |
| This module depends on the following other modules: |
| Description | This module powers {{countdown2}}. |
|---|---|
| Status | Beta |
| Updated | June 1, 2026 (2 months ago) |
| Dependencies |
This module powers {{countdown2}}. The module takes in two primary arguments, time and offset, and returns a formatted countdown string corresponding to the duration of the countdown.
Documentation
Package items
countdown2.main( frame, args )(function)- Entrypoint for the module.
- Parameters:
framecurrent frame (table)argscurrent arguments (table)args.beforetext to prepend to countdown (string)args.aftertext to append to countdown (string)args.timetime argument (string)args.endwhat to show when the countdown is over (string)args.offsetoffset argument (string)args.shorthandwhether to use shorthand units (boolean)args.precisionthe number of units to use (number)args.purgewhether to show a purge link (boolean)args.styleinline styles to apply to countdown text (string)
- Returns: the output wikitext
Documentation above is auto generated