Перейти к содержимому страницы
Открыть меню
Переключить меню настроек
Открыть персональное меню
Вы не представились системе
Ваш IP-адрес будет виден всем, если вы внесёте какие-либо изменения.

Template:Other date

Страница шаблона
Документация шаблона[ просмотр · править · история · обновить ]
Эта документация перепечатана из Template:Other date/doc.

Эта часть документации доступна на ограниченном количестве языков.

This template allows translation (localization) of many non-trivial phrases related to date description. This template has similar but more limited capabilities than {{Complex date}}. Please use {{Complex date}} instead of nesting {{Other date}} templates (calling {{Other date}} with inputs being other {{Other date}} templates).

Шаблон автоматически устанавливает следующие категории:

Использование

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

Параметры шаблона

ПараметрОписаниеПо умолчаниюСтатус
1typeType of date notation. See examples below for list of allowed options. Pages using incorrect option will be added to Category:Pages using Complex date template with incorrect parameter.emptyобязательный
2date 1A date in ISO 8601 format "YYYY-MM-DD", or "YYYY-MM", or "YYYY", e.g. "2006-01-15" for "15 January 2006" or a number for centuries and millennia.emptyобязательный
3date 2Depends on type. If used than it is a date in ISO 8601 format. See Parameter #2 for details.emptyнеобязательный
eraera emptyнеобязательный
certaintycertaintyCertainty of the statement. Supported values: possibly, probably, presumably and circa ("circa" can be also used as adjective). This parameter was added to allow compatibility with Wikidata's sourcing circumstances qualifier when used to describe a date.emptyнеобязательный
langlanguageLanguage code (only needs to be provided if the language shall be fixed and independent of the user's preferences)(language code of the user language)необязательный
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData — это способ хранения информации о параметрах шаблона (их описания и описание шаблона в целом) для людей и компьютеров. Он используется Визуальным редактором и, возможно, другими инструментами вроде Мастера загрузки.


Существующая документация шаблона
На Викискладе рекомендуется использовать {{TemplateBox}} с параметром ‎useTemplateData=1 или ‎useTemplateData=only на подстранице ‎/doc и включать его в шаблон с помощью {{Documentation}}. Если необходимо, аргументы могут быть обернуты в ‎<nowiki>-теги, чтоб избежать срабатывания.

Документация и импорты по вновь созданному шаблону
Другой вариант, особенно для импортированных шаблонов, а также для участников с опытом работы с JSON — помещать напрямую ‎<templatedata>-теги в вики-текст шаблона, как описано во многих Википедиях.


Справка в Википедии о TemplateDataИнформация, специфичная для Викисклада

This template allows translation (localization) of many non-trivial phrases related to date description. This template has similar but more limited capabilities than {{Complex date}}. Please use {{Complex date}} instead of nesting {{Other date}} templates (calling {{Other date}} with inputs being other {{Other date}} templates).

Параметры шаблона[Править данные шаблона]

Шаблон использует строчное форматирование параметров.

ПараметрОписаниеТипСтатус
type1

Type of date notation. See examples on the template's page for list of allowed options.

Однострочныйобязательный
date 12

A date in ISO 8601 format "YYYY-MM-DD", or "YYYY-MM", or "YYYY", e.g. "2006-01-15" for "15 January 2006" or a number for centuries and millennia.

Однострочныйобязательный
date 23

Depends on type. If used than it is a date in ISO 8601 format. See Parameter #2 for details.

Однострочныйнеобязательный
certaintycertainty

Certainty of the statement. Supported values: possibly, probably, presumably and circa ("circa" can be also used as adjective). This parameter was added to allow compatibility with Wikidata's P1480 qualifier when used to describe a date.

Однострочныйнеобязательный
eraera

Era: BC (Before Christ), BCE (Before Common Era), CE (Common Era), AD (Anno Domini), BP (Before Present) or AH (Anno Hegirae – Islamic calendar)

Однострочныйнеобязательный
languagelang

Language code (only needs to be provided if the language shall be fixed and independent of the user's preferences)

По умолчанию
(language code of the user language)
Однострочныйнеобязательный

Дополнительная информация

Шаблон предназначен для использования в следующих пространствах имён: во всех пространствах имён

Шаблон предназначен для использования следующими группами участников (user groups): все участники

Полагается на:

See also

Эта часть документации доступна на ограниченном количестве языков.

== Локализация ==

Эта часть документации доступна на ограниченном количестве языков.

Please note that phrases without translations into desired language will be shown in English using red font, to add translations please request an edit to Module:I18n/complex date

Examples

date notations with two dates

{{{1}}} parameter Example Code Output
-
from-until
{{other date|-|1999|2000}}
{{other date|-|1999-01|2000-02}}
{{other date|-|1999-01-01|2000-02-01}}

с 1999 по 2000
с января 1999 по февраля 2000
с 1 января 1999 по 1 февраля 2000

? {{other date|?|1800|1825}}

Неизвестная дата[1]

between {{other date|between|1999|2000}}
{{other date|between|1999-02|2000-03}}
{{other date|between|1999-02-01|2000-03-01}}

между 1999 и 2000
между февралём 1999 и мартом 2000
между 1 февралём 1999 и 1 мартом 2000

~
ca
circa
{{other date|~|1999|2000}}
{{other date|ca|1999-05|2000-06}}
{{other date|circa|1999-05-01|2000-06-1}}

с около 1999 до, примерно, 2000
с около мая 1999 до, примерно, июня 2000
с около 1 мая 1999 до, примерно, 1 июня 2000

or {{other date|or|1999|2000}}
{{other date|or|1999-06|2000-07}}
{{other date|or|1999-06-01|2000-07-1}}

1999 или 2000
июнь 1999 или июль 2000
1 июня 1999 или 1 июля 2000

and
&
{{other date|&|1999|2000}}
{{other date|and|1999-06|2000-07}}
{{other date|and|1999-06-01|2000-07-01}}

1999 и 2000
июнь 1999 и июль 2000
1 июня 1999 и 1 июля 2000

Julian {{other date|Julian|1865-01-19|1865-01-07}}

19 января 1865 (7 января 1865 по ст. ст.)

Islamic {{other date|islamic|1486|892}}
{{other date|islamic|1486}}
1486 н. э. (892 хиджры)
1486 н. э. (891 хиджры)
era parameter {{other date|or|985|986|era=BC}}

985 или 986 до н. э.

date notations with single date

Date notations with single date can use the second date for era, like BC or AD.

{{{1}}} parameter Example Code Output Example Code with era Output with era
<
b
before
{{other date|<|2000}}
{{other date|b|2000-03}}
{{other date|before|2000-03-01}}
ранее 2000
date QS:P,+2000-00-00T00:00:00Z/7,P1326,+2000-00-00T00:00:00Z/9

ранее марта 2000
date QS:P,+2000-03-00T00:00:00Z/7,P1326,+2000-03-00T00:00:00Z/10

ранее 1 марта 2000
date QS:P,+2000-03-01T00:00:00Z/7,P1326,+2000-03-01T00:00:00Z/11
{{other date|<|99|era=BC}} ранее 99 до н. э.
>
a
after
{{other date|>|1999}}
{{other date|a|1999-04}}
{{other date|after|1999-04-01}}
после 1999
date QS:P,+1999-00-00T00:00:00Z/7,P1319,+1999-00-00T00:00:00Z/9

после апреля 1999
date QS:P,+1999-04-00T00:00:00Z/7,P1319,+1999-04-00T00:00:00Z/10

после 1 апреля 1999
date QS:P,+1999-04-01T00:00:00Z/7,P1319,+1999-04-01T00:00:00Z/11
{{other date|>|99|era=BC}} после 99 до н. э.
by {{other date|by|1999}}
{{other date|by|1999-04}}
{{other date|by|1999-04-01}}
к 1999
date QS:P,+1999-00-00T00:00:00Z/7,P1326,+1999-00-00T00:00:00Z/9

к апрель 1999
date QS:P,+1999-04-00T00:00:00Z/7,P1326,+1999-04-00T00:00:00Z/10

к 1 апреля 1999
date QS:P,+1999-04-01T00:00:00Z/7,P1326,+1999-04-01T00:00:00Z/11
{{other date|by|99|era=BC}} к 99 до н. э.
from {{other date|from|1999}}
{{other date|from|1999-04}}
{{other date|from|1999-04-01}}
С 1999
date QS:P,+1999-00-00T00:00:00Z/7,P580,+1999-00-00T00:00:00Z/9

С апреля 1999
date QS:P,+1999-04-00T00:00:00Z/7,P580,+1999-04-00T00:00:00Z/10

С 1 апреля 1999
date QS:P,+1999-04-01T00:00:00Z/7,P580,+1999-04-01T00:00:00Z/11
{{other date|from|99|era=BC}} С 99 до н. э.
until {{other date|until|1999}}
{{other date|until|1999-04}}
{{other date|until|1999-04-01}}
не позже 1999
date QS:P,+1999-00-00T00:00:00Z/7,P582,+1999-00-00T00:00:00Z/9

не позже апреля 1999
date QS:P,+1999-04-00T00:00:00Z/7,P582,+1999-04-00T00:00:00Z/10

не позже 1 апреля 1999
date QS:P,+1999-04-01T00:00:00Z/7,P582,+1999-04-01T00:00:00Z/11
{{other date|until|99|era=BC}} не позже 99 до н. э.
~
ca
circa
{{other date|~|1999}}
{{other date|ca|1999-05}}
{{other date|circa|1999-05-01}}
около 1999
date QS:P,+1999-00-00T00:00:00Z/9,P1480,Q5727902

около мая 1999
date QS:P,+1999-05-00T00:00:00Z/10,P1480,Q5727902

около 1 мая 1999
date QS:P,+1999-05-01T00:00:00Z/11,P1480,Q5727902
{{other date|~|99|era=BC}} около 99 до н. э.
s
decade
{{other date|s|1960}}
{{other date|decade|1800}}
1960-е годы
date QS:P,+1960-00-00T00:00:00Z/8

1800-е годы
date QS:P,+1800-00-00T00:00:00Z/8
{{other date|s|960|era=BCE}} 960-е годы до н. э.
date QS:P,-960-00-00T00:00:00Z/8
century {{other date|century|1}}
{{other date|century|20}}
I век
date QS:P,+050-00-00T00:00:00Z/7

XX век
date QS:P,+1950-00-00T00:00:00Z/7
{{other date|century|1|era=BC}} I век до н. э.
date QS:P,-050-00-00T00:00:00Z/7
millennium {{other date|millennium|1}} I тысячелетие
date QS:P,+0500-00-00T00:00:00Z/6
{{other date|millennium|2|era=BC}} II тысячелетие до н. э.
date QS:P,-1500-00-00T00:00:00Z/6
turn of the decade {{other date|turn of the decade|1920}}
{{other date|turn of the decade|1800}}
конец 1910-х — начало 1920-х гг.
конец 1790-х — начало 1800-х гг.
{{other date|turn of the decade|920|era=BC}} конец 920-х — начало 910-х гг. до н. э.
turn of the century {{other date|turn of the century|2}}
{{other date|turn of the century|20}}
конец I — начало II века
конец XIX — начало XX века
{{other date|turn of the century|2|era=BC}} конец II — начало I века до н. э.
turn of the year {{other date|turn of the year|1992}} конец 1991 — начало 1992 г. {{other date|turn of the year|922|era=BC}} конец 922 — начало 921 г. до н. э.
spring {{other date|spring|1999}} весна 1999
date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40720559
{{other date|spring|99|era=AD}} весна 99 н. э.
summer {{other date|summer|1999}} лето 1999
date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40720564
{{other date|summer|99|era=BC}} лето 99 до н. э.
fall
autumn
{{other date|fall|1999}}
{{other date|autumn|1999}}
осень 1999
date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40720568

осень 1999
date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40720568
{{other date|fall|99|era=AD}} осень 99 н. э.
winter {{other date|winter|1999}} зима 1999
date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40720553
{{other date|winter|99|era=BC}} зима 99 до н. э.
beginning
early
{{other date|early|1999-08}}
{{other date|beginning|1999}}
начало августа 1999
date QS:P,+1999-08-00T00:00:00Z/10,P4241,Q40719727

начало 1999
date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40719727
{{other date|early|99|era=BC}} начало 99 до н. э.
mid
middle
{{other date|mid|1999-10}}
{{other date|middle|1999}}
середина октября 1999
date QS:P,+1999-10-00T00:00:00Z/10,P4241,Q40719748

середина 1999
date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40719748
{{other date|mid|99|era=BC}} середина 99 до н. э.
end
late
{{other date|end|1999-11}}
{{other date|late|1999}}
конец ноября 1999
date QS:P,+1999-11-00T00:00:00Z/10,P4241,Q40719766

конец 1999
date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40719766
{{other date|end|99|era=BCE}} конец 99 до н. э.
firsthalf
1half
1sthalf
first half
1st half
{{other date|firsthalf|1999-11}}
{{other date|1half|1999}}
первая половина ноября 1999
date QS:P,+1999-11-00T00:00:00Z/10,P4241,Q40719687

первая половина 1999
date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40719687
{{other date|firsthalf|99|era=BC}} первая половина 99 до н. э.
secondhalf
2half
2ndhalf
second half
2nd half
{{other date|secondhalf|1999-11}}
{{other date|2half|1999}}
вторая половина ноября 1999
date QS:P,+1999-11-00T00:00:00Z/10,P4241,Q40719707

вторая половина 1999
date QS:P,+1999-00-00T00:00:00Z/9,P4241,Q40719707
{{other date|secondhalf|99|era=BCE}} вторая половина 99 до н. э.
1quarter
quarter1
1stquarter
1st quarter
{{other date|1quarter|1815-09}}
{{other date|1quarter|1815}}
первая четверть сентября 1815
date QS:P,+1815-09-00T00:00:00Z/10,P4241,Q40690303

первая четверть 1815
date QS:P,+1815-00-00T00:00:00Z/9,P4241,Q40690303
{{other date|1quarter|99|era=BC}} первая четверть 99 до н. э.
2quarter
quarter2
2ndquarter
2nd quarter
{{other date|2quarter|1815-09}}
{{other date|2quarter|1815}}
вторая четверть сентября 1815
date QS:P,+1815-09-00T00:00:00Z/10,P4241,Q40719649

вторая четверть 1815
date QS:P,+1815-00-00T00:00:00Z/9,P4241,Q40719649
{{other date|2quarter|99|era=BC}} вторая четверть 99 до н. э.
3quarter
quarter3
3rdquarter
3rd quarter
{{other date|3quarter|1815-09}}
{{other date|3quarter|1815}}
третья четверть сентября 1815
date QS:P,+1815-09-00T00:00:00Z/10,P4241,Q40719662

третья четверть 1815
date QS:P,+1815-00-00T00:00:00Z/9,P4241,Q40719662
{{other date|3quarter|99|era=BC}} третья четверть 99 до н. э.
4quarter
quarter4
4thquarter
4th quarter
{{other date|4quarter|1815-09}}
{{other date|4quarter|1815}}
последняя четверть сентября 1815
date QS:P,+1815-09-00T00:00:00Z/10,P4241,Q40719674

последняя четверть 1815
date QS:P,+1815-00-00T00:00:00Z/9,P4241,Q40719674
{{other date|4quarter|99|era=BC}} последняя четверть 99 до н. э.
BC
BCE
{{other date|BC|44-03-15}}
{{other date|BCE|44}}
15 марта 44 до н. э.
44 до н. э.
AD
CE
{{other date|AD|944-03}}
{{other date|CE|944}}
март 944 н. э.
944 н. э.
? {{other date|?|2015}} Неизвестная дата[1] {{other date|?|2015|era=BC}} Неизвестная дата до н. э.[1]

date notations without date

{{{1}}} parameter Example Code Output Example Code with era Output with era
?
unknown
{{other date|?}}
{{other date|unknown}}
Неизвестная дата
Неизвестная дата
{{other date|?||era=BC}} Неизвестная дата до н. э.
year unknown {{other date|year unknown}} Год неизвестен {{other date|year unknown|era=BC}} Год неизвестен до н. э.

compound constructions

Example Code Output Example Code with era Output with era
{{Other date|2half|{{Other date|century|15}}}} вторая половина XV век
date QS:P,+1450-00-00T00:00:00Z/7
{{Other date|2half|{{Other date|century|15}}|era=BC}} вторая половина XV век
date QS:P,+1450-00-00T00:00:00Z/7
до н. э.
{{otherdate|mid|{{otherdate|decade|1980}}}} середина 1980-е годы
date QS:P,+1980-00-00T00:00:00Z/8
{{otherdate|mid|{{otherdate|decade|1980}}|era=BC}} середина 1980-е годы
date QS:P,+1980-00-00T00:00:00Z/8
до н. э.
Cookie-файлы помогают нам предоставлять наши услуги. Используя наши сервисы, вы соглашаетесь с использованием cookie-файлов.