Lompat ke isi

Citakan:WEEKDAYABBREV

Ti Wikipédia Sunda, énsiklopédi bébas

Tempo dokuméntasi tina citakan ieu. Tempo daptar citakan di Wikipédia.
Purge sindangan server lamun citakan migunakeun noinclude, editan anjeun moal ketempo..

This template returns the abbreviation of the weekday whose number is in parameter. Alternatively, the English week day name or abbreviation (with any letter case) can be given.

Syntax:
{{WEEKDAYABBREV|day}}
  • The day value can be any numeric expression and is interpreted modulo 7 (extra leading zeroes and decimals are ignored), so it accepts any valid julian day timestamp.
Example with a timestamp:
{{WEEKDAYABBREV|{{JULIANDAY|2000|01|01}}}} returns Sap.
Examples for all standard English week day names:
{{WEEKDAYABBREV|monday}} returns
{{WEEKDAYABBREV|tuesday}} returns
{{WEEKDAYABBREV|wednesday}} returns
{{WEEKDAYABBREV|thursday}} returns
{{WEEKDAYABBREV|friday}} returns
{{WEEKDAYABBREV|saturday}} returns
{{WEEKDAYABBREV|sunday}} returns
Examples for all abbreviated English week day names:
{{WEEKDAYABBREV|MON}} returns
{{WEEKDAYABBREV|TUE}} returns
{{WEEKDAYABBREV|WED}} returns
{{WEEKDAYABBREV|THU}} returns
{{WEEKDAYABBREV|FRI}} returns
{{WEEKDAYABBREV|SAT}} returns
{{WEEKDAYABBREV|SUN}} returns
Examples for all standard week day numbers:
{{WEEKDAYABBREV|0}} returns Sen
{{WEEKDAYABBREV|1}} returns Sal
{{WEEKDAYABBREV|2}} returns Reb
{{WEEKDAYABBREV|3}} returns Kem
{{WEEKDAYABBREV|4}} returns Jum
{{WEEKDAYABBREV|5}} returns Sap
{{WEEKDAYABBREV|6}} returns Min
Examples for week day numbers with extra leading zero:
{{WEEKDAYABBREV|00}} returns Sen
{{WEEKDAYABBREV|01}} returns Sal
{{WEEKDAYABBREV|02}} returns Reb
{{WEEKDAYABBREV|03}} returns Kem
{{WEEKDAYABBREV|04}} returns Jum
{{WEEKDAYABBREV|05}} returns Sap
{{WEEKDAYABBREV|06}} returns Min
Examples for week day number cyclic underflows and overflows, from computed values:
{{WEEKDAYABBREV|-701}} returns Min
{{WEEKDAYABBREV|-700}} returns Sen
{{WEEKDAYABBREV|-699}} returns Sal
{{WEEKDAYABBREV|-7}} returns Sen
{{WEEKDAYABBREV|-6}} returns Sal
{{WEEKDAYABBREV|-5}} returns Reb
{{WEEKDAYABBREV|-4}} returns Kem
{{WEEKDAYABBREV|-3}} returns Jum
{{WEEKDAYABBREV|-2}} returns Sap
{{WEEKDAYABBREV|-1}} returns Min
{{WEEKDAYABBREV|7}} returns Sen
{{WEEKDAYABBREV|8}} returns Sal
{{WEEKDAYABBREV|9}} returns Reb
{{WEEKDAYABBREV|10}} returns Kem
{{WEEKDAYABBREV|13}} returns Min
{{WEEKDAYABBREV|14}} returns Sen
{{WEEKDAYABBREV|15}} returns Sal
{{WEEKDAYABBREV|700}} returns Sen
{{WEEKDAYABBREV|701}} returns Sal
{{WEEKDAYABBREV|707}} returns Sen
Tempo oge:
Template:WEEKDAYNUMBER
Template:WEEKDAYNAME
Template:CURRENTWEEKDAYABBREV