Malline:Time countdown

RuneWikistä, vapaasta RuneScape-aiheisesta tietosanakirjasta. Tänään on 19. toukokuuta 2024.
Siirry valikkoon Siirry hakuun


This template displays the remaining time to go until a specifed date/time.

Normally the remaining time is shown in terms of days, but as the time approaches, it will switch to displaying hours, and then minutes.

Once the time has been reached, the string "no time" will be returned.

Syntax[muokkaa wikitekstiä]

{{Time countdown|datetime|zone}}

The datetime should be fully specified (including the year).

The zone is the timezone that the specified datetime is in, and currently recognises the following options:

  • pacific (of USA)
  • mountain (of USA)
  • central (of USA)
  • eastern (of USA)
  • uk (Britain)
  • aus (Eastern Australia)

Examples[muokkaa wikitekstiä]

Example #1:

{{Time countdown|Virhe: kelvoton aika|uk}}

Produces the following result: Virhe lausekkeessa: odottamaton <-operaattori


Example #2:

{{Time countdown|1:00am 19 toukokuu 2024|uk}}

Produces the following result: Virhe lausekkeessa: odottamaton <-operaattori


Example #3:

{{Time countdown|Virhe: kelvoton aika|uk}}

Produces the following result: Virhe lausekkeessa: odottamaton <-operaattori


Example #4:

{{Time countdown|11:00am 19 toukokuu 2024|uk}}

Produces the following result: Virhe lausekkeessa: odottamaton <-operaattori