תבנית:Cite news: הבדלים בין גרסאות בדף

לא צריך קישור לתאריך
עדכון התבנית והתיעוד מהגרסה החדשה בוויקי האנגלית + תיקון עיצוב
שורה 1: שורה 1:
<noinclude>
<noinclude>
<div style="direction: ltr;">
<div dir="ltr">
תבנית זו משמשת לציטוט ממקורות עיתונאיים.
תבנית זו משמשת לציטוט ממקורות עיתונאיים.
This template is used to [[WP:CITE|cite sources]] in Wikipedia. It is specifically for news sources.


== Usage ==
== Usage ==
שורה 12: שורה 14:
! colspan="3" | Full version (copy and paste text below and delete parameters you don't need)
! colspan="3" | Full version (copy and paste text below and delete parameters you don't need)
|- 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" | First example of 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)
|- width="50%" valign="top" style="vertical-align:top;"
| colspan="3" |
:<span style="font-family:Courier; "><nowiki>{{cite news |first= |last= |authorlink= |coauthors= |title= |url= |work= |publisher= |date= |accessdate=</nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}<nowiki> }}</nowiki>
|- width="50%" valign="top" style="vertical-align:top;"
! colspan="3" | Second example
|- 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= |coauthors= |title= |url= |work= |publisher= |date= |accessdate=</nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}<nowiki> }}</nowiki></span>
:<span style="font-family:Courier; "><nowiki>{{cite news |first= |last= |coauthors= |title= |work= |page= |date= |accessdate=</nowiki>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}<nowiki>|quote= |url= }}</nowiki></span>
|}
|}


שורה 24: שורה 31:
<pre>
<pre>
{{cite news
{{cite news
  | first =  
  | first =
  | last =  
  | last =
  | authorlink =  
  | authorlink =
  | author =  
  | author =
  | coauthors =  
  | coauthors =
  | title =  
  | title =
  | url =  
  | url =
  | format =  
  | format =
  | work =  
| agency =
  | publisher =  
  | work =
  | location =  
  | publisher =
  | id =  
  | location =
  | pages =  
  | id =
  | page =  
  | pages =
  | date =  
  | page =
  | accessdate =  
  | date =
  | language =  
  | accessdate =
  | quote =  
  | language =
  | archiveurl =  
  | quote =
  | archivedate =  
  | archiveurl =
  | archivedate =
  }}
  }}
</pre>
</pre>
שורה 56: שורה 64:
**: Specify as'' 'fee required' ''if free access is no longer available.
**: Specify as'' 'fee required' ''if free access is no longer available.
**: Specify as'' 'Reprint' ''if you use a full original version but not hosted by the original publisher.
**: Specify as'' 'Reprint' ''if you use a full original version but not hosted by the original 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.
* '''agency''': The [[news agency]] (wire service) that provided the content, e.g. [[Associated Press]], [[Reuters]], etc. Spell out and link the full name.
* '''publisher''': The company or organization that publishes the news source.
* '''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''': Place of the news source, e.g. Toronto for the [[Daily Globe and Mail]].
** '''location''': Place of the publication, e.g. [[Toronto]] for [[The Globe and Mail]]. For [[student newspaper]]s, include the name of the school.
 
