Шаблон: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}} декабрь 11, 2025
{{FULLDATE|type=short}} декабрь 11
{{FULLDATE|type=shortish}} дек. 11, 2025
{{FULLDATE|type=medium}} декабрь 11, 2025
{{FULLDATE|type=long}} декабрь 11, 2025 14:45:05
{{FULLDATE|type=day}} четверг, 11 декабрь 2025
{{FULLDATE|type=longer}} четверг, 11 декабрь 2025 14:45:05 (UTC)
{{FULLDATE|type=rfc-2822}} Thu, 11 Dec 2025 14:45:05 +0000
{{FULLDATE|type=iso-8601}} 2025-12-11T14:45:05+00:00
{{FULLDATE|type=wiki}} 14:45:05, 11 декабрь 2025 (UTC)
{{FULLDATE|type=date}} 2025-12-11

Related pages