Template:Date/doc

From Outreach Wiki
Jump to navigation Jump to search

Gives a date in the language with a specified code (the default for that code is the result of Template:Uselang, which is en).

Parameters[edit]

Parameter name Description Default value

1 number of the year empty
2 number of month in the year empty
3 number of day in the month empty
4 language code language code of the user language
form allows to specify differing syntactic forms to apply to the date (e.g. in some Polish phrases the month must appear in genitive form instead of nominative, so you have to set form to gen) empty

Examples

Some results depend on the user language, try: Template:LtulTemplate:LtulTemplate:LtulTemplate:Ltul

Does not check existence, except for the month number:

Required

Localization

The i18n-method used is branching to translations in the template itself.

See also