* '''publisher''': The company or organization that publishes the news source. Not necessary for major publications like [[The New York Times]], but may add credibility for local papers that are part of a family of publications like [[The McClatchy Company]].
*'''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.
*'''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.
* '''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).
* '''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.
* '''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'''.
* '''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'''.
* '''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).
* '''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).
* '''language''': The language in which the source is written. If English (the default) do not use this parameter.
* '''language''': The language in which the source is written. If English (the default) do not use this parameter.
* '''quote''': Relevant quotation.
* '''quote''': Relevant quotation. Adding a quotation can help locate online copies of the item using a text search, especially if the original link goes dead.
*'''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.
*'''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).
*'''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).
שורה 78: שורה 86:
| work=Encyclopedia of Things
| work=Encyclopedia of Things
| publisher=News co.
| publisher=News co.
| location=Toronto
| pages= 37&ndash;39
| pages= 37&ndash;39
| date=[[2005-11-21]]
| date=[[2005-11-21]]
| id={{ISSN|0028–0836}}
| id={{ISSN|0028–0836}}
| accessdate=2005-12-11
| accessdate=2005-12-11
}}</nowiki><br><div style="padding:0.5em">→ {{
}}</nowiki><br><span style="padding:0.5em">→ {{
cite news
cite news
| first=John
| first=John
שורה 90: שורה 99:
| work=Encyclopedia of Things
| work=Encyclopedia of Things
| publisher=News co.
| publisher=News co.
| location=Toronto
| pages= 37&ndash;39
| pages= 37&ndash;39
| date=[[2005-11-21]]
| date=[[2005-11-21]]
| id={{ISSN|0028–0836}}
| id={{ISSN|0028–0836}}
| accessdate=2005-12-11
| accessdate=2005-12-11
}}</div>
}}</span>


; Using author instead of first and last
; Using author instead of first and last
שורה 106: שורה 116:
| date=[[2005-11-21]]
| date=[[2005-11-21]]
| accessdate=2005-12-11
| accessdate=2005-12-11
}}</nowiki><br><div style="padding:0.5em">→ {{
}}</nowiki><br><span style="padding:0.5em">→ {{
cite news
cite news
| author=Staff writer
| author=Staff writer
שורה 116: שורה 126:
| date=[[2005-11-21]]
| date=[[2005-11-21]]
| accessdate=2005-12-11
| accessdate=2005-12-11
}}</div>
}}</span>


; Using authorlink to link to the author's article
; Using authorlink to link to the author's article
שורה 129: שורה 139:
| date=[[2005-11-21]]
| date=[[2005-11-21]]
| accessdate=2005-12-11
| accessdate=2005-12-11
}}</nowiki><br><div style="padding:0.5em">→ {{
}}</nowiki><br><span style="padding:0.5em">→ {{
cite news
cite news
| first=John
| first=John
שורה 140: שורה 150:
| date=[[2005-11-21]]
| date=[[2005-11-21]]
| accessdate=2005-12-11
| accessdate=2005-12-11
}}</div>
}}</span>


; Using format
; Using format
שורה 150: שורה 160:
| date=[[2005-11-21]]
| date=[[2005-11-21]]
| accessdate=2005-12-11
| accessdate=2005-12-11
}}</nowiki><br><div style="padding:0.5em">→ {{
}}</nowiki><br><span style="padding:0.5em">→ {{
cite news
cite news
| title=News
| title=News
שורה 158: שורה 168:
| date=[[2005-11-21]]
| date=[[2005-11-21]]
| accessdate=2005-12-11
| accessdate=2005-12-11
}}</div>
}}</span>


; Using page to identify the reference by page
; Using page to identify the reference by page
שורה 166: שורה 176:
| title=FooBar
| title=FooBar
| page=1
| page=1
}}</nowiki><br><div style="padding:0.5em">→ {{
}}</nowiki><br><span style="padding:0.5em">→ {{
cite news
cite news
| first=John
| first=John
שורה 172: שורה 182:
| title=FooBar
| title=FooBar
| page=1
| page=1
}}</div>
}}</span>


; A very simple citation
; A very simple citation
שורה 178: שורה 188:
| title=FooBar
| title=FooBar
| page=1
| page=1
}}</nowiki><br><div style="padding:0.5em">→ {{
}}</nowiki><br><span style="padding:0.5em">→ {{
cite news
cite news
| title=FooBar
| title=FooBar
| page=1
| page=1
}}</div>
}}</span>


;Using archiveurl and archivedate to refer to items that went away but are available from an archive site
;Using archiveurl and archivedate to refer to items that went away but are available from an archive site
שורה 196: שורה 206:
| archiveurl=http://web.archive.org/web/20070628082911/http://www.example.org/News.pdf
| archiveurl=http://web.archive.org/web/20070628082911/http://www.example.org/News.pdf
| archivedate=2007-06-28
| archivedate=2007-06-28
}}</nowiki><br><div style="padding:0.5em">→ {{
}}</nowiki><br><span style="padding:0.5em">→ {{
cite news
cite news
| author=Staff writer
| author=Staff writer
שורה 208: שורה 218:
| archiveurl=http://web.archive.org/web/20070628082911/http://www.example.org/News.pdf
| archiveurl=http://web.archive.org/web/20070628082911/http://www.example.org/News.pdf
| archivedate=2007-06-28
| archivedate=2007-06-28
}}</div>
}}</span>


;Omitting archivedate in error
==See also==
*<nowiki>{{cite news
* [[Wikipedia:Cite sources]]: Style guide
| author=Staff writer
* [[Wikipedia:Template messages/Sources of articles/Generic citations]]: Related templates
| title=News
* [[Wikipedia:WikiProject Wikicite]]
| url=http://www.example.org/News.pdf
* [[Template:Cite web]]
| format=PDF
* [[Template:Cite book]]
| publisher=News co.
 
| pages= 37&ndash;39
__NOEDITSECTION__
| 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>
</div>


<includeonly>
[[Category:Citation templates|{{PAGENAME}}]]


</noinclude>
[[en:Template:Cite news]]
[[bg:Шаблон:Cite news]]
[[cs:Šablona:Citace novin]]
[[da:Skabelon:Cite news]]
[[de:Vorlage:Cite news]]
[[el:Πρότυπο:Cite news]]
[[eo:Ŝablono:Citnovaĵo]]
[[es:Plantilla:Cita noticia]]
[[fr:Modèle:Cite news]]
[[hr:Predložak:Cite news]]
[[gl:Modelo:Cita Novas]]
[[ia:Patrono:Cite news]]
[[it:Template:Cite news]]
[[ko:틀:뉴스 인용]]
[[ms:Templat:Cite news]]
[[ja:Template:Cite news]]
[[no:Mal:Cite news]]
[[pl:Szablon:Cytuj news]]
[[pt:Predefinição:Citar notícia]]
[[sk:Šablóna:Cite news]]
[[sl:Predloga:Navedi novice]]
[[sv:Mall:Tidningsref]]
[[th:แม่แบบ:Cite news]]
[[vi:Tiêu bản:Chú thích báo]]
[[zh:Template:Cite news]]
[[zh-yue:Template:引新聞]]
</includeonly>
<includeonly>{{
<includeonly>{{
#if: {{{archiveurl|}}}{{{archivedate|}}}  
#if: {{{archiveurl|}}}{{{archivedate|}}}  
שורה 242: שורה 265:
You must specify '''''archiveurl=''''' and '''''archivedate=''' when using {{tl|cite news}}. Available parameters:
You must specify '''''archiveurl=''''' and '''''archivedate=''' when using {{tl|cite news}}. Available parameters:
{{Cite news/doc/parameterlist}}
{{Cite news/doc/parameterlist}}
</div>{{
</span>{{
     #if: {{NAMESPACE}}||
     #if: {{NAMESPACE}}||
       [[קטגוריה:Articles with broken citations]]
       [[Category:Articles with broken citations]]
     }}
     }}
}}
}}
שורה 263: שורה 286:
   }}{{#if: {{{author|}}}{{{last|}}}
   }}{{#if: {{{author|}}}{{{last|}}}
     | {{#if: {{{date|}}}
     | {{#if: {{{date|}}}
     | &#32;({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|{{{date}}}|{{{date}}}}}) }}
     | &#32;({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|[[{{{date}}}]]|{{{date}}}}}) }}
   }}{{#if: {{{last|}}}{{{author|}}}
   }}{{#if: {{{last|}}}{{{author|}}}
   | .&#32;}}{{#if: {{{curly|}}}|“|"
   | .&#32;}}{{#if: {{{curly|}}}|“|"
שורה 275: שורה 298:
     }}{{#if:{{{language|}}}  
     }}{{#if:{{{language|}}}  
   | &#32;(in {{{language}}})
   | &#32;(in {{{language}}})
}}{{#if: {{{work|}}}
}}{{#if: {{{agency|}}}
     | , ''{{{work}}}''}}{{#if: {{{publisher|}}}
     | , {{{agency}}}}}{{#if: {{{work|}}}
     | , {{#if: {{{location|}}} |{{{location}}}:&#32;}}{{{publisher}}}
     | , ''{{{work}}}''{{#if: {{{location|}}} |&#32;({{{location}}})}}}}{{#if: {{{publisher|}}}
    | , {{{publisher}}}
   }}{{#if: {{{author|}}}{{{last|}}}
   }}{{#if: {{{author|}}}{{{last|}}}
     | | {{#if: {{{date|}}}
     | | {{#if: {{{date|}}}
     | &#32;({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|{{{date}}}|{{{date}}}}}) }}
     | &#32;({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|[[{{{date}}}]]|{{{date}}}}}) }}
   }}{{#if: {{{pages|}}}
   }}{{#if: {{{pages|}}}
     | , pp.&nbsp;{{{pages}}}
     | , pp.&nbsp;{{{pages}}}
שורה 289: שורה 313:
     | . {{{id}}}
     | . {{{id}}}
   }}{{#if: {{{accessdate|}}}   
   }}{{#if: {{{accessdate|}}}   
   | <span class=reference-accessdate>.&#32;Retrieved on {{{accessdate}}}</span>
   | <span class=reference-accessdate>.&#32;Retrieved on [[{{{accessdate}}}]]</span>
   }}.{{#if: {{{archivedate|}}}
   }}.{{#if: {{{archivedate|}}}
   | &#32;Archived from [{{{url}}} the original] on {{{archivedate}}}.
   | &#32;Archived from [{{{url}}} the original] on [[{{{archivedate}}}]].
   }}{{ #if: {{{quote|}}}
   }}{{ #if: {{{quote|}}}
     | &nbsp;"{{{quote}}}"
     | &nbsp;"{{{quote}}}"
שורה 307: שורה 331:
   -->{{#if: {{{url|}}}      | &rft.identifier={{urlencode:{{{url}}}}}      }}<!-- URL  
   -->{{#if: {{{url|}}}      | &rft.identifier={{urlencode:{{{url}}}}}      }}<!-- URL  
   -->{{#if: {{{format|}}}    | &rft.format={{urlencode:{{{format}}}}}      }}<!-- The physical or digital manifestation of the resource... may include the media-type or dimensions of the resource.
   -->{{#if: {{{format|}}}    | &rft.format={{urlencode:{{{format}}}}}      }}<!-- The physical or digital manifestation of the resource... may include the media-type or dimensions of the resource.
  -->{{#if: {{{agency|}}}      | &rft.source={{urlencode:{{{agency}}}}}    }}<!-- A Reference to a wire service or other press agency from which the present resource is derived. 
   -->{{#if: {{{work|}}}      | &rft.source={{urlencode:{{{work}}}}}        }}<!-- A Reference to a resource from which the present resource is derived.  
   -->{{#if: {{{work|}}}      | &rft.source={{urlencode:{{{work}}}}}        }}<!-- A Reference to a resource from which the present resource is derived.  
   -->{{#if: {{{publisher|}}} | &rft.publisher={{urlencode:{{{publisher}}}}} }}<!-- An entity responsible for making the resource available... person, an organization, or a service.
   -->{{#if: {{{publisher|}}} | &rft.publisher={{urlencode:{{{publisher}}}}} }}<!-- An entity responsible for making the resource available... person, an organization, or a service.