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
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | Year
| Number | optional |
2 | 2 | Month
| Number | optional |
3 | 3 | Day
| Number | optional |
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.