Vorlage:Date/doc

Aus Open Source Ecology - Germany
Zur Navigation springen Zur Suche springen

(Dieser Teil der Dokumentation ist nur in manchen Sprachen verfügbar.)

This template is used to show a date in the language set in the preferences.

You can leave out parts of the data.

Verwendung

{{Date|1=|2=|3=|4=|form=|class=}}

(Dieser Teil der Dokumentation ist nur in manchen Sprachen verfügbar.)

Examples:

Does not check existence, except for the month number:

Microformat

The template returns the date, embed in a <time> element with attribute datetime that contain the date in the ISO 8601 format needed by the hCalendar (class="dtstart") microformat. See the microformats project.

Parameter

Parametername Beschreibung (Dieser Teil der Dokumentation ist nur in manchen Sprachen verfügbar.) Standardwert notwendig oder optional?

Parameter Nr.1 (1) number of the year leer optional
Parameter Nr.2 (2) number of month in the year leer optional
Parameter Nr.3 (3) number of day in the month leer optional
Parameter Nr.4 (4) language code (overrides user's preferences) language code of the user language optional
form allows to specify grammatical case for the month in YYYY-MM dates, for languages that use them. Possible cases:

Also Partitive (ptv), Inessive (ine), Elative (ela) and Illative (ill) cases are supported for Finnish language, in addition to Nominative and Genitive (gen).

leer optional
class allows to set the html class of the time node where the date is included. This is useful for microformats. The default value is, for legacy reasons, "dtstart" (used by hCalendar). See the microformats project. dtstart optional

Weitere Informationen

Diese Vorlage ist für die folgenden Namensräume gedacht: den Vorlagen-Namensraum

Diese Vorlage ist für die folgenden Benutzergruppen gedacht: alle Benutzer

Diese Vorlage ist abhängig von:
{{I18n month}}, {{formatnum}}

⧼Seealso⧽

(Dieser Teil der Dokumentation ist nur in manchen Sprachen verfügbar.)

{{ISOdate}} – Template used to parse the date in {{information}}<br\> {{other date}} - Allows to specify a range of non-trivial date notations in a format that is localizable

Übersetzung in lokale Sprachen

Um deine Sprache zu der Liste der von dieser Vorlage unterstützten Sprachen hinzuzufügen, bearbeite bitte diese Vorlage und füge eine Reihe in die „{{LangSwitch| }}“-Konstruktion ein. Dies sollte die Form „|xx=Deine Übersetzung“ haben (xx ist dabei der Sprachcode deiner Sprache.)