Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Other date/doc: Difference between revisions

Template page
No edit summary
mNo edit summary
Line 9: Line 9:
|3stat=optional-
|3stat=optional-
|4=4
|4=4
|4=language code (only needs to be provided if the language shall be fixed and independant from the user's preferences)
|4d=language code (only needs to be provided if the language shall be fixed and independant from the user's preferences)
|4def=value of <nowiki>{{int:Lang}}</nowiki>
|4def=value of <nowiki>{{int:Lang}}</nowiki>
|name=Other date
|name=Other date

Revision as of 22:22, 1 April 2009

This template allows to specify a range of non-trivial date notations in a format that is localizable.

Usage

{{Other date |1= |2= |4= }}

Possible values for {{{1}}}:

  • "-": between {{{2}}} and {{{3}}} ({{{2}}} and {{{3}}} can be ISO 8601 dates)
  • "s": decade ({{{2}}}s), {{{2}}} must be a four-digit year (starting year of the decade)
  • "century": century ({{{2}}}th century), {{{2}}} must be a two-digit number
  • "ca": circa {{{2}}}
  • "season": season {{{2}}} of the year {{{3}}} (can be "summer", "fall", "spring", "winter", {{{3}}} must be a four-digit year)
  • "b": before {{{2}}} ({{{2}}} can be an ISO 8601 date)
  • "a": after {{{2}}} ({{{2}}} can be an ISO 8601 date)

Template parameters

ParameterDescriptionDefaultStatus
1type of date notationemptyrequired
2depends on {{{1}}}emptyoptional
3depends on {{{1}}}emptyoptional
4language code (only needs to be provided if the language shall be fixed and independant from the user's preferences)value of {{int:Lang}}optional

Additional information

The template is intended to be used in the following namespaces: all namespaces

The template is intended to be used by the following user groups: all users

Relies on:
{{ISOdate}}, {{LangSwitch}}

Localization

To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)

Cookies help us deliver our services. By using our services, you agree to our use of cookies.