Template:Iswas/sandbox
Jump to navigation
Jump to search
| This is the template sandbox page for Template:Iswas (diff). See also the companion subpage for test cases. |
| This template uses Lua: |
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.
| 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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Date | 1 | The date used by the template | Unknown | required |
| Format | 2 | The format of the date
| Unknown | suggested |
| The above documentation is transcluded from Template:Iswas/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |