Шаблон:Cite news — различия между версиями

Материал из Ролевая энциклопедии
Перейти к: навигация, поиск
м ( Отмена правки 11700118 участника 86.110.176.41 (обс))
(перевод)
Строка 36: Строка 36:
 
<noinclude>
 
<noinclude>
 
{{mergewith|Citation|template_talk:Citation#Proposal to merge redundant citation templates}}
 
{{mergewith|Citation|template_talk:Citation#Proposal to merge redundant citation templates}}
This template is used to [[WP:CITE|cite sources]] in Wikipedia. It is specifically for news sources.
+
Этот шаблон предназначен для оформления [[ВП:Ссылки|ссылок]] на источники информации. Он специально создан для новостных источников и совместим со своей англоязычной версией.
  
== Usage ==
+
== Использование ==
  
All parameter names '''''must''''' be [[lowercase]].
+
Все параметры '''''должны''''' быть написаны в нижнем регистре.
 
 
Copy a blank version to use. Remember to use the "|" (pipe) character between each field.  Please delete any unused fields to avoid clutter in the edit window.
 
  
 
{| class="wikitable" cellpadding="6"
 
{| class="wikitable" cellpadding="6"
! colspan="3" | Full version (copy and paste text below and delete parameters you don't need)
+
! colspan="3" | Полная версия
 
|- width="50%" valign="top" style="vertical-align:top;"
 
|- width="50%" valign="top" style="vertical-align:top;"
 
| colspan="3" |  
 
| colspan="3" |  
 
:<span style="font-family:Courier; "><nowiki>{{cite news |first= |last= |authorlink= |author= |coauthors= |title= |url= |format= |work= |publisher= |location= |id= |pages= |page= |date= |accessdate=</nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}<nowiki> |language= |quote= |archiveurl= |archivedate= }}</nowiki></span>
 
:<span style="font-family:Courier; "><nowiki>{{cite news |first= |last= |authorlink= |author= |coauthors= |title= |url= |format= |work= |publisher= |location= |id= |pages= |page= |date= |accessdate=</nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}<nowiki> |language= |quote= |archiveurl= |archivedate= }}</nowiki></span>
 
|- width="50%" valign="top" style="vertical-align:top;"
 
|- width="50%" valign="top" style="vertical-align:top;"
! colspan="3" | Most commonly used fields (or you can use this and not have to delete as much)<br/>(This assumes English, HTML format, with today as access date)  
+
! colspan="3" | Краткая версия<br/>(По умолчанию: английский язык, формат HTML, сегодняшняя дата в качестве даты доступа к источнику)  
 
|- width="50%" valign="top" style="vertical-align:top;"
 
|- width="50%" valign="top" style="vertical-align:top;"
 
| colspan="3" |  
 
| colspan="3" |  
Строка 56: Строка 54:
 
|}
 
|}
  
;All parameters, vertical format
+
;Все параметры
 
<pre>
 
<pre>
 
{{cite news
 
{{cite news
Строка 82: Строка 80:
 
</pre>
 
</pre>
  
*'''title''' is required, rest is optional. Note that title must be on one line in order for the hyperlink to display properly. Do not enclose it in quotations marks, italics or other formatting, though it may be wikilinked.
+
*'''title''' - единственный обязательный параметр. Для того, чтобы ссылка отображалась корректно, этот параметр должен быть на одной строке.
* '''author''': Author.
+
* '''author''': автор.
** '''last''' works with '''first''' to produce <code>last, first</code>
+
** '''last''' и '''first''' - фамилия и имя автора, форматируется в виде <code>last, first</code>
** '''authorlink''' works either with '''author''' or with '''last''' & '''first''' to link to the appropriate Wikipedia article. Does not work with URLs.
+
** '''authorlink''' работает либо с '''author''' либо с '''last''' и '''first''': создаёт сслыку на соответсвующую статью в Википедии.
** '''coauthors''': Allows additional authors.
+
** '''coauthors''': соавторы.
* '''url''': Link to the news item if available online (note this is not for a link to the main web page of the work of publisher, but only to a copy of the item specified in "title"). Start the url with the communications protocol e.g. http://.
+
* '''url''': ссылка на источник в Интернете. Не забывайте про префикс, напр. http://.
** '''format''': Format, e.g. PDF. Don't specify for HTML (implied as default).
+
** '''format''': формат файла, например PDF. По умолчанию - HTML.
**: Specify as'' 'fee required' ''if free access is no longer available.
+
* '''work''': название источника, например Ньюсуик, или публикация, например название колонки в газете.
**: Specify as'' 'Reprint' ''if you use a full original version but not hosted by the original publisher.
+
* '''publisher''': издатель.
* '''work''': The publication that ran the item, e.g. Newsweek. Can also be used for the name of a column or subpart of an issue. Do not italicize.
+
** '''location''': место, например, Москва.
* '''publisher''': The company or organization that publishes the news source.
+
*'''id''': идентификатор, наприме ISSN.
** '''location''': Place of the news source, e.g. Toronto for [[The Globe and Mail]].
+
* '''date''': дата публикации.
 
+
* '''page''' или '''pages''': страницы в источнике.
*'''id''': Identifier such as {{tlx|ISSN|0028–0836}} — remember, if you use this parameter, you '''must''' specify the kind of identifier, not just give a number.
+
* '''accessdate''': дата последнего доступа к источнику.  
* '''date''': Date of publication. Use the same format as the main text of the article. If the [[ISO 8601]] YYYY-MM-DD format is used it will be automatically [[m:Help:Preferences#Date format|wikilinked]]  to enable [[Special:Preferences#prefsection-4|date user preferences]] if used. If the whole date is known and another date format is used, it should be wikilinked (e.g., <nowiki>date=[[3 December]] [[2007]]</nowiki>). (Note: for dates earlier than January 2, 1970, ISO 8601 YYYY-MM-DD automatic wikilinking will not work; you will have to find a workaround that maintains consistent dating throughout the article).
+
* '''language''': язык публикации.
* '''page''' or '''pages''': The page(s) on which the article is found. '''page''' inserts the abbreviation "p." before the number; '''pages''' inserts "pp." Use only one of these parameters. If numbers are entered for both, '''pages''' overrides '''page'''.
+
* '''quote''': релевантная цитата.
* '''accessdate''': Date when item was accessed, in [[ISO 8601]] YYYY-MM-DD format e.g. ''2006-02-17''.  Must not be wikilinked; it will be linked automatically. This field does not support American/International dates (they will display incorrectly as redlinks if used).
+
*'''archiveurl''': ссылка на архив с источником.
* '''language''': The language in which the source is written. If English (the default) do not use this parameter.
+
*'''archivedate''': дата архивирования источинка. .
* '''quote''': Relevant quotation.
 
*'''archiveurl''': URL of the archive location of the item (requires '''archivedate''', '''title''', and '''url'''); this is for archives such as those at internetarchive.org; for back-issues and the like that are on file at the publisher's site, use the "url" parameter.
 
*'''archivedate''': Date when the item was archived (requires '''archiveurl''', '''title''', and '''url'''), in [[ISO 8601]] YYYY-MM-DD format, e.g. ''2006-02-17''. Must not be wikilinked; it will be linked automatically. This field does not support American/International dates (they will display incorrectly as redlinks if used).
 
 
 
== Examples ==
 
; Using first and last to identify the author, and id to supply the ISSN
 
*<nowiki>{{cite news
 
| first=John
 
| last=Doe
 
| title=News
 
| url=http://www.example.org/
 
| work=Encyclopedia of Things
 
| publisher=News co.
 
| pages= 37&ndash;39
 
| date=[[2005-11-21]]
 
| id={{ISSN|0028–0836}}
 
| accessdate=2005-12-11
 
}}</nowiki><br><div style="padding:0.5em">→ {{
 
cite news
 
| first=John
 
| last=Doe
 
| title=News
 
| url=http://www.example.org/
 
| work=Encyclopedia of Things
 
| publisher=News co.
 
| pages= 37&ndash;39
 
| date=[[2005-11-21]]
 
| id={{ISSN|0028–0836}}
 
| accessdate=2005-12-11
 
}}</div>
 
 
 
; Using author instead of first and last
 
*<nowiki>{{cite news
 
| author=Staff writer
 
| title=News
 
| url=http://www.example.org/News.pdf
 
| format=PDF
 
| publisher=News co.
 
| pages= 37&ndash;39
 
| date=[[2005-11-21]]
 
| accessdate=2005-12-11
 
}}</nowiki><br><div style="padding:0.5em">→ {{
 
cite news
 
| author=Staff writer
 
| title=News
 
| url=http://www.example.org/News.pdf
 
| format=PDF
 
| publisher=News co.
 
| pages= 37&ndash;39
 
| date=[[2005-11-21]]
 
| accessdate=2005-12-11
 
}}</div>
 
 
 
; Using authorlink to link to the author's article
 
*<nowiki>{{cite news
 
| first=John
 
| last=Doe
 
| authorlink=John Doe
 
| title=News
 
| url=http://www.example.org/background
 
| format=Reprint
 
| publisher=News co.
 
| date=[[2005-11-21]]
 
| accessdate=2005-12-11
 
}}</nowiki><br><div style="padding:0.5em">→ {{
 
cite news
 
| first=John
 
| last=Doe
 
| authorlink=John Doe
 
| title=News
 
| url=http://www.example.org/background
 
| format=Reprint
 
| publisher=News co.
 
| date=[[2005-11-21]]
 
| accessdate=2005-12-11
 
}}</div>
 
 
 
; Using format
 
*<nowiki>{{cite news
 
| title=News
 
| url=http://www.example.org/Archive/News
 
| format=Fee required
 
| publisher=News co.
 
| date=[[2005-11-21]]
 
| accessdate=2005-12-11
 
}}</nowiki><br><div style="padding:0.5em">→ {{
 
cite news
 
| title=News
 
| url=http://www.example.org/Archive/News
 
| format=Fee required
 
| publisher=News co.
 
| date=[[2005-11-21]]
 
| accessdate=2005-12-11
 
}}</div>
 
 
 
; Using page to identify the reference by page
 
*<nowiki>{{cite news
 
| first=John
 
| last=Doe
 
| title=FooBar
 
| page=1
 
}}</nowiki><br><div style="padding:0.5em">→ {{
 
cite news
 
| first=John
 
| last=Doe
 
| title=FooBar
 
| page=1
 
}}</div>
 
 
 
; A very simple citation
 
*<nowiki>{{cite news
 
| title=FooBar
 
| page=1
 
}}</nowiki><br><div style="padding:0.5em">→ {{
 
cite news
 
| title=FooBar
 
| page=1
 
}}</div>
 
 
 
;Using archiveurl and archivedate to refer to items that went away but are available from an archive site
 
*<nowiki>{{cite news
 
| author=Staff writer
 
| title=News
 
| url=http://www.example.org/News.pdf
 
| format=PDF
 
| publisher=News co.
 
| pages= 37&ndash;39
 
| date=[[2005-11-21]]
 
| accessdate=2005-12-11
 
| archiveurl=http://web.archive.org/web/20070628082911/http://www.example.org/News.pdf
 
| archivedate=2007-06-28
 
}}</nowiki><br><div style="padding:0.5em">→ {{
 
cite news
 
| author=Staff writer
 
| title=News
 
| url=http://www.example.org/News.pdf
 
| format=PDF
 
| publisher=News co.
 
| pages= 37&ndash;39
 
| date=[[2005-11-21]]
 
| accessdate=2005-12-11
 
| archiveurl=http://web.archive.org/web/20070628082911/http://www.example.org/News.pdf
 
| archivedate=2007-06-28
 
}}</div>
 
 
 
;Omitting archivedate in error
 
*<nowiki>{{cite news
 
| author=Staff writer
 
| title=News
 
| url=http://www.example.org/News.pdf
 
| format=PDF
 
| publisher=News co.
 
| pages= 37&ndash;39
 
| date=[[2005-11-21]]
 
| accessdate=2005-12-11
 
| archiveurl=http://web.archive.org/web/20070628082911/http://www.example.org/News.pdf
 
}}</nowiki><br>→<div style="padding:0.5em">{{cite news
 
| author=Staff writer
 
| title=News
 
| url=http://www.example.org/News.pdf
 
| format=PDF
 
| publisher=News co.
 
| pages= 37&ndash;39
 
| date=[[2005-11-21]]
 
| accessdate=2005-12-11
 
| archiveurl=http://web.archive.org/web/20070628082911/http://www.example.org/News.pdf
 
}}</div>
 
 
 
==COinS==
 
{{UF-COinS}}
 
  
==See also==
+
==См. также==
* [[Wikipedia:Cite sources]]: Style guide
+
* [[Википедия:Ссылки]]
* [[Wikipedia:Template messages/Sources of articles/Generic citations]]: Related templates
 
* [[Wikipedia:WikiProject Wikicite]]
 
 
* [[Template:Cite web]]
 
* [[Template:Cite web]]
 
* [[Template:Cite book]]
 
* [[Template:Cite book]]

Версия 05:14, 25 ноября 2008


Шаблон:Mergewith Этот шаблон предназначен для оформления ссылок на источники информации. Он специально создан для новостных источников и совместим со своей англоязычной версией.

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

Все параметры должны быть написаны в нижнем регистре.

Полная версия
{{cite news |first= |last= |authorlink= |author= |coauthors= |title= |url= |format= |work= |publisher= |location= |id= |pages= |page= |date= |accessdate=2024-05-08 |language= |quote= |archiveurl= |archivedate= }}
Краткая версия
(По умолчанию: английский язык, формат HTML, сегодняшняя дата в качестве даты доступа к источнику)
{{cite news |first= |last= |authorlink= |coauthors= |title= |url= |work= |publisher= |date= |accessdate=2024-05-08 }}
Все параметры
{{cite news
 | first = 
 | last = 
 | authorlink = 
 | author = 
 | coauthors = 
 | title = 
 | url = 
 | format = 
 | work = 
 | publisher = 
 | location = 
 | id = 
 | pages = 
 | page = 
 | date = 
 | accessdate = 
 | language = 
 | quote = 
 | archiveurl = 
 | archivedate = 
 }}
  • title - единственный обязательный параметр. Для того, чтобы ссылка отображалась корректно, этот параметр должен быть на одной строке.
  • author: автор.
    • last и first - фамилия и имя автора, форматируется в виде last, first
    • authorlink работает либо с author либо с last и first: создаёт сслыку на соответсвующую статью в Википедии.
    • coauthors: соавторы.
  • url: ссылка на источник в Интернете. Не забывайте про префикс, напр. http://.
    • format: формат файла, например PDF. По умолчанию - HTML.
  • work: название источника, например Ньюсуик, или публикация, например название колонки в газете.
  • publisher: издатель.
    • location: место, например, Москва.
  • id: идентификатор, наприме ISSN.
  • date: дата публикации.
  • page или pages: страницы в источнике.
  • accessdate: дата последнего доступа к источнику.
  • language: язык публикации.
  • quote: релевантная цитата.
  • archiveurl: ссылка на архив с источником.
  • archivedate: дата архивирования источинка. .

См. также


Шаблон:Esotericen:Template:Cite news