Redirect to:
This page is a redirect. The following categories are used to track and monitor this redirect:
|
date = date or Date(y, m, 1) if not date then return end date = date + (d - 1 + (days_hms or 0)) y, m, d = date.year, date.month, date.day...
Click to read more »templates such as {{Start date}}, {{End date}}, {{Start date and age}}, and {{End date and age}}. It handles: - Validation of date components (year, month...
Click to read more »date = date or Date(y, m, 1) if not date then return end date = date + (d - 1 + (days_hms or 0)) y, m, d = date.year, date.month, date.day...
Click to read more »get a date value. Inputs: date_string - date string from date-holding parameters (date, year, publication-date, access-date, pmc-embargo-date, archive-date...
Click to read more »templates: {{Start date}}, {{End date}}, {{Start date and age}}, {{End date and age}}, {{Start and end dates}}. It handles: - Validation of date components (year...
Click to read more »-- 2 date phrase dateStr = dateFunc(date1, date2, state) else -- 1 date phrase dateStr = dateFunc(date1, state) end end if type(dateStr)=='string'...
Click to read more »Module:Date time provides functions for validating and formatting dates in templates such as {{Start date}}, {{End date}}, {{Start date and age}}, and...
Click to read more »Citation Style 2 date formats for citations on Wikipedia. In particular, this module contains a suite of functions that validate date formats and content...
Click to read more »converting a Julian date to a date, then obtaining information about the date. -- Code -- Result Date = require('Module:Date')._Date date = Date('juliandate'...
Click to read more »tests for [[Module:Date time]]. Click talk page to run tests. local p = require('Module:UnitTests') local DateTime = require('Module:Date time/sandbox')...
Click to read more »Gregorian date of a holiday that moves year to year. Date data can be obtained from multiple sources as configured in Module:Calendar date/events "localfile"...
Click to read more »get a date value. Inputs: date_string - date string from date-holding parameters (date, year, publication-date, access-date, pmc-embargo-date, archive-date...
Click to read more »[[Module:Date]]. See the talk page for output. local Date = require('Module:Date')._Date local show -- function defined below to display results -- A date can...
Click to read more »Date(_dateB):text(dateFormat) end local dateA = Date(_dateA) local dateB = Date(_dateB) if dateA == nil and dateB == nil then error("Either date A, date B,...
Click to read more »do date = date + ONE_DAY dateparts = os.date("*t", date) end -- add the correct number of weeks if weeknumber > 1 then date = date + ((weeknumber...
Click to read more »local self = setmetatable({}, Dts) -- Parse date parameters. -- In this step we also record whether the date was in DMY or YMD format, -- and whether...
Click to read more »first (or only) date eg. "Sunset, <date>" prepend2 = '' - Prepend before the last date eg. "Sunset, <date> - nightfall, <date>" startoffset...
Click to read more »or {{#invoke:Complex_date|complex_date|1=|2=|3=|era=|lang=}} 1 option. See c:Template:Other date 2 date #1 3 date #2 conj in case the link between...
Click to read more »This module implements Template:Calendar date (talk · links · edit). {{#invoke:Calendar date|function_name}}...
Click to read more »Gregorian date of a holiday that moves year to year. Date data can be obtained from multiple sources as configured in Module:Calendar date/events "localfile"...
Click to read more »and t.date then local date = normalizeDate(t.date) if not date then error(string.format( "invalid date '%s' in parameter 'date%d'", ...
Click to read more »-------------- Tu BiShvat ---------------------------- Note 1: {{Calendar date}} requires dates to be in chronological order, thus the day of [1] is chronologically...
Click to read more »-- 2 date phrase dateStr = dateFunc(date1, date2, state) else -- 1 date phrase dateStr = dateFunc(date1, state) end end if type(dateStr)=='string'...
Click to read more »calculating the end-date by adding 8 years to the start date, if this condition is encountered. Note 2: {{Calendar date}} requires dates to be...
Click to read more »parse_date(str) local date = Date(str) if date then return tostring(date.year), tostring(date.month), tostring(date.day) end -- TODO: Date has not...
Click to read more »-------------- Leil Selichot ---------------------------- Note 1: {{Calendar date}} requires dates to be in chronological order, thus the day of [1] is chronologically...
Click to read more »For templates, you might want to use {{Date period}} instead. {{#invoke:Date period|_main|dateA|dateB}} Automatically formats two given dates with a space...
Click to read more »self:preprocess_equals_preprocess_many('{{#invoke:Date/sandbox|_Date|', '}}', '{{#invoke:Date|_Date|', '}}', { {1990, 5, 10, 'julian'}, {2020...
Click to read more »date = '2000-09-04', }, [2] = { date = '2001-09-03', }, [3] = { date = '2002-09-02'...
Click to read more »Module:Zodiac date local p = {} function p.main( frame ) local signNumber = tonumber(frame.args[1]) or 1 local year = tonumber(frame.args[2]) or os.date("!*t")...
Click to read more »(Seventeenth of Tammuz) ---------------------------- Note 1: {{Calendar date}} requires dates to be in chronological order, thus the day of [1] is chronologically...
Click to read more »-------------- Yom HaShoah ---------------------------- Note 1: {{Calendar date}} requires dates to be in chronological order, thus the day of [1] is chronologically...
Click to read more »local self = setmetatable({}, Dts) -- Parse date parameters. -- In this step we also record whether the date was in DMY or YMD format, -- and whether...
Click to read more »{{#invoke:Zodiac date|main|sign number|[year]}} where sign number is the number of the astrological sign, explained in the table below. Year is the year...
Click to read more »-------------- Tisha B'Av ---------------------------- Note 1: {{Calendar date}} requires dates to be in chronological order, thus the day of [1] is chronologically...
Click to read more »[[Module:Person date]]. Click talk page to run tests. local p = require('Module:UnitTests') local Date = require('Module:Date')._Date local today = Date('currentdate')...
Click to read more »------------------ Note 1: {{Calendar date}} requires dates to be in chronological order, thus the date of [1] is chronologically before [2] ...
Click to read more »parse_date(str) local date = Date(str) if date then return tostring(date.year), tostring(date.month), tostring(date.day) end -- TODO: Date has not...
Click to read more »local mDts = require('Module:Date table sorting/sandbox') -- the module to be tested local Dts = mDts._exportClasses().Dts -- the Dts class local ScribuntoUnit...
Click to read more »(month == 2) then -- On Feb 29, if we don't have a year (incomplete date), assume 29 can be valid once every if (day == 29 and not year)...
Click to read more »with invalid date. {{#invoke:person date|birth}} {{#invoke:person date|death}} {{Infobox ... | label# = Born | data# = {{#invoke:person date|birth}} | label#...
Click to read more »date = string.gsub( date, "%gt;", ">" ) date = string.gsub( date, "\'\"`", "<" ) date = string.gsub( date, "\`\"'", ">" ) date = string.gsub( date...
Click to read more »[1] = { date = '2000-06-24', }, [2] = { date = '2001-06-23', }, [3] = { date = '2002-06-22', }, [4] = { date = '2003-06-21'...
Click to read more »loadData ('Module:Citation/CS1/Configuration').global_df; -- fetch global date format specified by {{use xxx dates}} template local base_format = global_df...
Click to read more »require('strict') local dts = require('Module:Date table sorting')._main local p = {} --[[ The purpose of this file is to have a centralised place where...
Click to read more »{{#invoke:auto date formatter|pub_date_format|<date>}} For access and archive dates: {{#invoke:auto date formatter|access_archive_format|<date>}} If {{use...
Click to read more »article date format]] '..message..'.</span>' -- TODO ..'[[Category:Pages displaying alarming messages about Module:Get article date format]]' end...
Click to read more »provided). if dateTimeValues.day then local maxDay = getDaysInMonth(dateTimeValues.year, dateTimeValues.month) if dateTimeValues.day < 1 or dateTimeValues...
Click to read more »{{#invoke:Calendar date/events|function_name}}...
Click to read more »[1] = { date = '2001-12-22', }, [2] = { date = '2002-12-22', }, [3] = { date = '2003-12-22', }, [4] = { date = '2004-12-21', }, [5] = { date = '2005-12-22'...
Click to read more »{{#invoke:Next Occurrence of Hebrew Date|next_occurrence_of_hebrew_date_from_date | greg_year | greg_month | greg_day | heb_month | heb_day}} Where: greg_year...
Click to read more »parseDateValue{} -- with the millennium/century/decade handling of formatDate() local function parseDateFull(timestamp, precision, date_format, date_addon)...
Click to read more »This module allows infoboxes using {{Infobox date field metadata}} to automatically produce machine-readable metadata in form of microformats (see also...
Click to read more »function p:test_parseDate() -- Must begin with 'test' self:preprocess_equals_many('{{#invoke:Infobox date field metadata|parseDateOutputRaw|', '|noUnstrip=yes}}'...
Click to read more »Internationalization page used by Module:Complex date. This code is copied from Commons c:Module:I18n/complex date....
Click to read more »local p = {} -- Absolute dates -- "Absolute date" means the number of days elapsed since the Gregorian date -- Sunday, December 31, 1 BC. (Since there...
Click to read more »describeInterval(firstDate, lastDate) if firstDate == lastDate then return 'on ' .. firstDate end return 'between ' .. firstDate .. ' and ' .. lastDate end local...
Click to read more »make_COInS_date() ]] --local function check_date (date_string, tCOinS_date, test_accessdate) local function check_date (date_string, param, tCOinS_date) local...
Click to read more »parseDateValue{} -- with the millennium/century/decade handling of formatDate() local function parseDateFull(timestamp, precision, date_format, date_addon)...
Click to read more »--{{db-g7}} local p = {} local Date = require('Module:Date')._Date function p.main(frame) return Date(frame.args[1]):text('ymd') end return p...
Click to read more »['mt-date-wrong-order'] = 'The second date must be later in time than the first date', ['mt-dd-future'] = 'Death date (first date) must...
Click to read more »[1] = { date = '2000-11-04', }, [2] = { date = '2001-11-03', }, [3] = { date = '2002-11-02', }, [4] = { date = '2003-11-01'...
Click to read more »This module implements {{Date table sorting}}. Please see the template page for documentation....
Click to read more »-- form of French "of" based on "precision", which is wikibase compatible date precision format: -- 6=millennium, 7=century, 8=decade, 9=year, 10=month...
Click to read more »|title=Abilene Christian University Branding and Editorial Style Guide |date=July 1, 2020 |access-date=December 22, 2022}}"}, ["Academy of Art Urban Knights"] = {"CC0000"...
Click to read more »if date ~= 0 then if date > 10 then txt = txt .. "-" .. date else date = "0" .. date txt = txt .. "-" .. date end...
Click to read more »date'].val; Date = date_parameters_list['date'].val; DoiBroken = date_parameters_list['doi-broken-date'].val; PublicationDate = date...
Click to read more »local p = {} -- Absolute dates -- "Absolute date" means the number of days elapsed since the Gregorian date -- Sunday, December 31, 1 BC. (Since there...
Click to read more »['mt-date-wrong-order'] = 'The second date must be later in time than the first date', ['mt-dd-future'] = 'Death date (first date) must...
Click to read more »This module implements {{highlighted date list}}. Please see the template page for documentation....
Click to read more »end function formatDateString(dateString, mdyDates) if mdyDates then formattedDatePattern = "%2 %3, %1" else formattedDatePattern = "%3 %2 %1"...
Click to read more »date'].val; Date = date_parameters_list['date'].val; DoiBroken = date_parameters_list['doi-broken-date'].val; PublicationDate = date...
Click to read more »{{#invoke:Calendar date/localfiles/Hanukkah|function_name}}...
Click to read more »'access-date', ['accessed'] = 'access-date', ['acces date'] = 'access-date', ['acessdate'] = 'access-date', ['acces-date'] = 'access-date', ['accessdato']...
Click to read more »Validation function for the expiry and the protection date local function validateDate(dateString, dateType) if not lang then lang = mw.language.getContentLanguage()...
Click to read more »local function getDate(format, ts) local success, date = pcall(lang.formatDate, lang, format, ts) if success then return date end end local...
Click to read more »processing of date strings. Please do not modify this code without applying the changes first at Module:Date/sandbox and testing at Module:Date/sandbox/testcases...
Click to read more »[[Template:Start date]] -- This will accept a start_date returning a string that: -- for a valid date, wraps a hidden copy of the date in ISO format in...
Click to read more »an article title as the value of |page= to get its explicit or implicit date format. explicit: F j, Y if {{use mdy dates}}, or j F Y if {{use dmy dates}}...
Click to read more »local Date = require('Module:Date')._Date local getArgs = require('Module:Arguments').getArgs local p = {} function p.main(frame) local str = getArgs(frame)[1]...
Click to read more »if date ~= 0 then if date > 10 then txt = txt .. "-" .. date else date = "0" .. date txt = txt .. "-" .. date end...
Click to read more »List:filterArticlesByDate(startDate, endDate) startDate = self.normalizeDate(startDate) or '2005-01-01' endDate = self.normalizeDate(endDate) or lang:formatDate('Y-m-d')...
Click to read more »local p = {}; --This function converts nepali date to english date -- See MOS for date format(Wikipedia:Manual of Style/Dates and numbers) --The output...
Click to read more »rl%s*=%s*([^|%[%]]-)%s*%|%s*title%s*=%s*([^|]-)%s*%|%s*date%s*=%s*([^|]-)%s*%|%s*access%-?date%s*=%s*([^|]-)%s*%}%}', '\"[%1 %2]\". %3. Retrieved %4.')...
Click to read more »processing of date strings. Please do not modify this code without applying the changes first at Module:Date/sandbox and testing at Module:Date/sandbox/testcases...
Click to read more »{{#invoke:Calendar date/localfiles/Midsummer|function_name}}...
Click to read more »'access-date', -- German ['abruf-verborgen'] = 'access-date', -- German ['accessmonth'] = 'access-date', ['accesso'] = 'access-date'...
Click to read more »local date if args.date and args.date ~= '' then date = args.date elseif args.date == '' and self.isTemplatePage then date = lang:formatDate('F...
Click to read more »local DateTime = require("Module:Sandbox/DixonD/Datetime"); local Math = require("Module:Math"); local Error = require('Module:Error') local z = {} --...
Click to read more »local date_no_year = H_day .. " " .. month_names[H_month] local date_with_year = date_no_year .. " " .. Y return "[[" .. date_no_year ...
Click to read more »wiki local date_digit_auto_xlate_enable = false; -- when true translates Western date digit to the local-wiki's language digits (date_names['local_digits']);...
Click to read more »(default: j xg Y) -- s (or [1]) = the string to process; should be a date (default: empty string) return mw.getCurrentFrame():callParserFunction('#time'...
Click to read more »------------------------------- {{#invoke:Month translator|month_xlate|<date>}} ]] local function _month_xlate (args_t) local t = {}; local day, month...
Click to read more »{{#invoke:Calendar date/localfiles/Israeli Independence Day|function_name}}...
Click to read more »{ ['accessdate'] = true, ['access-date'] = true, ['agency'] = true, ['archivedate'] = true, ['archive-date'] = true, ['archive-format'] = true...
Click to read more »Validation function for the expiry and the protection date local function validateDate(dateString, dateType) if not lang then lang = mw.language.getContentLanguage()...
Click to read more »local function getDate(format, ts) local success, date = pcall(lang.formatDate, lang, format, ts) if success then return date end end local...
Click to read more »Implements {{Earliest possible date}}. {{#invoke:FillDate|main|date}}...
Click to read more »{{#invoke:Calendar date/localfiles/Dongzhi Festival|function_name}}...
Click to read more »local cdate -- initialise as nil and only load _complex_date function if needed -- Module:Complex date is loaded lazily and has the following dependencies:...
Click to read more »if not specialParams[k] then if v == '__DATE__' then v = mw.getContentLanguage():formatDate( 'F Y' ) end args[k] = v end end ...
Click to read more »wiki local date_digit_auto_xlate_enable = false; -- when true translates Western date digit to the local-wiki's language digits (date_names['local_digits']);...
Click to read more »function getUnixDate(date) local success, unixDate = pcall(lang.formatDate, lang, 'U', date) if success then return tonumber(unixDate) end end local...
Click to read more »good1, embargo_date, todays_date; good1, embargo_date = pcall (lang.formatDate, lang, 'U', embargo); todays_date = lang:formatDate ('U'); if good1...
Click to read more »'access-date', -- German ['abruf-verborgen'] = 'access-date', -- German ['accessmonth'] = 'access-date', ['accesso'] = 'access-date'...
Click to read more »local currentYear = tonumber(lang:formatDate('Y', 'now')) local currentMonth = tonumber(lang:formatDate('n', 'now')) local monthsAgo = 0 while monthsAgo...
Click to read more »{{#invoke:Calendar date/localfiles/All Saints Day|function_name}}...
Click to read more »CalcDate Modified from chunks of Module:Time Main function: getYearMonthDay takes a date string like "second Friday in June" as parameter |date= and...
Click to read more »datePrecedesDate(self.atDate[1], self.atDate[2], self.atDate[3], startTimeY, startTimeM, startTimeD)) and (endTimeY == nil or datePrecedesDate(self...
Click to read more »function formatPortalPotd(frame, potdDate) return frame:expandTemplate{ title = "Portal POTD", args = { potdDate, more = 'no' } } end local...
Click to read more »local date if args.date and args.date ~= '' then date = args.date elseif args.date == '' and self.isTemplatePage then date = lang:formatDate('F...
Click to read more »table.concat (date_t, ' '); -- make the dmy date string else -- date = year; -- no date so make |date=<year> date = _month_xlate...
Click to read more »the date string must match one of the recognized date formats, no error checking is done here; return nil else ]] local function decode_date (date_str)...
Click to read more »good1, embargo_date, todays_date; good1, embargo_date = pcall (lang.formatDate, lang, 'U', embargo); todays_date = lang:formatDate ('U'); if good1...
Click to read more »mw.language.getContentLanguage().code } -- This is used to get a date value for date_of_birth (P569), etc. which won't -- be linked -- consolidate by...
Click to read more »p:testJulianDay() self:preprocess_equals_preprocess_many('{{#invoke:Sandbox/DixonD/DateTemplates|julianDay|', '}}', '{{JULIANDAY|', '}}', { {''}...
Click to read more »function getUnixDate(date) local success, unixDate = pcall(lang.formatDate, lang, 'U', date) if success then return tonumber(unixDate) end end local...
Click to read more »pframe.args local Date if pargs.days then Date = os.date(dateText, os.time() - 86400*pargs.days) else Date = os.date(dateText) end local retval...
Click to read more »local p = {} local Date = require('Module:Date')._Date function p.snowflakeToDate(frame) local format = frame.args.format or "%B %e, %Y" local epoch...
Click to read more »return dateTable['month'] .. " " .. dateTable['day'] .. ", " .. dateTable['year'] else return dateTable['day'] .. " " .. dateTable['month']...
Click to read more »by this template (not in |ref=) that have a date if args.year:match ('%d%l$') or -- use the date value to determine if we should remove the...
Click to read more »date/time of daylight saving time events (beginning and ending). These timestamps will be compared to current UTC time. A dst timestamp is the date/time...
Click to read more »local cdate -- initialise as nil and only load _complex_date function if needed -- Module:Complex date is loaded lazily and has the following dependencies:...
Click to read more »parameter defined', date=os.date('%B %Y') } } local class_rules = Args['class_rules'] or nil -- Create footer text -- Date updating local matches_text...
Click to read more »= "1952", BUL = "1946", GDR = "1949", POL = "1928", ESP = "1945" } } -- date and matches played of latest update data.updated = { ...
Click to read more »{ ['accessdate'] = true, ['access-date'] = true, ['agency'] = true, ['archivedate'] = true, ['archive-date'] = true, ['archive-format'] = true...
Click to read more »Khmer Lunar Calendar dates -- Usage: {{#invoke:Sandbox/Ralvahkaset/khmer date|main|year=2024|month=4|day=14}} -- Output format: "៦ កើត ខែចេត្រ ឆ្នាំរោង...
Click to read more »lang:formatDate('01-m-Y', argsDate) return { argsDate = argsDate, year = tonumber(lang:formatDate('Y', argsDate)), month = lang:formatDate('F', argsDate)...
Click to read more »second local function normalizeDate(date) date = mw.text.trim(date, "+") -- extract year local yearstr = mw.ustring.match(date, "^\-?%d+") local year =...
Click to read more »month=string.sub(date,5,6), day=string.sub(date,7,8)} endDate = os.date("%Y-%m-%d", date - (1*86400)) startDate = os.date("%Y-%m-%d", date - (30*86400))...
Click to read more »(appearanceDate ~= nil) then -- Check if a release date was entered. fullString[counter] = appearanceDate -- A release date was entered;...
Click to read more »release_date or args.airdate_overall if start_date then if not start_date:find("dtstart") then return error_category end end local end_date = args...
Click to read more »local lastDate = dateList[#dateList] months[#months].e = tonumber(os.date('%d', lastDate.nDate or lastDate.nEndDate or lastDate.nAltEndDate)) -- end...
Click to read more »to be used in date -- calculations. local function getYmdDate(date) date = getDate('Ymd', date) if date then return tonumber(date) else return...
Click to read more »if not specialParams[k] then if v == '__DATE__' then v = mw.getContentLanguage():formatDate( 'F Y' ) end args[k] = v end end ...
Click to read more »args = { reason='No source parameter defined', date=os.date('%B %Y') } } -- Create footer text -- Date updating if string.lower(update)=='complete'...
Click to read more »return dateTable['month'] .. " " .. dateTable['day'] .. ", " .. dateTable['year'] else return dateTable['day'] .. " " .. dateTable['month']...
Click to read more »self:preprocess_equals('{{#invoke:FillDate|main|2023}}', '1 January 2023') self:preprocess_equals('{{#invoke:FillDate|main|March 2023}}', '1 March 2023')...
Click to read more »self._date = data.date self._dateFormat = data.dateFormat or self:message('date-format') self._formattedDate = self:formatDate(self._date) do local...
Click to read more »-- default method of Easter date calculation when Easter type is not given defaultFormat = "Y-m-d", -- default date output format noFormat ...
Click to read more »|OriginalAirDate= — optional; This is the date the episode first aired on TV, or is scheduled to air. -- |AltDate= — optional; The next notable air date, such...
Click to read more »lang:formatDate('Y', date) -- This invocation of lang:formatDate returns just the year. if year == date then -- If the provided date is just the year: date = date .....
Click to read more »err_warn_msgs = { date_err = '(Date error)', -- decodeWebciteDate, decodeWaybackDate, decodeArchiveisDate date_miss = '(Date missing)', ...
Click to read more »inserted automatically if they are called; see XXX and YYY). The update date is set by |update=, see below for details. If no source is given a citation-needed...
Click to read more »local p = {} local Date = require('Module:Date')._Date function p.snowflakeToDate(frame) local format = frame.args.format or "%B %e, %Y" local epoch...
Click to read more »(appearanceDate ~= nil) then -- Check if a release date was entered. fullString[counter] = appearanceDate -- A release date was entered;...
Click to read more »|url=https://en.wikipedia.org/Main_Page |access-date= access-date |language= LANGUAGE |edition= EDITION |date= DATE |year= YEAR |publisher= PUBLISHER |volume=...
Click to read more »RefPubIn_P = "P1433" --reference published in property local DatePub_P = "P577" -- date of publication property local Publisher_P = "P123" -- publisher...
Click to read more »|title=Abilene Christian University Branding and Editorial Style Guide |date=July 1, 2020 |access-date=December 22, 2022}}"}, ["Academy of Art Urban Knights"] = {"CC0000"...
Click to read more »-- a sequence of snowflake date error messages; all must be terminated with a semicolon (;) ' <kbd>|date=</kbd> / <kbd>|number=</kbd>...
Click to read more »the date string must match one of the recognized date formats, no error checking is done here; return nil else ]] local function decode_date (date_str)...
Click to read more »by this template (not in |ref=) that have a date if args.year:match ('%d%l$') or -- use the date value to determine if we should remove the...
Click to read more »is_start_date_in_the_future(start_date) -- Extract the date from the start_date. local date_pattern = ".*<span[^>]*>(.-)</span>" local extracted_date =...
Click to read more »flag_icon_linked = "fbicon" } -- date and matches played of latest update data.updated = { -- round, group, matches, update date group...
Click to read more »displays its current status, as well as other -- information, such as the date it was featured on the main page. --------------------------------------...
Click to read more »= "1946", MLT = "1943", ESP = "1945", ROU = "1952", BUL = "1946" } } -- date and matches played of latest update data.updated = { ...
Click to read more »Implements {{NepaliDateConverter}}...
Click to read more »on that date lacks it. ]] function p.matchesFinished(round, group, latestDate) if not latestDate or latestDate == "complete" or latestDate == "" or...
Click to read more »local lastDate = dateList[#dateList] months[#months].e = tonumber(os.date('%d', lastDate.nDate or lastDate.nEndDate or lastDate.nAltEndDate)) -- end...
Click to read more »-- This module provides functions to format date ranges according to [[MOS:DATERANGE]]. local p = {} local getArgs = require('Module:Arguments').getArgs...
Click to read more »local Date = require('Module:Date')._Date local yesno = require('Module:Yesno') local p = {} -- Local variables. local reviewer = nil; local df = "mdy";...
Click to read more »OldAfdMulti:renderDate(date) if date then return date else self.hasMissingDate = true return string.format( '<sup>%s[[%s|date missing]]%s</sup>'...
Click to read more »date/time of daylight saving time events (beginning and ending). These timestamps will be compared to current UTC time. A dst timestamp is the date/time...
Click to read more »letter of template name TODO: better way to do that? local redirects_date = { ['date'] = true, ['datetomos'] = true, ['formatdate'] = true, ['isotodmymdy']...
Click to read more »if not specialParams[k] then if v == '__DATE__' then v = mw.getContentLanguage():formatDate( 'F Y' ) end args[k] = v end ...
Click to read more »lang:formatDate('Y', date) -- This invocation of lang:formatDate returns just the year. if year == date then -- If the provided date is just the year: date = date .....
Click to read more »-- "14 March 2023" → "14 March 2023" local p = {} -- {{#invoke:FillDate|main|{{{1|}}}}} function p.main(frame) local str = frame.args[1] --...
Click to read more »datePrecedesDate(self.atDate[1], self.atDate[2], self.atDate[3], startTimeY, startTimeM, startTimeD)) and (endTimeY == nil or datePrecedesDate(self...
Click to read more »--[=[ Unit tests for [[Module:Citation/CS1/Date validation]]. Click talk page to run tests. ]=] local p = require('Module:UnitTests')...
Click to read more »local Date = require('Module:Date')._Date local function range(date) local date2 = date + 6 if date2:text("%Y") ~= date:text("%Y") then return date:text("%B...
Click to read more »list[sortKey] = article local date = article.date addSubtable(article, index.dates, date) local page = makePageName(date, article.subpage) article.page...
Click to read more »publicationDate] = "date", [aliasesP.lastUpdate] = "date", [aliasesP.retrieved] = "access-date", [aliasesP...
Click to read more »letter of template name TODO: better way to do that? local redirects_date = { ['date'] = true, ['datetomos'] = true, ['formatdate'] = true, ['isotodmymdy']...
Click to read more »updatedto = 'Updated to <matches> played on <date>.', firstplayed = 'First <matches> will be played on <date>.', futuredate = '?', complete = 'complete'...
Click to read more »return { { date = "2005-01-10", subpage = "AMA election", title = "AMA begins plans for new election", subhead = "", authors = {"Michael Snow"}...
Click to read more »'"</span>' local date = args['single' .. num .. 'date'] or args['single ' .. num .. ' date'] or args['Single ' .. num .. ' date'] if date then out =...
Click to read more »return { { date = "2022-01-30", subpage = "Arbitration report", title = "New arbitrators look at new case and antediluvian sanctions", subhead...
Click to read more »Date|id_str=1345021162959503360}} returns January 1, 2021. To specify the date format, use |format=. {{#invoke:TwitterSnowflake|snowflakeToDate...
Click to read more »theDate then -- we have a date, so process and return accordingly -- first sanitize the date theDate = require('Module:Format time')._main{theDate}...
Click to read more »{{#invoke:ISO 639 name/ISO 639-2/make|ISO_synonym_extract|file-date=2013-01-11}} reads a local copy of data from the table at http://www.loc...
Click to read more »'CITEREF_A1_c\._2020', citeref(env, {date='c. 2020'})) self:assertEquals( 'CITEREF_A1_2020', citeref(env, {date='1 January 2020'})) self:assertEquals(...
Click to read more »function parseDate(date) local year, month, day if not date then return nil, nil, nil end _, _, year, month, day = mw.ustring.find(date,"(20%d%d)-(%d+)-(%d+)")...
Click to read more »date = args.date or args.year; local doi = args.doi and args.doi:match ('[Ii][Uu][Cc][Nn]%.[Uu][Kk]%.(%d%d%d%d)') if vol and date and (vol ~= date)...
Click to read more »= "1945", BUL = "1967", GRE = "old", ROU = "1965", CYP = "1960" } } -- date and matches played of latest update data.updated = { ...
Click to read more »attached i, j = dateStr:find("[T/]") if i then dateStr = dateStr:sub(1, i-1) end local from = 1 if dateStr:sub(1,1) == "-"...
Click to read more »flagvar = { ROU = "1965", ALB = "1946", CYP = "1960", BUL = "1971" } } -- date and matches played of latest update data.updated = { ...
Click to read more »flagvar = { ALB = "1946", SMR = "1862", CYP = "1960" } } -- date and matches played of latest update data.updated = { ...
Click to read more »= "1970", ESP = "1945", CYP = "1960", POL = "1928", ALB = "1946" } } -- date and matches played of latest update data.updated = { ...
Click to read more »err_warn_msgs = { date_err = '(Date error)', -- decodeWebciteDate, decodeWaybackDate, decodeArchiveisDate date_miss = '(Date missing)', ...
Click to read more »return { { date = "2006-01-02", subpage = "ArbCom candidates", title = "ArbCom candidates", subhead = "", authors = {"Flcelloguy"}, piccy...
Click to read more »tonumber(m)) local date_str = y .. '-' .. m .. '-' .. d local success, result = pcall(lang.formatDate, lang, 'F j, Y', date_str) return success...
Click to read more »page formatDate takes a datetime of the usual format from mw.wikibase.entity:formatPropertyValues and formats it according to the df (date format) and...
Click to read more »{}; function this.julianDayOfDate(date) -- http://www.tondering.dk/claus/cal/julperiod.php#formula local y = date.year + 4799; ...
Click to read more »item = 15393417, globals = { DateTime = 20652535, FileMedia = 24765326...
Click to read more »flagvar = { BUL = "1971", ROU = "1965", CYP = "1960", ALB = "1946" } } -- date and matches played of latest update data.updated = { ...
Click to read more »List:filterArticlesByDate(startDate, endDate) startDate = self.normalizeDate(startDate) or '2005-01-01' endDate = self.normalizeDate(endDate) or lang:formatDate('Y-m-d')...
Click to read more »m.fields.timestamp.isRequired = true m.fields.timestamp.default = "join date unknown" m.fields.timestamp.prefix = "'''Joined on:<br/>''' " m.fields.timestamp...
Click to read more »month=string.sub(date,5,6), day=string.sub(date,7,8)} endDate = os.date("%Y-%m-%d", date - (1*86400)) startDate = os.date("%Y-%m-%d", date - (30*86400))...
Click to read more »local date = fetchNested(prop,{"mainsnak"}) local precision = fetchNested(dval,{"precision"}) retval = _getDate(date, precision)...
Click to read more »theDate then -- we have a date, so process and return accordingly -- first sanitize the date theDate = require('Module:Format time')._main{theDate}...
Click to read more »[[Module:Progress box]]. return { -- The date at which to start checking for existing categories, in YYYY-MM -- format. ['start-date'] = '2006-10', -- The heading...
Click to read more »= "1971", ESP = "1977", ROU = "1965", CYP = "1960", POL = "1928" } } -- date and matches played of latest update data.updated = { ...
Click to read more »= "1945", ROU = "1965", POL = "1928", GRE = "old", BUL = "1971" } } -- date and matches played of latest update data.updated = { ...
Click to read more »getArgs local yesno = require('Module:Yesno') local Date = require('Module:Date')._Date local lang = mw.language.new('en') local cfg = mw.loadData('Module:Spoken...
Click to read more »args["dateformat"] or "dmy" local text = "" if (date ~= "") then if dateModule(date) then date = dateModule(date):text(dateformat) end text = mw.ustring...
Click to read more »flag_icon_linked = "fbicon" } -- date and matches played of latest update data.updated = { -- round, group, matches, update date group...
Click to read more »completed_text local source_circumstance local earliest_date local latest_date local range_start_date local has_creator local has_architect local architect_text...
Click to read more »error and maintenance messaging Module:Citation/CS1/testcases/dates (run) – date validation Module:Citation/CS1/testcases/identifiers (run) – identifiers...
Click to read more »local Date = require('Module:Date')._Date local input = lang:formatDate('Y-m-d H:i:s', args[1]) -- Date needs a clean date input = Date(input) ...
Click to read more »main(frame) local numedits = tonumber(frame.args.edits) local date = frame.args.date local noincremental = frame.args.noinc local numpos = 0 local...
Click to read more »local Date = require('Module:Date')._Date local function range(date) local date2 = date + 6 if date2:text("%Y") ~= date:text("%Y") then return date:text("%B...
Click to read more »self._date = data.date self._dateFormat = data.dateFormat or self:message('date-format') self._formattedDate = self:formatDate(self._date) do local...
Click to read more »can Scribunto fit in the allowed 50 MB of memory? local Date = require('Module:Date')._Date local function main(frame) local count = tonumber(frame...
Click to read more »snowflakeToDate | id_str = 574608900537761792}}', 'March 8, 2015') end -- test getDate function p:test_getDate_date_off_by_five() -- date off by five...
Click to read more »[[Template:Start date]] -- This will accept a start_date returning a string that: -- for a valid date, wraps a hidden copy of the date in ISO format in...
Click to read more »or args["to1"]) local diff = args["diff"] or args["diff1"] local date = args["date"] or args["date1"] local from_oldid = args["from_oldid"] or args["from_oldid1"]...
Click to read more »code'}, start_date = { code = '<!-- {{Start date|YYYY|MM|DD|df=y}} -->', dlist = 'use {{tlx|Start date|YYYY|MM|DD|df=y}}'}, end_date = { code =...
Click to read more »today's date as YYYY-MM-DD local function today() return os.date("%Y-%m-%d") end -- Get the TFA title for the specified "YYYY-MM-DD" date. May be --...
Click to read more »OldAfdMulti:renderDate(date) if date then return date else self.hasMissingDate = true return string.format( '<sup>%s[[%s|date missing]]%s</sup>'...
Click to read more »values, even if preferred values exist. getDateValue: Special method to return formatted dates. The default date format is [day month year]; an optional...
Click to read more »is_start_date_in_the_future(start_date) -- Extract the date from the start_date. local date_pattern = ".*<span[^>]*>(.-)</span>" local extracted_date =...
Click to read more »local Date = require('Module:Date')._Date local yesno = require('Module:Yesno') local p = {} -- Local variables. local reviewer = nil; local df = "mdy";...
Click to read more »get_formatted_date(date) local formatted_date = mw.getCurrentFrame():expandTemplate{title = date_template, args = {date}} return formatted_date end ---...
Click to read more »-- a sequence of snowflake date error messages; all must be terminated with a semicolon (;) ' <kbd>|date=</kbd> / <kbd>|number=</kbd>...
Click to read more »(Arrow)|Pilot]]|date={{start date|2012|10|10}}', '{{unbulleted list|"[[Pilot (Arrow)|Pilot]]"|\'\'[[Arrow (TV series)|Arrow]]\'\'|{{start date|2012|10|10}}}}'}...
Click to read more »when subtag is deprecated file_date = content:match ('(File%-Date: %d%d%d%d%-%d%d%-%d%d)'); -- get the file date line from this version of the source...
Click to read more »"mw:Help:Magic words#Date and time"; ["CURRENTMONTH"] = "mw:Help:Magic words#Date and time"; ["CURRENTMONTH1"] = "mw:Help:Magic words#Date and time"; -- undocumented...
Click to read more »lang:formatDate('01-m-Y', argsDate) return { argsDate = argsDate, year = tonumber(lang:formatDate('Y', argsDate)), month = lang:formatDate('F', argsDate)...
Click to read more »tonumber( legDate ) >= tonumber( t.sDate.date ) and tonumber( legDate ) <= tonumber( t.eDate.date ) then o = o .. tonumber( t.sDate.date ) + legNumber...
Click to read more »function getYmdDate(date) date = getDate('Ymd', date) if date then return tonumber(date) else return nil end end -- Gets the date in the format...
Click to read more »lang:formatDate( 'F_j', date ), oldid, lang:formatDate( 'F j, Y', date ), lang:formatDate( 'F Y', date ), ...
Click to read more »return dateTable['month'] .. " " .. dateTable['day'] .. ", " .. dateTable['year'] else return dateTable['day'] .. " " .. dateTable['month']...
Click to read more »attached i, j = dateStr:find("[T/]") if i then dateStr = dateStr:sub(1, i-1) end local from = 1 if dateStr:sub(1,1) == "-"...
Click to read more »return { { date = "2010-01-04", subpage = "Arbitration report", title = "The Report on Lengthy Litigation", subhead = "", authors = {"AGK"}...
Click to read more »understand the date and then test if it is a valid date. Examples "Example with a nonsense date". 57 Foo 2x21. {{cite web}}: Check date values in: |date= (help)...
Click to read more »require('Module:UnitTests') local START_DATE_DFFAULT = {"2015", "4", "23"} local END_DATE_DEFAULT = {"2016", "4", "23"} local START_DATE_DFFAULT_DF = {"2015", "4"...
Click to read more »_externalData(args) local data = mw.ext.data.get(args.datapage) local dateIndex local deathsIndex local recoveriesIndex local casesIndex local class4Index...
Click to read more »start ) end local redate = '%d%d?%s%a*%s%d%d%d%d%f[(%s%(UTC%)]' sec.date = match(content, redate) local remotion = '\n====?([^\n]*[Mm]otion[^\n]-)====...
Click to read more »args["dateformat"] or "dmy" local text = "" if (date ~= "") then if dateModule(date) then date = dateModule(date):text(dateformat) end text = mw.ustring...
Click to read more »return { { date = "2023-01-01", subpage = "Arbitration report", title = "Arbitration Committee Election 2022", subhead = "Congratulations.", ...
Click to read more »return { { date = "2015-01-07", subpage = "Featured content", title = "Kock up", subhead = "Two lists and twelve pictures were promoted.", authors...
Click to read more »{}; function this.julianDayOfDate(date) -- http://www.tondering.dk/claus/cal/julperiod.php#formula local y = date.year + 4799; ...
Click to read more »args["from1"] or "" local to = args["to"] or args["to1"] or "" local date = args["date"] or args["date1"] or "" local afd = args["afd"] or args["afd1"]...
Click to read more »return { { date = "2019-01-31", subpage = "Arbitration report", title = "An admin under the microscope", subhead = "Snowman flames newbies? Or...
Click to read more »getContentLanguage() dateStuff.argsDate = argsDate --Year local year = lang:formatDate('Y', argsDate) year = tonumber(year) dateStuff.year = year --...
Click to read more »{'aux3','Aux3',''}, {'airdate','OriginalAirDate','Original release date'}, {'altdate','AltDate',''}, {'guests','Guests','Guest(s)'}, {'musicalguests'...
Click to read more »publisher = '[[U.S. National Geodetic Survey]]', accessdate = args['date']} } table.insert(refs, {'D', r}) end if args['gnis'] then local...
Click to read more »{'released=' .. get_date("start") .. '|released2=' .. get_date("start"), ''}, {'released=' .. get_date("start") .. '|released2=' .. get_date("start") .. '|first_aired3='...
Click to read more »local Date = require('Module:Date')._Date local input = lang:formatDate('Y-m-d H:i:s', args[1]) -- Date needs a clean date input = Date(input) ...
Click to read more »{{#invoke:Protection banner|main | 1 = reason | small = yes/no | action = action | date = protection date | user = username | section = talk page section name | category...
Click to read more »implements the following templates: Redirects The age templates expect the older date to be first. The implementations of age_in_years and age_in_years_nts display...
Click to read more »so they can be used sort-ably in tables. {{#invoke:Sandbox/Elli/SignatureDateConvert|sigConv|timestamp=02:19, 7 March 2021 (UTC)}} 2021-03-7 See...
Click to read more »require('Module:Yesno') local dateperiod = require('Module:Date period')._main local Date = require('Module:Date')._Date local p = {} function p.main(frame) local...
Click to read more »propertyID, startDate, endDate) local startTime = startDate and tonumber(lang:formatDate("U", startDate)) or -math.huge local endTime = endDate and...
Click to read more »= "1995", SMR = "1862", LTU = "1988", ITA = "2003", GEO = "1990" } } -- date and matches played of latest update data.updated = { ...
Click to read more »local names; local file_date = 'File-Date: ' .. frame.args["file-date"]; -- set the file date line from |file-date= for code, name in mw.ustring...
Click to read more »= frame:expandTemplate({ title = 'citation needed', args = {date = stripToNil(args.date)} }) end return result .. text .. '\n|}' end local function...
Click to read more »org/web/20160801000000/http://example.com |date=August 1, 2016'}, {'|url=http://www.webcitation.org/5eWaHRbn4?url=http://www.example.com/ |date=12 February 2009'}, {'|url=http://www...
Click to read more »return { { date = "2016-01-06", subpage = "Arbitration report", title = "Catflap08 and Hijiri88 case been decided", subhead = "Current Committee...
Click to read more »getArgs local yesno = require('Module:Yesno') local Date = require('Module:Date')._Date local lang = mw.language.new('en') local cfg = mw.loadData('Module:Spoken...
Click to read more »local p = {} p.date_formatting = function( frame ) -- Unpacking date local date = frame.args.date or "Invalid entry" local format = frame.args.format...
Click to read more »"mw:Help:Magic words#Date and time"; ["CURRENTMONTH"] = "mw:Help:Magic words#Date and time"; ["CURRENTMONTH1"] = "mw:Help:Magic words#Date and time"; -- undocumented...
Click to read more »current date, in the format specified by the -- "preload-title-date-format" message. ['preload-title-text'] = '$1 edit request on $2', -- The date format...
Click to read more »local Date = require('Module:Date')._Date local nowDateObj = Date('currentdate') local dates = { nowDateObj - '18y', Date('July 1 2009'), nowDateObj...
Click to read more »return { { date = "2008-01-02", subpage = "Arbitration report", title = "The Report on Lengthy Litigation", subhead = "", authors = {"David...
Click to read more »flagvar = { SRB = "2004", SMR = "1862", BLR = "1995" } } -- date and matches played of latest update data.updated = { ...
Click to read more »local code, name; local file_date = 'File-Date: ' .. frame.args["file-date"]; -- set the file date line from |file-date= (from the bottom of the source...
Click to read more »return { { date = "2011-01-03", subpage = "2010 in review", title = "Review of the year", subhead = "", authors = {"Wackywace", "Jarry1250"...
Click to read more »available under the MIT License. The date function outputs a random date. {{#invoke:random|date|timestamp1|timestamp2|format=date format|same=yes}} If no timestamp...
Click to read more »UEFA EURO 2012 Statistics – Qualifying Phase – Goals scored]</ref>" -- date and matches played of latest update data.updated = { ...
Click to read more »local names; local file_date = 'File-Date: ' .. frame.args["file-date"]; -- set the file date line from |file-date= for code, name in mw.ustring...
Click to read more »date = args.date or args.year; local doi = args.doi and args.doi:match ('[Ii][Uu][Cc][Nn]%.[Uu][Kk]%.(%d%d%d%d)') if vol and date and (vol ~= date)...
Click to read more »= "1995", GEO = "1990", CYP = "1960", SMR = "1862", LTU = "1988" } } -- date and matches played of latest update data.updated = { ...
Click to read more »return { { date = "2012-01-02", subpage = "Arbitration report", title = "New case accepted, four open cases, terms begin for new arbitrators", ...
Click to read more »['lastXDays'] = 'Last %d days', -- %d is the number of days ['date'] = 'Date', ['noOfCases'] = '# of cases', ['noOfDeaths'] = '# of deaths'...
Click to read more »RefPubIn_P = "P1433" --reference published in property local DatePub_P = "P577" -- date of publication property local Publisher_P = "P123" -- publisher...
Click to read more »U S _ O F F S E T _ G E T >------------------------------------ returns date offset from today by <offset> in <format> (#time parser function formatting)...
Click to read more »start ) end local redate = '%d%d?%s%a*%s%d%d%d%d%f[(%s%(UTC%)]' sec.date = match(content, redate) local remotion = '\n====?([^\n]*[Mm]otion[^\n]-)====...
Click to read more »(month == 2) then -- On Feb 29, if we don't have a year (incomplete date), assume 29 can be valid once every if (day == 29 and not year)...
Click to read more »['invalid'] = '<span style="font-size:100%" class="error">Error: invalid date and/or time</span>', } local getArgs = require('Module:Arguments').getArgs...
Click to read more »return { { date = "2014-01-01", subpage = "Arbitration report", title = "Examining the Committee's year", subhead = "In 2013, the arbitration...
Click to read more »and now common parameters (as much as possible) OCinSoutput["rft.date"] = data.Date; -- book, journal, dissertation for k, v in pairs( data...
Click to read more »return { { date = "2007-01-02", subpage = "Arbitration report", title = "The Report on Lengthy Litigation", subhead = "", authors = {"David...
Click to read more »dayTry(frame) local date = frame.args.date or mw.text.trim(frame.args[1] or "") if date == "" then date = "No date" end local d, y = date:match("(%d+)%D+(%d+)")...
Click to read more »'preload-title-text', getLevelInfo(level, 'levelText'), lang:formatDate(message('preload-title-date-format')) ) local content = mw.title.new(talkPageName):getContent()...
Click to read more »return { { date = "2009-01-03", subpage = "ArbCom elections", title = "ArbCom elections: 10 arbitrators appointed", subhead = "", authors =...
Click to read more »return { { date = "2018-01-16", subpage = "Arbitration report", title = "Mister Wiki is first arbitration committee decision of 2018", subhead...
Click to read more »getContentLanguage() -- implement lang:formatDate(format,datein,true) here return error("Unable to recognize date") end return dateout end local...
Click to read more »= "1960", LTU = "1988", BLR = "1995", GEO = "1990", SMR = "1862" } } -- date and matches played of latest update data.updated = { ...
Click to read more »-- File-Date: 2013-01-11 return { -- 639-2B ["alb"] = {"Albanian"}, ["arm"] = {"Armenian"}, ["baq"] = {"Basque"}, ["bur"] = {"Burmese"}...
Click to read more »return dateTable['month'] .. " " .. dateTable['day'] .. ", " .. dateTable['year'] else return dateTable['day'] .. " " .. dateTable['month']...
Click to read more »Easter dates and dates relative to Easter. Function to calculate Easter date or date of the event related to Easter. {{#invoke:Easter|Calculate|{{CURRENTYEAR}}}}...
Click to read more »provided', no_date = 'Error: no date provided' }, cat = { no_filename = '[[Category:Spoken Wikipedia without file]]', no_date = '[[Category:Spoken...
Click to read more »local p = {} local Date = require("Module:Date")._Date local lang = mw.language.new(mw.language.getContentLanguage().code) local function getMonths(start)...
Click to read more »pframe.args local Date if pargs.days then Date = os.date(dateText, os.time() - 86400*pargs.days) else Date = os.date(dateText) end local retval...
Click to read more »--[[ This module is intended for processing of date strings. Please do not modify this code without applying the changes first at Module:ISOdate/sandbox...
Click to read more »'programme' or 'series') .. ',' else if args.date then airedEpisodes = airedEpisodes .. 'As of' .. args.date .. ',' else airedEpisodes = airedEpisodes...
Click to read more »on that date lacks it. ]] function p.matchesFinished(round, group, latestDate) if not latestDate or latestDate == "complete" or latestDate == "" or...
Click to read more »date'].val; Date = date_parameters_list['date'].val; DoiBroken = date_parameters_list['doi-broken-date'].val; LayDate = date...
Click to read more »_]+of[ _]+when%??", "[Aa]s[ _%-]+of%?", "[Cc]larify date", "[Dd]ate[ _]*needed", "[Nn]eeds?[ _]+date", "[Rr]ecently", "[Ss]ince[ _]+when%??", "[Ww]HEN"...
Click to read more »date range. {{#invoke:infobox/dates|start_end_date_template_validation}} - checks if the values of |first_aired=, |released=, |aired=, |released_date=...
Click to read more »{{#invoke:Spoken Wikipedia|main}} |1=, |2=, |3=... Filenames of the audio files. |date= Date of the version of the page, which was recorded. |page= Overrides the "this...
Click to read more »{{#invoke:Formatted appearance|getFormattedAppearance|major_work=|minor_work=|date=}} {{#invoke:Formatted appearance|getFormattedAppearance|major_work=|issue=|date=}}...
Click to read more »provided', no_date = 'Error: no date provided' }, cat = { no_filename = '[[Category:Spoken Wikipedia without file]]', no_date = '[[Category:Spoken...
Click to read more »-- os.date provides formatted date/time strings -- '%y-%m-%d %H:%M:%S' formats the date as 'YY-MM-DD HH:MM:SS' local serverTime = os.date('!%y-%m-%d...
Click to read more »num] .. '"</span>' local date = args['single' .. num .. 'date'] if date then out = out .. '<br />Released: ' .. date end out = out .. '</span>'...
Click to read more »return { { date = "2020-01-27", subpage = "Arbitration report", title = "Three cases at ArbCom", subhead = "The new arbs have a big load.", ...
Click to read more »small number of different references, whose name and date is suitable for short footnotes, name and date not overriden In this case, the CITEREF should be...
Click to read more »Death date (marked with @death@) -- Other dates (marked with @date@) local birthDateField local deathDateField local birth_date='' local death_date=''...
Click to read more »publisher = '[[U.S. National Geodetic Survey]]', accessdate = args['date']} } table.insert(refs, {'D', r}) end if args['gnis'] then local...
Click to read more »if success then return newDate else error(string.format( "invalid date '%s' passed to getDate", tostring(date) )) end end local function...
Click to read more »function p:test_parseDate() -- Must begin with 'test' self:preprocess_equals_many('{{#invoke:Sandbox/Hellknowz/Test|parseDateOutputRaw|', '|noUnstrip=yes}}'...
Click to read more »deletion, merging, renaming etc. --> }} date, date2, date3...: Date of nomination, required for listing except for date. result, result2, result3...: Result...
Click to read more »date conversion ========================== Date to iso-date {{#DateHelper|to_iso|31 december 1975}} returns: "1975-12-31" Date to short date {{#Date...
Click to read more »local p = {} p.date_formatting = function( frame ) -- Unpacking date local date = frame.args.date or "Invalid entry" local format = frame.args.format...
Click to read more »omitted. ]==] local ambox_globe = "Ambox globe.svg" local hour=tonumber(os.date("%k")) if hour >= 22 or hour < 6 then ambox_globe = "Ambox globe Asia Australia...
Click to read more »"branch" .. a local thisVersion = "version" .. a local thisDate = "date" .. a local CurLabel = "label" .. a local CurData = "data"...
Click to read more »case, where param 1 is an article, param 2 is a label, and param 3 is the date. We assume this case if argument 4 is nil. if (args[3] ~= nil and args[4]...
Click to read more »'inline-table') if self.args.date then builder:tag('tr') :tag('th') :css('padding-right', '1em') :wikitext('Date') :done() :tag('td')...
Click to read more »(and vice versa). Some category names are created dynamically according to date or language parameter values, or to the parameter name itself in the template...
Click to read more »return { { date = "2021-01-31", subpage = "Featured content", title = "New Year, same Featured Content report!", subhead = "...Except we changed...
Click to read more »a string. If only a date is found, it returns the date. If only a time is found, it returns the empty string. If a time and a date are both found, it appends...
Click to read more »'Tropical Storm Alberto (2030)', } local date = os.date('!*t') -- today's UTC date local y, m = date.year, date.month -- full year, month (1-12) if m...
Click to read more »return { { date = "2017-01-17", subpage = "Arbitration report", title = "Concluding 2016 and covering 2017's first two cases", subhead = "Various...
Click to read more »protection time in unix time if temporary. -- protectionObj.protectionDate - the protection date in unix time, or nil if -- unspecified. -- protectionObj.bannerConfig...
Click to read more »main(frame) local numedits = tonumber(frame.args.edits) local date = frame.args.date local noincremental = frame.args.noinc local numpos = 0 local...
Click to read more »return { { date = "2013-01-07", subpage = "Featured content", title = "Featured content in review", subhead = "Over the past year, 963 pieces...
Click to read more »-- File-Date: 2026-06-14 return { ["Arab"] = {"ar", "fa", "ps", "ur"}, ["Armn"] = {"hy"}, ["Beng"] = {"as", "bn"}, ["Blis"] = {"zbl"}, ["Cyrl"] =...
Click to read more »end function formatDateString(dateString, mdyDates) if mdyDates then formattedDatePattern = "%2 %3, %1" else formattedDatePattern = "%3 %2 %1"...
Click to read more »= frame:expandTemplate({ title = 'citation needed', args = {date = stripToNil(args.date)} }) end return result .. text .. '\n|}' end local function...
Click to read more »ISO converts a date in YMD format (e.g. 2000 January 17) to ISO 8601 format (e.g. 2000-01-17). Any input which is not a valid DMY date is passed through...
Click to read more »to the published chart names; each group maps an ID to volume, issue, and date. Module:Music chart/chartdata-czech.json — week ID lookup table for Czech/Slovak...
Click to read more »column_title or nil local date_title = args.date_title or nil local ci = nil local di = nil local column_values = {} local date_values = {} for j, field...
Click to read more »:css('color', 'inherit') -- Date cell = root:tag('td'):addClass('CFB-schedule-date') if args.date and (args.date):lower() ~= 'no' then cell ...
Click to read more »Beyoncé|song=Halo|access-date=January 1, 2025}} The module receives: 1=Australia, 2=1, artist=Beyoncé, song=Halo, access-date=January 1, 2025, type=single...
Click to read more »local p = {} function p.date( frame ) date = os.date() return date end return p...
Click to read more »that: for a valid date, wraps a hidden copy of the date in ISO format in a microformat returns the input. {{#invoke:Parsedate|parse_date|input_string}} Positional...
Click to read more »args["from1"] or "" local to = args["to"] or args["to1"] or "" local date = args["date"] or args["date1"] or "" local afd = args["afd"] or args["afd1"]...
Click to read more »to that year's Arbcom election pages as described below, and set the four date parameters. After that, editors can add voting guides using the guiden parameters...
Click to read more »index start at 1 while (Args["date"..index+1] ~= nil) do index = index+1 entries_list[index] = { date=Args["date"..index], stadium=Args["stadium"...
Click to read more »case, where param 1 is an article, param 2 is a label, and param 3 is the date. We assume this case if argument 4 is nil. if (args[3] ~= nil and args[4]...
Click to read more »displays its current status, as well as other -- information, such as the date it was featured on the main page. --------------------------------------...
Click to read more »date') :wikitext(args["argue-date"] or "") :done() :tag("td") :addClass('scotus-termlist-date') :wikitext(args["decision-date"]) ...
Click to read more »str="" local myDate = p.getDate(inputTable) local dateResults = p.checkDate(myDate) if(not(dateResults.isDateCorrect))then return dateResults.errorMessage...
Click to read more »...
Click to read more »tonumber(os.date("%m")) elseif m == "next" then return tonumber(os.date("%m")) % 12 + 1 elseif m == "last" then return (tonumber(os.date("%m"))...
Click to read more »values, even if preferred values exist. getDateValue: Special method to return formatted dates. The default date format is [day month year]; an optional...
Click to read more »2600, ["Birth-date"] = 5000, ["Birth-date_and_age"] = 7900, ["Birth_based_on_age_as_of_date"] = 7800, ["Birth_date"] = 476000, ["Birth_date_and_age"] =...
Click to read more »if success then return newDate else error(string.format( "invalid date '%s' passed to getDate", tostring(date) )) end end local function...
Click to read more »parseDateValue{} -- with the millennium/century/decade handling of formatDate() local function parseDateFull(timestamp, precision, date_format, date_addon)...
Click to read more »current date, in the format specified by the -- "preload-title-date-format" message. ['preload-title-text'] = '$1 edit request on $2', -- The date format...
Click to read more »the first date to transclude and the final date to transclude. If no end date it given, it will default to seven days after the current date. The module...
Click to read more »detect_date(date_text) -- Variables setup local date_sign = "[^%s]+" local sign = "" local date_table = {} if string.match(date_text, "%-") then date_sign...
Click to read more »tonumber(m)) local date_str = y .. '-' .. m .. '-' .. d local success, result = pcall(lang.formatDate, lang, 'F j, Y', date_str) return success...
Click to read more »detect_date(date_text) and detect_date(date_text).date_ending then date_ending = detect_date(date_text).date_ending or "" end if detect_date(date_text)...
Click to read more »listed with their date or they can be left blank. The source is controlled by |source=. The update date can be set by |update=date when the season is...
Click to read more »completed_text local source_circumstance local earliest_date local latest_date local range_start_date local has_creator local has_architect local architect_text...
Click to read more »--------------------- Concatenates a singular or plural label to a time/date unit: unit label or unit labels. If unit is 0 or less, returns nil ]] ...
Click to read more »require('Module:Yesno') local dateperiod = require('Module:Date period')._main local Date = require('Module:Date')._Date local p = {} function p.main(frame) local...
Click to read more »-- default method of Easter date calculation when Easter type is not given defaultFormat = "Y-m-d", -- default date output format noFormat ...
Click to read more »|OriginalAirDate= — optional; This is the date the episode first aired on TV, or is scheduled to air. -- |AltDate= — optional; The next notable air date, such...
Click to read more »"total_cases". date_name= or the third param: The name of the column where the date of the data of the event is stored. I.e. The column with the date (in a String...
Click to read more »(optional) |year= the year of the articlee |date= the date of the article in the Factbook (either on the article itself, or the access date of the article)...
Click to read more »= os.date("%Y", date_earliest) .. "/" .. os.date("%Y", date_latest) else birth_year_string = os.date("%Y", date_earliest) .. " or " .. os.date("%Y"...
Click to read more »return { { eDate = "current", sDate = { date = os.time{ day = 9, month = 7, year = 2024 }, citation = { work = "Hansard", series = "6th Series"...
Click to read more »list[sortKey] = article local date = article.date addSubtable(article, index.dates, date) local page = makePageName(date, article.subpage) article.page...
Click to read more »games are played, the date of the first game should be indicated by using |update=future and setting the start date by |start_date=. Using |only_pld_pts=...
Click to read more »main( frame ) local args = getArgs(frame) return p.date(args) end function p.date( args ) date_latest = os.time({year = args[2] - args[1], month =...
Click to read more »{'date=DATE'}, -- citation0() {'date=2020 |year=2019'}, -- mismatch {'date=9201 |year=2019'}, -- mismatch with date error...
Click to read more »games are played, the date of the first game should be indicated by using |update=future and setting the start date by |start_date=. Using |only_pld_pts=...
Click to read more »stands for package function p.dateformat( frame ) local date, format = frame.args.date or "", frame.args.format -- Arguments local mnthlst = {"January"...
Click to read more »event|date|event|sentence|abbrev}} Produces a formatted date (including month and year) of the event. For example: {{#invoke:Women in Red event|date|210}}...
Click to read more »local dateMsg = "" -- if date.y then -- dateMsg = dateMsg .. date.y -- end -- if date.m then -- dateMsg = dateMsg .. " " .. date.m...
Click to read more »:addClass('vevent summary') :attr('id', id) -- date/time/round local dtr = {} for _, v in pairs({'date', 'time', 'round'}) do if args[v] then table...
Click to read more »ipairs(data) do backlog[v["date"]] = v["value"] end local function parseDate(date) local ymd = {} for i in string.gmatch(date, "[0-9]+") do table.insert(ymd...
Click to read more »as default values. If the value of any of these default parameters is __DATE__, that value in the generated template invocation will be the current month...
Click to read more »byYear = '2023-1', byColour = '2022-red', dateOpened = '2023 January 27', dateClosed = '2023 March 18,' }, ['World War II...
Click to read more »the wrong namespace. If the portal contains {{Portal maintenance status|date=August 2026|manual=yes}} This portal is manually maintained. This portal's...
Click to read more »return difference between two date/time strings <t1>, and <t2>, in days to <precision> decimal places. Converts each date/time string to a unix timestamp...
Click to read more »df = 'dmy-all', } for _, field in ipairs{ 'access-date', 'accessdate', 'archive-date', 'archivedate', 'archive-url', 'archiveurl', 'dead-url'...
Click to read more »dateStr=string.sub(dateStr,0,index-1) end local newDate = Date(dateStr); if newDate == nil then ...
Click to read more »'CITEREF_A1_c\._2020', citeref(env, {date='c. 2020'})) self:assertEquals( 'CITEREF_A1_2020', citeref(env, {date='1 January 2020'})) self:assertEquals(...
Click to read more »collapse = args['collapse'] or 'collapsed' -- append the suffix to the date width or set to auto if (tonumber(datewidth) or -1) >= 0 then datewidth...
Click to read more »p.main(frame) local date = frame.args[1] local success, result = pcall(frame.expandTemplate, frame, {title = 'POTD/' .. date, args = { 'texttitle'}})...
Click to read more »local pubDate = Vgwd.getEarliestPublicationDate(); game['pubDate'] = pubDate; if(pubDate ~= nil) then game['year'] = pubDate.year; end;...
Click to read more »"none" if date == "" then date = "No date" end --local d, y = date:match("(%d+)%D+(%d+)") local d = date:match("%D(%d%d)%D") local y = date:match("(%d%d%d+)")...
Click to read more »is today's date less the given number of months (1 to 12). local key = code .. months if not timestamps[key] then local date = os.date('!*t') --...
Click to read more »2020-08-08 New logic for "nice" for x axis (problem with scale when xType = "date") and grid -- 2020-06-21 Serializes symbol size -- transparent...
Click to read more »iso_date ='Y-m-d', -- date only dmy_date = 'j F Y', mdy_date = 'F j, Y', dmy12 = 'g:i a, j F Y', -- 12hr time and date ...
Click to read more »"Wikipedia:Redirects for discussion/Log/" -- threshold is 7 days ago local threshold = os.date("%F",os.time() - (86400*7)) local ymd = require("Module:YMD to ISO")._main...
Click to read more »result = pcall(lang.formatDate, lang, 'c', dateText) if looksLikeYear(dateText) or not success then retval = retval .. dateText else if s then ...
Click to read more »local dateList = {startDate, endDate, startDate2, endDate2, preDate, postDate, midDate} for dateListCount = 1, 7 do if string.sub(dateList[dateListCount]...
Click to read more »getArgs local yesno = require('Module:Yesno') local Date = require('Module:Date')._Date -- TODO use TemplateStyles p = {} local function wikiError(message)...
Click to read more »iso_date ='Y-m-d', -- date only dmy_date = 'j F Y', mdy_date = 'F j, Y', dmy12 = 'g:i a, j F Y', -- 12hr time and date ...
Click to read more »local p = {} local Date = require('Module:Date')._Date local getArgs = require('Module:Arguments').getArgs function p.main(frame) local args = getArgs(frame)...
Click to read more »function getUnixDate(date) local success, unixDate = pcall(lang.formatDate, lang, 'U', date) if success then return tonumber(unixDate) end end local...
Click to read more »games are played, the date of the first game should be indicated by using |update=future and setting the start date by |start_date=. Using |only_pld_pts=...
Click to read more »frame.args.cap local pre_date = frame.args.pre_date local post_date = frame.args.post_date local mid_date = frame.args.mid_date local era = frame.args...
Click to read more »local Date = require('Module:Date')._Date local current = require('Module:Date')._current local p = {} function p.main(frame) local day if frame...
Click to read more »games are played, the date of the first game should be indicated by using |update=future and setting the start date by |start_date=. Using |only_pld_pts=...
Click to read more »["Death-date_and_age"] = 5500, ["Death_date"] = 15000, ["Death_date_and_age"] = 532000, ["Death_date_and_given_age"] = 4600, ["Death_date_text"] = 6100...
Click to read more »_convert_local_date(val, date_names_local, local_digits) local dmy = mw.text.split(val, '%s+'); if #dmy == 3 then dmy[2] = date_names_local.long[dmy[2]] or date_names_local...
Click to read more »--[[ Test module to look at performance of extracting the date format from one of the {{Use dmy}} style maintenance templates. Based entirely on...
Click to read more »local p = {} p.date_formatting = function( frame ) local date = frame.args.date or "Invalid entry" local format = frame.args.format or "" months =...
Click to read more »end local getDateType = function(date) nf_date = date if nf_date == nil then return nil end local isDMY = ((string.match(nf_date, "[0-3]?%d.*%s%a+%s%d%d%d+")...
Click to read more »local Date = require('Module:Date')._Date local date = Date(accessDate) if date and date < Date('5 September 2018') then -- switch author order...
Click to read more »PublicationDate = formatIsoDate(A['PublicationDate']); local OrigYear = A['OrigYear']; local Date = formatIsoDate(A['Date']); local LayDate = formatIsoDate(A['LayDate']);...
Click to read more »midnight UTC+6 local function en_timestamp(date) if date then local day, month, year day, month, year = date:match("(%d+)%-(%d+)%-(%d+)") if not (day...
Click to read more »code'}, start_date = { code = '<!-- {{Start date|YYYY|MM|DD|df=y}} -->', dlist = 'use {{tlx|Start date|YYYY|MM|DD|df=y}}'}, end_date = { code =...
Click to read more »fixed_from_chinese(c_date) -- Fixed date of Chinese date c-date. local cycle, year, month, leap, day = c_date[1], c_date[2], c_date[3], c_date[4], c_date[5] ...
Click to read more »match(date,'^(%d+)%-0+%-0+$') date = justYear or date if asOf then wrongDate = date and not mw.ustring.find(date,asOf...
Click to read more »month == "total" then pat = "%(([0-9]+) open" else month = lang:formatDate("Y F", month) pat = "%[%[Wikipedia:Articles for deletion/Log/" .. month...
Click to read more »Currently this module is not modifying styles like Template:Marriage. -- - Date formatting logic is still needed to parse out the year. -- - Test cases...
Click to read more »m.fields.timestamp.isRequired = true m.fields.timestamp.default = "join date unknown" m.fields.timestamp.prefix = "'''Joined on:<br/>''' " m.fields.timestamp...
Click to read more »and now common parameters (as much as possible) OCinSoutput["rft.date"] = data.Date; -- book, journal, dissertation for k, v in pairs( data...
Click to read more »['mt-date-wrong-order'] = 'The second date must be later in time than the first date', ['mt-dd-future'] = 'Death date (first date) must...
Click to read more »parseDateValue{} -- with the millennium/century/decade handling of formatDate() local function parseDateFull(timestamp, precision, date_format, date_addon)...
Click to read more »the backlog on date (YYYY-MM-DD format): {{#invoke:NPP backlog|articles|date}} Difference between N and the articles backlog on date: {{#invoke:NPP...
Click to read more »local post_date = frame.args['post_date'] or frame.args['post-date'] or frame.args['postdate'] post_date = trim(post_date) local pre_date = frame.args['pre_date']...
Click to read more »lists of cs1|2 templates, make a count of just those templates that have |date=DD Month YYYY where DD is one or two digits or a range DD-DD Month YYYY ...
Click to read more »local datePosition = accessdate[2] local beforeDate = string.sub(template, 1, datePosition) local afterDate = string.sub(template, datePosition...
Click to read more »local p = {} p.date_formatting = function( frame ) -- Unpacking date local date = frame.args.date or "Invalid entry" local format = frame.args.format...
Click to read more »local pubDate = Vgwd.getEarliestPublicationDate(); game['pubDate'] = pubDate; if(pubDate ~= nil) then game['year'] = pubDate.year; end;...
Click to read more »publisher = '[[U.S. National Geodetic Survey]]', accessdate = args['date']} } table.insert(refs, {'D', r}) end if args['gnis'] then local...
Click to read more »'preload-title-text', getLevelInfo(level, 'levelText'), lang:formatDate(message('preload-title-date-format')) ) local content = mw.title.new(talkPageName):getContent()...
Click to read more »start_date string --- @return string local function are_dates_formatted_correctly(start_date) if start_date and (string.find(start_date, "film%-date") or...
Click to read more »calculate_cagr(frame) local start_date = frame.args[1] -- Start date in YYYY-MM-DD format local end_date = frame.args[2] -- End date in YYYY-MM-DD format ...
Click to read more »for makeProtectionCategory d.protectionDate = '1 January 2000' d.protectionDateU = 946684800 -- d.protectionDate in Unix time -----------------------...
Click to read more »{} function julian(date_string) jdate = mw.getCurrentFrame():getParent():expandTemplate{ title = 'MDY to Julian', args = { date_string } } return jdate...
Click to read more »getContentLanguage() function p.main(frame) local date = frame.args[1] or frame:getParent().args[1] if not date or date == '' then return '' end local success...
Click to read more »-- Format date like "2023-01-01" → "1. januar 2023" local function formatDate(date) if not date or #date < 10 then return "" end local...
Click to read more »date", {"1999", "3", "4"}), ''}, {'released=' .. expandTemplate("Start date", {"1999", "3", "4"}), ''}, {'airdate=' .. expandTemplate("Start date...
Click to read more »k == 'size' or k == 'result' or k == 'bg' or k == 'format' or k == 'date' or k == 'scorenote' or k == 'round' or k == 'score' or k == 'aet' or...
Click to read more »'access-date', -- German ['abruf-verborgen'] = 'access-date', -- German ['accessmonth'] = 'access-date', ['accesso'] = 'access-date'...
Click to read more »monthname[m] = lang_obj:formatDate ("F", '2019-' .. m); -- table of long month names monthabbr[m] = lang_obj:formatDate ("M", '2019-' .. m); --...
Click to read more »require('strict') local p = {} local Date = require('Module:Date')._Date local mm = require('Module:Math') local list = require('Module:Sandbox/Jts1882/Covid/data')...
Click to read more »-- Static methods function Poll.getUnixDate(date) date = lang:formatDate('U', date) return tonumber(date) end -- Normal methods function Poll:iterateOptions()...
Click to read more »of" and other date-related templates. local _Date, _currentDate local function getExports(frame) -- Return objects exported from the date module or its...
Click to read more »return function(date) local month = convertToRoman[string.sub(date,6,7)] local day = tonumber(string.sub(date,9)) ...
Click to read more »>------------------------------------------ ]] return { ahce_date = ahce_date, ceah_date = ceah_date, nsos_date = nsos_date, osns_date = osns_date }...
Click to read more »local function parseDeathDate(raw) if not raw or raw == "" then return nil end local m, d = raw:match("{{%s*[Dd]eath date and...
Click to read more »-- File-Date: 2013-01-11 return { ["aar"] = "aa", ["abk"] = "ab", ["afr"] = "af", ["aka"] = "ak", ["amh"] = "am", ["ara"] = "ar", ["arg"] = "an"...
Click to read more »tonumber( year2 ) if y2 > y1 and y2 < y1 + 125 and y1 <= tonumber( os.date( '%Y' ) ) then excerpt = mw.ustring.sub( excerpt, 1, s ) .. year1 .....
Click to read more »date = tonumber(entry.date) local value = tonumber(entry.value) if date < minDate then minDate = date end if date > maxDate then...
Click to read more »tonumber(dateInput[1]) m = tonumber(dateInput[2]) d = tonumber(dateInput[3]) else year = tonumber(dateInput.year)...
Click to read more »values). Remarks: Date type doesn't work for bar graphs. For date data input please use ISO date format (e.g. YYYY-MM-DD) acc. to date and time formats...
Click to read more »[[mw:Extension:Scribunto/Lua reference manual#Patterns]] populationDate = "2020-01-01", -- Date of the population figures used to calculate per-capita infection...
Click to read more »rl%s*=%s*([^|%[%]]-)%s*%|%s*title%s*=%s*([^|]-)%s*%|%s*date%s*=%s*([^|]-)%s*%|%s*access%-?date%s*=%s*([^|]-)%s*%}%}', '\"[%1 %2]\". %3. Retrieved %4.')...
Click to read more »{'aux3','Aux3',''}, {'airdate','OriginalAirDate','Original release date'}, {'altdate','AltDate',''}, {'guests','Guests','Guest(s)'}, {'musicalguests'...
Click to read more »"Argentina": { "chart": "Argentine Albums", "provider": "[[CAPIF]]", "date_format": "DD/MM/YYYY", "url": "http://adminlic.capif.org.ar/sis_resultados_rankings_web...
Click to read more »synonyms: {{#invoke:ISO 639 name/ISO 639-2/make|ISO_synonym_extract|file-date=YYYY-MM-DD for use in Module:ISO 639 name/ISO 639-2 (-2T only) and Module:ISO...
Click to read more »...
Click to read more »-- Artbarte Google Code-in, Date formatting -- WIP local p = {} -- Checks if string is a format and returns format string -- Takes string | returns format...
Click to read more »local Date = require('Module:Date')._Date local date = Date(accessDate) if date and date < Date('5 September 2018') then -- switch author order...
Click to read more »name=\"{refname}\"\u003E\"[{url} {url_title}]\". {lang}. {ref}. Retrieved {access-date}.\u003C/ref\u003E || {position}", "_output_full": "| {chart} ({provider})\u003Cref...
Click to read more »yearIncr(timestamp) local date = os.date("!*t", timestamp) if date.month >= 3 or (date.month == 2 and date.day == 28) then return numberOfDaysInYear(date.year + 1)...
Click to read more »params: name=player name type=w (women), m (men) Repeating params: date{x}=fixture date stadium{x}=Stadium city{x}=City country{x}=Country opp{x}=opponent...
Click to read more »|planned = |planned_by = |commanded_by = |objective = |target = |date = <!-- {{start date|YYYY|MM|DD|df=y}} --> |time = |time-begin = |time-end = |timezone...
Click to read more »elseif k == 'size' or k == 'bg' or k == 'id' or k == 'event' or k == 'date' or k == 'time' or k == 'round' or k == 'team1' or k == 'team2' or k ==...
Click to read more »name=\"{refname}\"\u003E\"[{url} {url_title}]\". {lang}. {ref}. Retrieved {access-date}.\u003C/ref\u003E || {position}", "_output_full": "| {chart} ({provider})\u003Cref...
Click to read more »-- Ste1la Google Code-in, Date formatting local p = {} p.formatDate = function(frame) local date = frame.args.date or "" local format = frame.args...
Click to read more »populations}} -- local p = {} local lang = mw.getContentLanguage() local Date -- lazy initialization local function ifexist(page) if not page then...
Click to read more »--[[ This module is intended for processing of date strings. Please do not modify this code without applying the changes first at Module:ISOdate/sandbox...
Click to read more »100 end return n end local function getUnixTime(date) return tonumber(lang:formatDate('U', date)) end local function calculateHumanPercentage(energyleft)...
Click to read more »p = {} p.extractDate = function (frame) local date = frame.args.date or "invalid value" local format = frame.args.format or "recognize format" local...
Click to read more »function p:test_birth_date_and_age() self:preprocess_equals_preprocess_many( '{{birth date and age|', '}}', '{{birth date and age/sandbox|', '}}'...
Click to read more »cite(frame) lang = mw.language.new("en") date = frame.args[1] formatDate = lang:formatDate("Ymd", date) return formatDate:sub(1,4) end return m...
Click to read more »week_tbl.name = 'Week ' .. argOrCall('Week'..i) week_tbl.date = argOrCall('Week'..i..'Date') week_tbl.cells = {} for j=1,max_sub_week do local...
Click to read more »yearIncr(timestamp) local date = os.date("!*t", timestamp) if date.month >= 3 or (date.month == 2 and date.day == 28) then return numberOfDaysInYear(date.year + 1)...
Click to read more »Match up leave entries with start entries start_state, start_date, start_year, end_date, end_year = {}, {}, {}, {}, {} i = 1 j = 1 while ( i <= no_of_entries...
Click to read more »web ["access-date"] = "access-date", -- Cite web ["archive-url"] = "archive-url", -- Cite web ["archive-date"] = "archive-date", -- Cite web...
Click to read more »getContentLanguage() local headingDate = lang:formatDate('j F Y') heading = '== Requested move ' .. headingDate .. ' ==\n\n' end ...
Click to read more »kind | kind | date=2026-01-20}}', 'pictures') self:preprocess_equals('{{#invoke:POTD kind | kind | date=2026-01-18}}', 'video') ...
Click to read more »os.date provides formatted date/time strings -- '%Y-%m-%d %H:%M:%S' formats the date as 'YYYY-MM-DD HH:MM:SS' local serverTime = os.date('!%Y-%m-%d...
Click to read more »local note_width = trim(args['note-width'] or '8%') local date_width = trim(args['date-width'] or '15%') local team_width = trim(args['team-width']...
Click to read more »local p = {} p.dateextract = function(frame) local date = frame.args.date or "" local months = { "jan", "feb", "mar", "apr", "may", "jun", "jul", "aug"...
Click to read more »residence = "Chugiak", birthday = "1977-10-27", start_date = "2025-01-03", other_caucuses = { ["Croatian Caucus"]...
Click to read more »residence = "Chugiak", birthday = "1977-10-27", start_date = "2025-01-03", other_caucuses = { ["Croatian...
Click to read more »uses |date=7, if the module invocation contains override in |$flags= then the output will be |date=7 and if it doesn't then the output will be |date=6. $template-name...
Click to read more »639-3/make|ISO_639_3_extract|file-date=YYYYMMDD}} where YYYYMMDD is year, month, day from the .tab filename (used to place a file-date comment in Module:ISO 639...
Click to read more »P123 = "publisher", P407 = "language", P577 = "date", P585 = "date", P813 = "access-date", P854 = "url", P856 = "url", P953 = "url"...
Click to read more »web ["access-date"] = "access-date", -- Cite web ["archive-url"] = "archive-url", -- Cite web ["archive-date"] = "archive-date", -- Cite web...
Click to read more »the date and only add a date once the program has aired.", start_date = "start dates should use the {{tl|Start date}} template.", end_date = "end...
Click to read more »information used to extract date parts for translation and reconstruction Tables have the form: [1] - pattern for a particular date format; must include captures...
Click to read more »alias names containing spaces will not be matched. Data "history" = {date begin, date end} -- to denote the era of existance Data "unique" = "yes" -- to...
Click to read more »local week_start_time = os.time({year=os.date('%Y'), month=os.date('%m'), day=os.date('%d') - os.date('%w'), hour=0, sec=0}) local time_slice =...
Click to read more »= frame.args.YYYY or os.date( "%G" ) -- Specified year, or else the current year local week = frame.args.WW or os.date( "%V" ) -- Specified...
Click to read more »to that year's Arbcom election pages as described below, and set the four date parameters. After that, editors can add voting guides using the guiden parameters...
Click to read more »"Russia-Ukraine Warning Update: Initial Russian Offensive Campaign Assessment", date = "24 February 2022", authors = { {first="Mason", last="Clark"}...
Click to read more »-- File-Date: 2026-06-14 return { ["aa"] = {"Afar"}, ["ab"] = {"Abkhazian"}, ["ae"] = {"Avestan"}, ["af"] = {"Afrikaans"}, ["ak"] = {"Akan"}, ["am"]...
Click to read more »row:tag('th'):wikitext('No.') end row:tag('th'):css('width', date_width):wikitext('Date') if(not nolocation) then row:tag('th'):css('width',...
Click to read more »"Argentina": { "chart": "Argentine Albums", "provider": "[[CAPIF]]", "date_format": "DD/MM/YYYY", "url": "http://adminlic.capif.org.ar/sis_resultados_rankings_web...
Click to read more »...
Click to read more »...
Click to read more »ArchiveDate = date_parameters_list['archive-date'].val; Date = date_parameters_list['date'].val; DoiBroken = date_parameters_list['doi-broken-date']...
Click to read more »[[Wikipedia:Wikipedia Signpost/Templates/Main page top]] to -- be previewed with today's date and an incremented issue number. p = {} p.top = function() local title...
Click to read more »args = { reason='No source parameter defined', date=os.date('%B %Y') } } -- Create footer text -- Date updating if string.lower(update)=='complete'...
Click to read more »OldAfdMulti:renderDate(date) if date then return date else self.hasMissingDate = true return string.format( '<sup>%s[[%s|date missing]]%s</sup>'...
Click to read more »function parseDate(dateStr, precision) precision = precision or "d" local i, j, index, ptr local parts = {nil, nil, nil} if dateStr == nil then...
Click to read more ») local lang = mw.language.getContentLanguage() local date = lang:formatDate( 'U', frame.args[1]) return "Hello, world!\n\n" .. date end return p...
Click to read more »