Template:Iswas/sandbox

From blackwiki
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

This template returns is or was based on the date given and the current date.

2023 {{iswas|2023|year}} year <span class="currentage"></span>22 of Wikipedia's existence produces 2023 is year <span class="currentage"></span>22 of Wikipedia's existence.

January 15, 2023 {{iswas|January 15, 2023|mdy}} Wikipedia's birthday produces January 15, 2023 was Wikipedia's birthday.

Format options
Value Description Example
year Four digit year 2023
month Full month name and year (not recommended) December 2023
mon Short month name and year Dec 2023
dmy Full date in dmy format 2 December 2023
mdy Full date in mdy format December 2, 2023
iso Full date in ISO 8601 format 2023-12-02

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Iswas

This template returns is or was based on the date given and the current date.

Template parameters

ParameterDescriptionTypeStatus
Date1

The date used by the template

Unknownrequired
Format2

The format of the date

Default
year
Unknownsuggested