Difference between revisions of "Template:Iswas/doc"
Jump to navigation
Jump to search
imported>Jerodlycett (Updated documentation to fullest) |
imported>Jerodlycett (looks better) |
||
| Line 2: | Line 2: | ||
This template returns is or was based on the date given and the current date. | This template returns is or was based on the date given and the current date. | ||
| − | {{code|{{CURRENTYEAR}} <nowiki>{{iswas|</nowiki>{{CURRENTYEAR}}<nowiki>|year}}</nowiki> | + | {{code|{{CURRENTYEAR}} <nowiki>{{iswas|</nowiki>{{CURRENTYEAR}}<nowiki>|year}}</nowiki> year {{age|2001|01|15}} of Wikipedia's existence}} produces {{code|{{CURRENTYEAR}} {{iswas|{{CURRENTYEAR}}|year}} year {{age|2001|01|15}} of Wikipedia's existence}}. |
{{code|January 15, {{CURRENTYEAR}} <nowiki>{{iswas|</nowiki>January 15, {{CURRENTYEAR}}<nowiki>|mdy}}</nowiki> Wikipedia's birthday}} produces {{code|January 15, {{CURRENTYEAR}} {{iswas|January 15, {{CURRENTYEAR}}|mdy}} Wikipedia's birthday}}. | {{code|January 15, {{CURRENTYEAR}} <nowiki>{{iswas|</nowiki>January 15, {{CURRENTYEAR}}<nowiki>|mdy}}</nowiki> Wikipedia's birthday}} produces {{code|January 15, {{CURRENTYEAR}} {{iswas|January 15, {{CURRENTYEAR}}|mdy}} Wikipedia's birthday}}. | ||
Revision as of 13:24, 2 April 2015
| 40px | This is a documentation subpage for Template:Iswas. It contains usage information, categories and other content that is not part of the original template page. |
This template returns is or was based on the date given and the current date.
2026 {{iswas|2026|year}} year <span class="currentage"></span>25 of Wikipedia's existence produces 2026 is year <span class="currentage"></span>25 of Wikipedia's existence.
January 15, 2026 {{iswas|January 15, 2026|mdy}} Wikipedia's birthday produces January 15, 2026 was Wikipedia's birthday.
| Value | Description | Example |
|---|---|---|
| year | Four digit year | 2026 |
| month | Full month name and year (not recommeded) | March 2026 |
| mon | Short month name and year | Mar 2026 |
| dmy | Full date in dmy format | 25 March 2026 |
| mdy | Full date in mdy format | March 25, 2026 |
| iso | Full date in ISO 8601 format | 2026-03-25 |
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 |