Шаблон:FULLDATE/Документация

Материал из Decimal Wiki
Версия от 14:22, 18 июня 2024; CryptoUser (обсуждение | вклад) (Новая страница: «{{tl|{{BASEPAGENAME}}}} returns the full or short English date at current time (UTC time, as set on the Wikipedia server). == Usage == <!-- Abstract usage of the template --> *<code>{{tl|{{BASEPAGENAME}}}}</code> *<code>{{tlp|{{BASEPAGENAME}}|type=''value''}}</code> *<code>{{tlp|{{BASEPAGENAME}}|type=''value''|time=''value''}}</code> * The <code>type</code> parameter is optional and can be either: ** <tt>short</tt>: display the current...»)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
Перейти к навигации Перейти к поиску

{{FULLDATE}} returns the full or short English date at current time (UTC time, as set on the Wikipedia server).

Usage

  • The type parameter is optional and can be either:
    • short: display the current month name and day of month
    • medium: display the current month name, day of month, and year (default)
    • long: display the current month name, day of month, year, and UTC time
    • rfc-2822: displays the time in rfc-2822 format
    • iso-8601: displays the time in iso-8601 format
    • wiki: displays the time in wiki format
  • The time parameter is optional, and can be used to get a date of other reference (like tomorrow etc..)

Examples

Code Result
{{FULLDATE}} июнь 29, 2024
{{FULLDATE|type=short}} июнь 29
{{FULLDATE|type=shortish}} июн. 29, 2024
{{FULLDATE|type=medium}} июнь 29, 2024
{{FULLDATE|type=long}} июнь 29, 2024 15:04:55
{{FULLDATE|type=day}} суббота, 29 июнь 2024
{{FULLDATE|type=longer}} суббота, 29 июнь 2024 15:04:55 (UTC)
{{FULLDATE|type=rfc-2822}} Sat, 29 Jun 2024 15:04:55 +0000
{{FULLDATE|type=iso-8601}} 2024-06-29T15:04:55+00:00
{{FULLDATE|type=wiki}} 15:04:55, 29 июнь 2024 (UTC)
{{FULLDATE|type=date}} 2024-06-29

Related pages