Template:Cite news: Difference between revisions

Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
(Harmonising.)
(Quotes toggle added.)
Line 13: Line 13:
   }}{{#if: {{{author|}}}{{{last|}}}
   }}{{#if: {{{author|}}}{{{last|}}}
     | {{#if: {{{coauthors|}}} | , {{{coauthors}}} }}. 
     | {{#if: {{{coauthors|}}} | , {{{coauthors}}} }}. 
   }}{{#if: {{{curly|}}}|“|"}}{{#if: {{{url|}}}
   }}{{#ifeq:{{{quotes|}}}
| no
|
| {{#if: {{{curly|}}}|“|"}}
}}{{#if: {{{url|}}}
   | [{{{url}}} {{{title}}}]  
   | [{{{url}}} {{{title}}}]  
   | {{{title}}}
   | {{{title}}}
   }}{{#if: {{{curly|}}}||"}}{{#if: {{{format|}}} |  ({{{format}}})  
   }}{{#ifeq:{{{quotes|}}}
| no
|
| {{#if: {{{curly|}}}||"}}
}}{{#if: {{{format|}}} |  ({{{format}}})  
     }}{{#if: {{{work|}}}
     }}{{#if: {{{work|}}}
     | , ''{{{work}}}''}}{{#if: {{{publisher|}}}
     | , ''{{{work}}}''}}{{#if: {{{publisher|}}}

Revision as of 12:33, 9 May 2008


This template is used to cite news sources, and is intended for advanced users.

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)

{{cite news |first= |last= |authorlink= |author= |coauthors= |title= |url= |format= |work= |publisher= |id= |pages= |page= |date= |accessdate= |language= |quote= |google= }}

All parameters, vertical format
{{cite news 
 | first = 
 | last = 
 | authorlink = 
 | author = 
 | coauthors = 
 | title = 
 | url = 
 | format = 
 | work = 
 | publisher = 
 | id = 
 | pages = 
 | page = 
 | date = 
 | accessdate = 
 | language = 
 | quote = 
 | google =
 }}
  • 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
  • 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 no longer available.
      Specify as 'Reprint' if a full original version but not hosted by the original publisher.
  • work: If this item is part of a larger work (such as a newspaper), name of that work.
  • publisher: Publisher, if any.
  • id: Identifier such as {{ISSN|0028-0836}} — remember, 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.
  • 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.
  • google: Code of the language in which the source is written. If specified, a Google translation link into English is added at the end of the citation. es for Spanish, fr for French, de for German. See {{Google translation}} for a full list of language codes.

See also