Template:Date: Difference between revisions

From Vintage Story Wiki
(Created page with "<includeonly>{{#invoke: Date|iso}}</includeonly> <noinclude>{{doc}}</noinclude>")
(No difference)

Revision as of 20:46, 19 March 2023


[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.