සැකිල්ල:WEEKDAYNAME/doc
This is a documentation subpage for සැකිල්ල:WEEKDAYNAME. It may contain usage information, categories and other content that is not part of the original සැකිල්ල page. |
This template returns the name of the weekday whose number is in parameter. Alternatively, the English weekday name or abbreviation (with any letter case) can be given.
Syntax
සංස්කරණය{{WEEKDAYNAME|
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
සංස්කරණය{{WEEKDAYNAME|{{JULIANDAY|2000|01|01}}}}
returns Saturday.
Examples for all standard English week day names
සංස්කරණය{{WEEKDAYNAME|MONDAY}}
returns Monday{{WEEKDAYNAME|TUESDAY}}
returns Tuesday{{WEEKDAYNAME|WEDNESDAY}}
returns Wednesday{{WEEKDAYNAME|THURSDAY}}
returns Thursday{{WEEKDAYNAME|FRIDAY}}
returns Friday{{WEEKDAYNAME|SATURDAY}}
returns Saturday{{WEEKDAYNAME|SUNDAY}}
returns Sunday
Examples for all abbreviated English week day names
සංස්කරණය{{WEEKDAYNAME|mon}}
returns Monday{{WEEKDAYNAME|tue}}
returns Tuesday{{WEEKDAYNAME|wed}}
returns Wednesday{{WEEKDAYNAME|thu}}
returns Thursday{{WEEKDAYNAME|fri}}
returns Friday{{WEEKDAYNAME|sat}}
returns Saturday{{WEEKDAYNAME|sun}}
returns Sunday
Examples for all standard week day numbers
සංස්කරණය{{WEEKDAYNAME|0}}
returns Monday{{WEEKDAYNAME|1}}
returns Tuesday{{WEEKDAYNAME|2}}
returns Wednesday{{WEEKDAYNAME|3}}
returns Thursday{{WEEKDAYNAME|4}}
returns Friday{{WEEKDAYNAME|5}}
returns Saturday{{WEEKDAYNAME|6}}
returns Sunday
Examples for week day numbers with extra leading zero
සංස්කරණය{{WEEKDAYNAME|00}}
returns Monday{{WEEKDAYNAME|01}}
returns Tuesday{{WEEKDAYNAME|02}}
returns Wednesday{{WEEKDAYNAME|03}}
returns Thursday{{WEEKDAYNAME|04}}
returns Friday{{WEEKDAYNAME|05}}
returns Saturday{{WEEKDAYNAME|06}}
returns Sunday
Examples for week day number cyclic underflows and overflows, from computed values
සංස්කරණය{{WEEKDAYNAME|-701}}
returns Sunday{{WEEKDAYNAME|-700}}
returns Monday{{WEEKDAYNAME|-699}}
returns Tuesday{{WEEKDAYNAME|-7}}
returns Monday{{WEEKDAYNAME|-6}}
returns Tuesday{{WEEKDAYNAME|-5}}
returns Wednesday{{WEEKDAYNAME|-4}}
returns Thursday{{WEEKDAYNAME|-3}}
returns Friday{{WEEKDAYNAME|-2}}
returns Saturday{{WEEKDAYNAME|-1}}
returns Sunday{{WEEKDAYNAME|7}}
returns Monday{{WEEKDAYNAME|8}}
returns Tuesday{{WEEKDAYNAME|9}}
returns Wednesday{{WEEKDAYNAME|10}}
returns Thursday{{WEEKDAYNAME|13}}
returns Sunday{{WEEKDAYNAME|14}}
returns Monday{{WEEKDAYNAME|15}}
returns Tuesday{{WEEKDAYNAME|700}}
returns Monday{{WEEKDAYNAME|701}}
returns Tuesday{{WEEKDAYNAME|707}}
returns Monday
See also
සංස්කරණයMultiple units of time
සංස්කරණයType | Adjustable | Current | Last | Next |
---|---|---|---|---|
Date and time | {{time}} | {{Currentdate}} (MDY) {{Plain now}} (DMY) {{Now}} (DMY in a complete sentence) {{Simple now}} |
||
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) |
|||
Timestamp | {{Timestamp}} (Format YYYYMMDDhhmmss) |
Single units of time
සංස්කරණයUnit of time | Adjustable | Current | Last | Next |
---|---|---|---|---|
SECOND | {{CURRENTSECOND}} | |||
MINUTE | {{CURRENTMINUTE}} | |||
HOUR | {{CURRENTHOUR}} | |||
WEEK | {{CURRENTWEEK}} {{CURRENTWEEKOFMONTH}} |
|||
Day of Week | {{DAYOFWEEK}} | {{CURRENTDAYNAME}} {{CURRENTWEEKDAYABBREV}} {{CURRENTWEEKDAY}} |
||
MONTH | {{MONTHNAME}} {{MONTHABBREV}} {{MONTHNUMBER}} {{MONTH}} (zero padded) |
{{CURRENTMONTHNAME}} {{CURRENTMONTHABBREV}} {{CURRENTMONTH1}} {{CURRENTMONTHDAYS}} |
{{LASTMONTHNAME}} | {{NEXTMONTHNAME}} |
Day of Month | {{CURRENTDAY}} {{CURRENTDAY2}} (zero padded) |
|||
YEAR | {{CURRENTYEARCC}} {{CURRENTYEARYY}} {{CURRENTISOYEAR}} {{CURRENTYEAR}} |
{{LASTYEAR}} | {{NEXTYEAR}} | |
Day of Year | {{CURRENTDAYOFYEAR}} | |||
DECADE | {{DECADE}} | {{CURRENTDECADE}} | ||
CENTURY | {{CENTURY}} | {{CURRENTCENTURY}} | ||
MILLENNIUM | {{MILLENNIUM}} |
Date and time templates made for substitution:
සංස්කරණයMonth:
{{Lmonth}} produces දෝෂය: අනීතික වේලාව
{{Nmonth}} produces දෝෂය: අනීතික වේලාව
{{LastMonth}} produces දෝෂය: අනීතික වේලාව
{{NextMonth}} produces දෝෂය: අනීතික වේලාව
Individual templates
සංස්කරණය- {{Calendar}}
- {{Calendar clock with Wikipedia stats}}
- {{Clock}}
- {{Digital clock}}
- {{Digital clock and date}}
Categories of templates
සංස්කරණය- Category:Time, date and calendar templates
- Category:Date-computing templates
- Category:Date-computing templates based on current time
- Category:ISO date templates
- Category:Calendar templates