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
No edit summary
Line 44: Line 44:
| [YYYY]-[MM]-[DD], [YYYY]-[MM] or [YYYY] ([[w:ISO 8601|ISO 8601]] date)
| [YYYY]-[MM]-[DD], [YYYY]-[MM] or [YYYY] ([[w:ISO 8601|ISO 8601]] date)
|-
|-
| <tt><</tt>
| <tt><<br>b<br>before</tt>
| <nowiki> {{other date|<|1945-09-02}} </nowiki>
| <nowiki> {{other date|<|1945-09-02}} </nowiki>
| {{other date|<|1945-09-02}}
| {{other date|<|1945-09-02}}
| [YYYY]-[MM]-[DD], [YYYY]-[MM] or [YYYY] ([[w:ISO 8601|ISO 8601]] date)
| [YYYY]-[MM]-[DD], [YYYY]-[MM] or [YYYY] ([[w:ISO 8601|ISO 8601]] date)
|-
|-
| <tt>></tt>
| <tt>><br>a<br>after</tt>
| <nowiki> {{other date|>|1939-09-01}} </nowiki>
| <nowiki> {{other date|>|1939-09-01}} </nowiki>
| {{other date|>|1939-09-01}}
| {{other date|>|1939-09-01}}
| [YYYY]-[MM]-[DD], [YYYY]-[MM] or [YYYY] ([[w:ISO 8601|ISO 8601]] date)
| [YYYY]-[MM]-[DD], [YYYY]-[MM] or [YYYY] ([[w:ISO 8601|ISO 8601]] date)
|-
|-
| <tt>ca</tt>
| <tt>~<br>ca<br>circa</tt>
| <nowiki> {{other date|ca|1939-09-01}} </nowiki>
| <nowiki> {{other date|ca|1939-09-01}} </nowiki>
| {{other date|ca|1939-09-01}}
| {{other date|ca|1939-09-01}}
Line 64: Line 64:
| [YYYY]-[MM]-[DD], [YYYY]-[MM] or [YYYY] ([[w:ISO 8601|ISO 8601]] date)
| [YYYY]-[MM]-[DD], [YYYY]-[MM] or [YYYY] ([[w:ISO 8601|ISO 8601]] date)
|-
|-
| <tt>and</tt>
| <tt>and<br>&</tt>
| <nowiki> {{other date|and|1939|1940}} </nowiki>
| <nowiki> {{other date|and|1939|1940}} </nowiki>
| {{other date|and|1939|1940}}
| {{other date|and|1939|1940}}
| [YYYY]-[MM]-[DD], [YYYY]-[MM] or [YYYY] ([[w:ISO 8601|ISO 8601]] date)
| [YYYY]-[MM]-[DD], [YYYY]-[MM] or [YYYY] ([[w:ISO 8601|ISO 8601]] date)
|-
|-
| <tt>s</tt>
| <tt>s<br>decade</tt>
| <nowiki> {{other date|s|1940}} </nowiki>
| <nowiki> {{other date|s|1940}} </nowiki>
| {{other date|s|1940}}
| {{other date|s|1940}}
Line 82: Line 82:
| <nowiki> {{other date|season|fall|1939}} </nowiki>
| <nowiki> {{other date|season|fall|1939}} </nowiki>
| {{other date|season|fall|1939}}
| {{other date|season|fall|1939}}
| <nowiki>{{{2}}}</nowiki> can be "summer", "fall", "spring", "winter", <nowiki>{{{3}}}</nowiki> must be a four-digit year
| <nowiki>{{{2}}}</nowiki> can be "spring", "summer", "fall", "autumn", "winter"<br> <nowiki>{{{3}}}</nowiki> must be a four-digit year
|-
|-
| <tt>?</tt>
| <tt>?</tt>

Revision as of 19:04, 10 June 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= }}

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)

Examples

{{{1}}} Code Output Expected date format
- {{other date|-|1939-09-01|1945-09-02}} from 1 September 1939 until 2 September 1945
date QS:P,+1950-00-00T00:00:00Z/7,P580,+1939-09-01T00:00:00Z/11,P582,+1945-09-02T00:00:00Z/11
[YYYY]-[MM]-[DD], [YYYY]-[MM] or [YYYY] (ISO 8601 date)
between {{other date|between|1939-09|1945-09}} between September 1939 and September 1945
date QS:P,+1950-00-00T00:00:00Z/7,P1319,+1939-09-00T00:00:00Z/10,P1326,+1945-09-00T00:00:00Z/10
[YYYY]-[MM]-[DD], [YYYY]-[MM] or [YYYY] (ISO 8601 date)
<
b
before
{{other date|<|1945-09-02}} before 2 September 1945
date QS:P,+1945-09-02T00:00:00Z/7,P1326,+1945-09-02T00:00:00Z/11
[YYYY]-[MM]-[DD], [YYYY]-[MM] or [YYYY] (ISO 8601 date)
>
a
after
{{other date|>|1939-09-01}} after 1 September 1939
date QS:P,+1939-09-01T00:00:00Z/7,P1319,+1939-09-01T00:00:00Z/11
[YYYY]-[MM]-[DD], [YYYY]-[MM] or [YYYY] (ISO 8601 date)
~
ca
circa
{{other date|ca|1939-09-01}} circa 1 September 1939
date QS:P,+1939-09-01T00:00:00Z/11,P1480,Q5727902
[YYYY]-[MM]-[DD], [YYYY]-[MM] or [YYYY] (ISO 8601 date)
or {{other date|or|1939|1940}} 1939 or 1940
date QS:P,+1950-00-00T00:00:00Z/7,P1319,+1939-00-00T00:00:00Z/9,P1326,+1940-00-00T00:00:00Z/9
[YYYY]-[MM]-[DD], [YYYY]-[MM] or [YYYY] (ISO 8601 date)
and
&
{{other date|and|1939|1940}} 1939 and 1940
date QS:P,+1950-00-00T00:00:00Z/7,P580,+1939-00-00T00:00:00Z/9,P582,+1940-00-00T00:00:00Z/9
[YYYY]-[MM]-[DD], [YYYY]-[MM] or [YYYY] (ISO 8601 date)
s
decade
{{other date|s|1940}} 1940s
date QS:P,+1940-00-00T00:00:00Z/8
[YYY0] (starting year of the decade)
century {{other date|century|20}} 20th century
date QS:P,+1950-00-00T00:00:00Z/7
[cc] (century as two-digit number). 1900's = 20th century
date QS:P,+1950-00-00T00:00:00Z/7
season {{other date|season|fall|1939}} Error in Module:Complex date: season is not recognized. {{{2}}} can be "spring", "summer", "fall", "autumn", "winter"
{{{3}}} must be a four-digit year
? {{other date|?}} Unknown date No date


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