Template:Timeonly

Template documentation[view · edit · history · purge]
This documentation is transcluded from Template:Timeonly/doc.


Category:Main message boxesCategory:Lua-based templates

This template implements Module:Time (talk | +/− | links | doc | subpages | tests  results)

Usage

  • Unnamed parameter 1: This parameter is the abbreviation of the time zone name for the template to use
  • |format=: This parameter is the format of the date (dmy, mdy or ISO)
  • |hide-tz=: This parameter hides time-zone as default, set as hide-tz=no to show the time-zone.
  • |hide-refresh=: This parameter hides the [refresh] button.
Examples
  • {{Timeonly|CET}} shows: 17:09 [refresh]
  • {{Timeonly|CET|hide-tz=no}} shows: 17:09 CEST [refresh]
  • {{Timeonly|CET|hide-tz=no|hide-refresh=yes}} shows: 17:09 CEST
  • {{Timeonly|CET|hide-refresh=yes}} shows: 17:09


Category:Lua-based templates