Template:Timeonly

Documentation icon Template documentation[view] [edit] [history] [purge]

Lua error in Module:Lua_banner at line 103: attempt to index field 'edit' (a nil value).

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: Lua error in package.lua at line 80: module 'Module:Time/data' not found.
  • {{Timeonly|CET|hide-tz=no}} shows: Lua error in package.lua at line 80: module 'Module:Time/data' not found.
  • {{Timeonly|CET|hide-tz=no|hide-refresh=yes}} shows: Lua error in package.lua at line 80: module 'Module:Time/data' not found.
  • {{Timeonly|CET|hide-refresh=yes}} shows: Lua error in package.lua at line 80: module 'Module:Time/data' not found.

Parameters

[change] all subsections that follow:

 Info:

Multiple units of time

Type Adjustable Current Last Next
Date and Time {{time}} {{Currentdate}} (MDY)
{{Plain now}} (DMY)
{{Now}} (DMY in a complete sentence)
Date Only {{Dateonly}}
{{Datedow}}
(Has the day of the week)
{{Date}} (Chose format)
{{DATE}} (prefixed by date=)
{{TODAY}} (DMY)
{{Yesterday}}
{{Day-1}}
{{Tomorrow}}
{{Day+1}}
Time only {{Timeonly}} {{CURRENTTIME}} (12 h format)
{{CURRENTTIME24}} (24 h format)
Banners {{Right now}}
(Blue with time and number of Wikipedia articles)
{{Right now (User message)}}
(Orange with time and number of Wikipedia articles
Timestamp {{Timestamp}}
(Format YYYYMMDDhhmmss)

Single units of time

Unit of time Adjustable Current Last Next
SECOND {{CURRENTSECOND}}
MINUTE {{CURRENTMINUTE}}
HOUR {{Currenthour}} {{Hour-1}} {{Hour+1}}
WEEK {{CURRENTWEEKOFYEAR}}
{{CURRENTWEEKOFMONTH}}
Day of Week {{Dow}} {{CURRENTWEEKDAYNAME}}
{{CURRENTWEEKDAYABBREV}}
{{CURRENTWEEKDAY}}
{{LASTWEEKDAYNAME}}
{{LASTWEEKDAYABBREV}}
{{NEXTWEEKDAYNAME}}
{{NEXTWEEKDAYABBREV}}
MONTH {{MONTHNAME}}
{{MONTHABBREV}}
{{MONTHNUMBER}}
{{MONTH}} (zero padded)
{{Currentmonth}}
{{CURRENTMONTHABBREV}}
{{CURRENTMONTHNUMBER}}
{{CURRENTMONTHDAYS}}
{{LASTMONTH}}
(Can make not zero-padded)
{{LASTMONTHNAME}}
{{LASTMONTHABBR}}
{{NEXTMONTH}}
(Can make not zero-padded)
{{NEXTMONTHNAME}}
{{NEXTMONTHABBR}}
Day of Month {{Currentday}}
YEAR {{CURRENTYEARCC}}
{{CURRENTYEARYY}}
{{CURRENTISOYEAR}}
{{CURRENTYEAR}}
{{LASTYEAR}} {{NEXTYEAR}}
Day of Year {{CURRENTDAYOFYEAR}}
DECADE {{DECADE}} {{CURRENTDECADE}} {{LASTDECADE}} {{NEXTDECADE}}
CENTURY {{CENTURY}} {{CURRENTCENTURY}} {{LASTCENTURY}} {{NEXTCENTURY}}
MILLENNIUM {{MILLENNIUM}} {{Currentmillennium}}

Date and time Templates made for substitution:

Month:
{{Lmonth}} produces Nov
{{Nmonth}} produces Jan
{{LastMonth}} produces Template:LastMonth
{{NextMonth}} produces Template:NextMonth


Individual Templates

Categories of Templates