This is a documentation subpage for Template:Iswas. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
This template returns is or was based on the date given and the current date.
2024 {{iswas|2024|year}} year <span class="currentage"></span>23 of Wikipedia's existence
produces 2024 is year <span class="currentage"></span>23 of Wikipedia's existence
.
January 15, 2024 {{iswas|January 15, 2024|mdy}} Wikipedia's birthday
produces January 15, 2024 was Wikipedia's birthday
.
Value | Description | Example |
---|---|---|
year | Four digit year | 2024 |
month | Full month name and year (not recommended) | May 2024 |
mon | Short month name and year | May 2024 |
dmy | Full date in dmy format | 25 May 2024 |
mdy | Full date in mdy format | May 25, 2024 |
iso | Full date in ISO 8601 format | 2024-05-25 |
TemplateData edit
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Iswas in articles based on its TemplateData.
TemplateData for Iswas
This template returns is or was based on the date given and the current date.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Date | 1 | The date used by the template | Unknown | required |
Format | 2 | The format of the date
| Unknown | suggested |