Template:Cite news: Difference between revisions
(more experimenting) |
(fixed documentation text) |
||
| Line 56: | Line 56: | ||
-->"> </span></includeonly> | -->"> </span></includeonly> | ||
== Usage == | |||
All fields '''''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" | |||
! colspan="3" | Full version (copy and paste text below and delete parameters you don't need) | |||
|- width="50%" valign="top" style="vertical-align:top;" | |||
| colspan="3" | | |||
:<span style="font-family:Courier; "><nowiki>{{cite news |first= |last= |authorlink= |author= |coauthors= |title= |url= |format= |work= |publisher= |id= |pages= |page= |date= |accessdate= |language= |quote= }}</nowiki></span> | |||
|- 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) | |||
|- 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></span> | |||
|} | |||
;All parameters, vertical format | |||
<pre> | |||
{{cite news | {{cite news | ||
| first = | | first = | ||
| Line 75: | Line 95: | ||
| quote = | | quote = | ||
}} | }} | ||
</pre> | |||
*'''title''' is required, rest is optional. Note that title must be on one line in order for the hyperlink to display properly. | |||
* '''author''': Author. | |||
** '''last''' works with '''first''' to produce <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. | |||
** '''coauthors''': Allows additional authors. | |||
* '''url''': Link to the news item if available online. | |||
** '''format''': Format, i.e. PDF. Don't specify for HTML (implied as default). | |||
**: 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. | |||
* '''work''': Such as a column, sub part of issue, multi-part work. | |||
* '''publisher''': Usually the news source. | |||
*'''id''': Identifier such as <nowiki>{{</nowiki>[[:Template:ISSN|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. [[ISO 8601]] YYYY-MM-DD format recommended. If the whole date is known it should be [[m:Help:Preferences#Date format|wikilinked]] to enable [http://en.wikipedia.org/wiki/Special:Preferences#prefsection-4 date user preferences]. | |||
* '''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. Use [[ISO 8601]] YYYY-MM-DD format. Do not wikilink the date. | |||
* '''language''': The language in which the source is written. | |||
* '''quote''': Relevant quote. | |||
== Examples == | |||
*<nowiki>{{cite news | |||
| first=John | |||
| last=Doe | |||
| title=News | |||
| url=http://www.url.com/ | |||
| work=Encyclopedia of Things | |||
| publisher=News co. | |||
| pages= 37–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.url.com/ | |||
| work=Encyclopedia of Things | |||
| publisher=News co. | |||
| pages= 37–39 | |||
| date=[[2005-11-21]] | |||
| id={{ISSN|0028-0836}} | |||
| accessdate=2005-12-11 | |||
}}</div> | |||
*<nowiki>{{cite news | |||
| author=Staff writer | |||
| title=News | |||
| url=http://www.url.com/News.pdf | |||
| format=PDF | |||
| publisher=News co. | |||
| pages= 37–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.url.com/News.pdf | |||
| format=PDF | |||
| publisher=News co. | |||
| pages= 37–39 | |||
| date=[[2005-11-21]] | |||
| accessdate=2005-12-11 | |||
}}</div> | |||
*<nowiki>{{cite news | |||
| first=John | |||
| last=Doe | |||
| authorlink=John Doe | |||
| title=News | |||
| url=http://www.url.com/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.url.com/background | |||
| format=Reprint | |||
| publisher=News co. | |||
| date=[[2005-11-21]] | |||
| accessdate=2005-12-11 | |||
}}</div> | |||
*<nowiki>{{cite news | |||
| title=News | |||
| url=http://www.url.com/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.url.com/Archive/News | |||
| format=Fee required | |||
| publisher=News co. | |||
| date=[[2005-11-21]] | |||
| accessdate=2005-12-11 | |||
}}</div> | |||
*<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> | |||
*<nowiki>{{cite news | |||
| title=FooBar | |||
| page=1 | |||
}}</nowiki><br><div style="padding:0.5em">→ {{ | |||
cite news | |||
| title=FooBar | |||
| page=1 | |||
}}</div> | |||
[[category:Wikipedia-based templates|{{PAGENAME}}]] | [[category:Wikipedia-based templates|{{PAGENAME}}]] | ||
Revision as of 15:16, 22 June 2007
Usage
All fields 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.
| Full version (copy and paste text below and delete parameters you don't need) | ||
|---|---|---|
| ||
| Most commonly used fields (or you can use this and not have to delete as much) (This assumes English, HTML format, with today as access date) | ||
|
- All parameters, vertical format
{{cite news
| first =
| last =
| authorlink =
| author =
| coauthors =
| title =
| url =
| format =
| work =
| publisher =
| id =
| pages =
| page =
| date =
| accessdate =
| language =
| quote =
}}
- title is required, rest is optional. Note that title must be on one line in order for the hyperlink to display properly.
- author: Author.
- last works with first to produce
last, first - authorlink works either with author or with last & first to link to the appropriate Wikipedia article. Does not work with URLs.
- coauthors: Allows additional authors.
- last works with first to produce
- url: Link to the news item if available online.
- format: Format, i.e. PDF. Don't specify for HTML (implied as default).
- 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.
- format: Format, i.e. PDF. Don't specify for HTML (implied as default).
- work: Such as a column, sub part of issue, multi-part work.
- publisher: Usually the news source.
- id: Identifier such as {{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. ISO 8601 YYYY-MM-DD format recommended. If the whole date is known it should be wikilinked to enable date user preferences.
- 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. Use ISO 8601 YYYY-MM-DD format. Do not wikilink the date.
- language: The language in which the source is written.
- quote: Relevant quote.
Examples
- {{cite news
| first=John
| last=Doe
| title=News
| url=http://www.url.com/
| work=Encyclopedia of Things
| publisher=News co.
| pages= 37–39
| date=[[2005-11-21]]
| id={{ISSN|0028-0836}}
| accessdate=2005-12-11}}→ Doe, John. "News", Encyclopedia of Things, News co., 2005-11-21, pp. 37–39. Template:ISSN. Retrieved on 2005-12-11.
Usage
All fields 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.
| Full version (copy and paste text below and delete parameters you don't need) | ||
|---|---|---|
| ||
| Most commonly used fields (or you can use this and not have to delete as much) (This assumes English, HTML format, with today as access date) | ||
|
- All parameters, vertical format
{{cite news
| first =
| last =
| authorlink =
| author =
| coauthors =
| title =
| url =
| format =
| work =
| publisher =
| id =
| pages =
| page =
| date =
| accessdate =
| language =
| quote =
}}
- title is required, rest is optional. Note that title must be on one line in order for the hyperlink to display properly.
- author: Author.
- last works with first to produce
last, first - authorlink works either with author or with last & first to link to the appropriate Wikipedia article. Does not work with URLs.
- coauthors: Allows additional authors.
- last works with first to produce
- url: Link to the news item if available online.
- format: Format, i.e. PDF. Don't specify for HTML (implied as default).
- 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.
- format: Format, i.e. PDF. Don't specify for HTML (implied as default).
- work: Such as a column, sub part of issue, multi-part work.
- publisher: Usually the news source.
- id: Identifier such as {{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. ISO 8601 YYYY-MM-DD format recommended. If the whole date is known it should be wikilinked to enable date user preferences.
- 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. Use ISO 8601 YYYY-MM-DD format. Do not wikilink the date.
- language: The language in which the source is written.
- quote: Relevant quote.
Examples
- {{cite news
| first=John
| last=Doe
| title=News
| url=http://www.url.com/
| work=Encyclopedia of Things
| publisher=News co.
| pages= 37–39
| date=[[2005-11-21]]
| id={{ISSN|0028-0836}}
| accessdate=2005-12-11}}→ Template loop detected: Template:Cite news
- {{cite news
| author=Staff writer
| title=News
| url=http://www.url.com/News.pdf
| format=PDF
| publisher=News co.
| pages= 37–39
| date=[[2005-11-21]]
| accessdate=2005-12-11}}→ Template loop detected: Template:Cite news
- {{cite news
| first=John
| last=Doe
| authorlink=John Doe
| title=News
| url=http://www.url.com/background
| format=Reprint
| publisher=News co.
| date=[[2005-11-21]]
| accessdate=2005-12-11}}→ Template loop detected: Template:Cite news
- {{cite news
| title=News
| url=http://www.url.com/Archive/News
| format=Fee required
| publisher=News co.
| date=[[2005-11-21]]
| accessdate=2005-12-11}}→ Template loop detected: Template:Cite news
- {{cite news
| first=John
| last=Doe
| title=FooBar
| page=1}}→ Template loop detected: Template:Cite news
- {{cite news
| title=FooBar
| page=1
}}→ Template loop detected: Template:Cite news
- {{cite news
| author=Staff writer
| title=News
| url=http://www.url.com/News.pdf
| format=PDF
| publisher=News co.
| pages= 37–39
| date=[[2005-11-21]]
| accessdate=2005-12-11}}
Usage
All fields 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.
| Full version (copy and paste text below and delete parameters you don't need) | ||
|---|---|---|
| ||
| Most commonly used fields (or you can use this and not have to delete as much) (This assumes English, HTML format, with today as access date) | ||
|
- All parameters, vertical format
{{cite news
| first =
| last =
| authorlink =
| author =
| coauthors =
| title =
| url =
| format =
| work =
| publisher =
| id =
| pages =
| page =
| date =
| accessdate =
| language =
| quote =
}}
- title is required, rest is optional. Note that title must be on one line in order for the hyperlink to display properly.
- author: Author.
- last works with first to produce
last, first - authorlink works either with author or with last & first to link to the appropriate Wikipedia article. Does not work with URLs.
- coauthors: Allows additional authors.
- last works with first to produce
- url: Link to the news item if available online.
- format: Format, i.e. PDF. Don't specify for HTML (implied as default).
- 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.
- format: Format, i.e. PDF. Don't specify for HTML (implied as default).
- work: Such as a column, sub part of issue, multi-part work.
- publisher: Usually the news source.
- id: Identifier such as {{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. ISO 8601 YYYY-MM-DD format recommended. If the whole date is known it should be wikilinked to enable date user preferences.
- 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. Use ISO 8601 YYYY-MM-DD format. Do not wikilink the date.
- language: The language in which the source is written.
- quote: Relevant quote.
Examples
- {{cite news
| first=John
| last=Doe
| title=News
| url=http://www.url.com/
| work=Encyclopedia of Things
| publisher=News co.
| pages= 37–39
| date=[[2005-11-21]]
| id={{ISSN|0028-0836}}
| accessdate=2005-12-11}}→ Template loop detected: Template:Cite news
- {{cite news
| author=Staff writer
| title=News
| url=http://www.url.com/News.pdf
| format=PDF
| publisher=News co.
| pages= 37–39
| date=[[2005-11-21]]
| accessdate=2005-12-11}}→ Template loop detected: Template:Cite news
- {{cite news
| first=John
| last=Doe
| authorlink=John Doe
| title=News
| url=http://www.url.com/background
| format=Reprint
| publisher=News co.
| date=[[2005-11-21]]
| accessdate=2005-12-11}}→ Template loop detected: Template:Cite news
- {{cite news
| title=News
| url=http://www.url.com/Archive/News
| format=Fee required
| publisher=News co.
| date=[[2005-11-21]]
| accessdate=2005-12-11}}→ Template loop detected: Template:Cite news
- {{cite news
| first=John
| last=Doe
| title=FooBar
| page=1}}→ Template loop detected: Template:Cite news
- {{cite news
| title=FooBar
| page=1
}}→ Template loop detected: Template:Cite news
- {{cite news
| first=John
| last=Doe
| authorlink=John Doe
| title=News
| url=http://www.url.com/background
| format=Reprint
| publisher=News co.
| date=[[2005-11-21]]
| accessdate=2005-12-11}}
Usage
All fields 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.
| Full version (copy and paste text below and delete parameters you don't need) | ||
|---|---|---|
| ||
| Most commonly used fields (or you can use this and not have to delete as much) (This assumes English, HTML format, with today as access date) | ||
|
- All parameters, vertical format
{{cite news
| first =
| last =
| authorlink =
| author =
| coauthors =
| title =
| url =
| format =
| work =
| publisher =
| id =
| pages =
| page =
| date =
| accessdate =
| language =
| quote =
}}
- title is required, rest is optional. Note that title must be on one line in order for the hyperlink to display properly.
- author: Author.
- last works with first to produce
last, first - authorlink works either with author or with last & first to link to the appropriate Wikipedia article. Does not work with URLs.
- coauthors: Allows additional authors.
- last works with first to produce
- url: Link to the news item if available online.
- format: Format, i.e. PDF. Don't specify for HTML (implied as default).
- 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.
- format: Format, i.e. PDF. Don't specify for HTML (implied as default).
- work: Such as a column, sub part of issue, multi-part work.
- publisher: Usually the news source.
- id: Identifier such as {{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. ISO 8601 YYYY-MM-DD format recommended. If the whole date is known it should be wikilinked to enable date user preferences.
- 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. Use ISO 8601 YYYY-MM-DD format. Do not wikilink the date.
- language: The language in which the source is written.
- quote: Relevant quote.
Examples
- {{cite news
| first=John
| last=Doe
| title=News
| url=http://www.url.com/
| work=Encyclopedia of Things
| publisher=News co.
| pages= 37–39
| date=[[2005-11-21]]
| id={{ISSN|0028-0836}}
| accessdate=2005-12-11}}→ Template loop detected: Template:Cite news
- {{cite news
| author=Staff writer
| title=News
| url=http://www.url.com/News.pdf
| format=PDF
| publisher=News co.
| pages= 37–39
| date=[[2005-11-21]]
| accessdate=2005-12-11}}→ Template loop detected: Template:Cite news
- {{cite news
| first=John
| last=Doe
| authorlink=John Doe
| title=News
| url=http://www.url.com/background
| format=Reprint
| publisher=News co.
| date=[[2005-11-21]]
| accessdate=2005-12-11}}→ Template loop detected: Template:Cite news
- {{cite news
| title=News
| url=http://www.url.com/Archive/News
| format=Fee required
| publisher=News co.
| date=[[2005-11-21]]
| accessdate=2005-12-11}}→ Template loop detected: Template:Cite news
- {{cite news
| first=John
| last=Doe
| title=FooBar
| page=1}}→ Template loop detected: Template:Cite news
- {{cite news
| title=FooBar
| page=1
}}→ Template loop detected: Template:Cite news
- {{cite news
| title=News
| url=http://www.url.com/Archive/News
| format=Fee required
| publisher=News co.
| date=[[2005-11-21]]
| accessdate=2005-12-11}}
Usage
All fields 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.
| Full version (copy and paste text below and delete parameters you don't need) | ||
|---|---|---|
| ||
| Most commonly used fields (or you can use this and not have to delete as much) (This assumes English, HTML format, with today as access date) | ||
|
- All parameters, vertical format
{{cite news
| first =
| last =
| authorlink =
| author =
| coauthors =
| title =
| url =
| format =
| work =
| publisher =
| id =
| pages =
| page =
| date =
| accessdate =
| language =
| quote =
}}
- title is required, rest is optional. Note that title must be on one line in order for the hyperlink to display properly.
- author: Author.
- last works with first to produce
last, first - authorlink works either with author or with last & first to link to the appropriate Wikipedia article. Does not work with URLs.
- coauthors: Allows additional authors.
- last works with first to produce
- url: Link to the news item if available online.
- format: Format, i.e. PDF. Don't specify for HTML (implied as default).
- 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.
- format: Format, i.e. PDF. Don't specify for HTML (implied as default).
- work: Such as a column, sub part of issue, multi-part work.
- publisher: Usually the news source.
- id: Identifier such as {{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. ISO 8601 YYYY-MM-DD format recommended. If the whole date is known it should be wikilinked to enable date user preferences.
- 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. Use ISO 8601 YYYY-MM-DD format. Do not wikilink the date.
- language: The language in which the source is written.
- quote: Relevant quote.
Examples
- {{cite news
| first=John
| last=Doe
| title=News
| url=http://www.url.com/
| work=Encyclopedia of Things
| publisher=News co.
| pages= 37–39
| date=[[2005-11-21]]
| id={{ISSN|0028-0836}}
| accessdate=2005-12-11}}→ Template loop detected: Template:Cite news
- {{cite news
| author=Staff writer
| title=News
| url=http://www.url.com/News.pdf
| format=PDF
| publisher=News co.
| pages= 37–39
| date=[[2005-11-21]]
| accessdate=2005-12-11}}→ Template loop detected: Template:Cite news
- {{cite news
| first=John
| last=Doe
| authorlink=John Doe
| title=News
| url=http://www.url.com/background
| format=Reprint
| publisher=News co.
| date=[[2005-11-21]]
| accessdate=2005-12-11}}→ Template loop detected: Template:Cite news
- {{cite news
| title=News
| url=http://www.url.com/Archive/News
| format=Fee required
| publisher=News co.
| date=[[2005-11-21]]
| accessdate=2005-12-11}}→ Template loop detected: Template:Cite news
- {{cite news
| first=John
| last=Doe
| title=FooBar
| page=1}}→ Template loop detected: Template:Cite news
- {{cite news
| title=FooBar
| page=1
}}→ Template loop detected: Template:Cite news
- {{cite news
| first=John
| last=Doe
| title=FooBar
| page=1}}→ Doe, John. "FooBar", p. 1.
Usage
All fields 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.
| Full version (copy and paste text below and delete parameters you don't need) | ||
|---|---|---|
| ||
| Most commonly used fields (or you can use this and not have to delete as much) (This assumes English, HTML format, with today as access date) | ||
|
- All parameters, vertical format
{{cite news
| first =
| last =
| authorlink =
| author =
| coauthors =
| title =
| url =
| format =
| work =
| publisher =
| id =
| pages =
| page =
| date =
| accessdate =
| language =
| quote =
}}
- title is required, rest is optional. Note that title must be on one line in order for the hyperlink to display properly.
- author: Author.
- last works with first to produce
last, first - authorlink works either with author or with last & first to link to the appropriate Wikipedia article. Does not work with URLs.
- coauthors: Allows additional authors.
- last works with first to produce
- url: Link to the news item if available online.
- format: Format, i.e. PDF. Don't specify for HTML (implied as default).
- 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.
- format: Format, i.e. PDF. Don't specify for HTML (implied as default).
- work: Such as a column, sub part of issue, multi-part work.
- publisher: Usually the news source.
- id: Identifier such as {{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. ISO 8601 YYYY-MM-DD format recommended. If the whole date is known it should be wikilinked to enable date user preferences.
- 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. Use ISO 8601 YYYY-MM-DD format. Do not wikilink the date.
- language: The language in which the source is written.
- quote: Relevant quote.
Examples
- {{cite news
| first=John
| last=Doe
| title=News
| url=http://www.url.com/
| work=Encyclopedia of Things
| publisher=News co.
| pages= 37–39
| date=[[2005-11-21]]
| id={{ISSN|0028-0836}}
| accessdate=2005-12-11}}→ Template loop detected: Template:Cite news
- {{cite news
| author=Staff writer
| title=News
| url=http://www.url.com/News.pdf
| format=PDF
| publisher=News co.
| pages= 37–39
| date=[[2005-11-21]]
| accessdate=2005-12-11}}→ Template loop detected: Template:Cite news
- {{cite news
| first=John
| last=Doe
| authorlink=John Doe
| title=News
| url=http://www.url.com/background
| format=Reprint
| publisher=News co.
| date=[[2005-11-21]]
| accessdate=2005-12-11}}→ Template loop detected: Template:Cite news
- {{cite news
| title=News
| url=http://www.url.com/Archive/News
| format=Fee required
| publisher=News co.
| date=[[2005-11-21]]
| accessdate=2005-12-11}}→ Template loop detected: Template:Cite news
- {{cite news
| first=John
| last=Doe
| title=FooBar
| page=1}}→ Template loop detected: Template:Cite news
- {{cite news
| title=FooBar
| page=1
}}→ Template loop detected: Template:Cite news
- {{cite news
| title=FooBar
| page=1
}}→ "FooBar", p. 1.
Usage
All fields 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.
| Full version (copy and paste text below and delete parameters you don't need) | ||
|---|---|---|
| ||
| Most commonly used fields (or you can use this and not have to delete as much) (This assumes English, HTML format, with today as access date) | ||
|
- All parameters, vertical format
{{cite news
| first =
| last =
| authorlink =
| author =
| coauthors =
| title =
| url =
| format =
| work =
| publisher =
| id =
| pages =
| page =
| date =
| accessdate =
| language =
| quote =
}}
- title is required, rest is optional. Note that title must be on one line in order for the hyperlink to display properly.
- author: Author.
- last works with first to produce
last, first - authorlink works either with author or with last & first to link to the appropriate Wikipedia article. Does not work with URLs.
- coauthors: Allows additional authors.
- last works with first to produce
- url: Link to the news item if available online.
- format: Format, i.e. PDF. Don't specify for HTML (implied as default).
- 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.
- format: Format, i.e. PDF. Don't specify for HTML (implied as default).
- work: Such as a column, sub part of issue, multi-part work.
- publisher: Usually the news source.
- id: Identifier such as {{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. ISO 8601 YYYY-MM-DD format recommended. If the whole date is known it should be wikilinked to enable date user preferences.
- 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. Use ISO 8601 YYYY-MM-DD format. Do not wikilink the date.
- language: The language in which the source is written.
- quote: Relevant quote.
Examples
- {{cite news
| first=John
| last=Doe
| title=News
| url=http://www.url.com/
| work=Encyclopedia of Things
| publisher=News co.
| pages= 37–39
| date=[[2005-11-21]]
| id={{ISSN|0028-0836}}
| accessdate=2005-12-11}}→ Template loop detected: Template:Cite news
- {{cite news
| author=Staff writer
| title=News
| url=http://www.url.com/News.pdf
| format=PDF
| publisher=News co.
| pages= 37–39
| date=[[2005-11-21]]
| accessdate=2005-12-11}}→ Template loop detected: Template:Cite news
- {{cite news
| first=John
| last=Doe
| authorlink=John Doe
| title=News
| url=http://www.url.com/background
| format=Reprint
| publisher=News co.
| date=[[2005-11-21]]
| accessdate=2005-12-11}}→ Template loop detected: Template:Cite news
- {{cite news
| title=News
| url=http://www.url.com/Archive/News
| format=Fee required
| publisher=News co.
| date=[[2005-11-21]]
| accessdate=2005-12-11}}→ Template loop detected: Template:Cite news
- {{cite news
| first=John
| last=Doe
| title=FooBar
| page=1}}→ Template loop detected: Template:Cite news
- {{cite news
| title=FooBar
| page=1
}}→ Template loop detected: Template:Cite news