Template:Date

From Vintage Story Wiki
Revision as of 20:46, 19 March 2023 by Nyuhnyash (talk | contribs) (Created page with "<includeonly>{{#invoke: Date|iso}}</includeonly> <noinclude>{{doc}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


[view | edit | history | purge this page]Documentation

Multilingual template to display date.

Parameters

3 anonymous parameters

Template parameters

ParameterDescriptionTypeStatus
11

Year

Example
2016
Numberoptional
22

Month

Example
06
Numberoptional
33

Day

Example
10
Numberoptional

Examples

{{date|2016|06|10}}
→ 2016
{{date||06}}
Lua error in mw.text.lua at line 219: bad argument #1 to 'len' (string expected, got nil).
{{date|2016}}
→ 2016


The same code on Chinese translation of the page will result this.

{{date|2016|06|10}}
→ 2016
{{date||06}}
Lua error in mw.text.lua at line 219: bad argument #1 to 'len' (string expected, got nil).
{{date|2016}}
→ 2016
[view | edit | history | purge this page]The above documentation is transcluded from Template:Date/doc.