Difference between revisions of "Template:Iswas/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jerodlycett
(looks better)
imported>John of Reading
m (Typo/general fixes, replaced: recommeded → recommended using AWB)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
{{Lua|Module:Unsubst}}
 
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.
  
Line 18: Line 19:
 
|-
 
|-
 
| month
 
| month
| Full month name and year (not recommeded)
+
| Full month name and year (not recommended)
 
| {{CURRENTMONTHNAME}} {{CURRENTYEAR}}
 
| {{CURRENTMONTHNAME}} {{CURRENTYEAR}}
 
|-
 
|-
Line 37: Line 38:
 
| {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}
 
| {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}
 
|}
 
|}
 +
 
=== TemplateData ===
 
=== TemplateData ===
 
{{TemplateDataHeader}}
 
{{TemplateDataHeader}}

Latest revision as of 07:19, 27 June 2015

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.

Format options
Value Description Example
year Four digit year 2026
month Full month name and year (not recommended) March 2026
mon Short month name and year Mar 2026
dmy Full date in dmy format 22 March 2026
mdy Full date in mdy format March 22, 2026
iso Full date in ISO 8601 format 2026-03-22

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