Template:Cite news/doc: Difference between revisions

Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
m (1 revision(s))
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{documentation subpage}}
__NOTOC__
__NOTOC__
This template is used to cite news sources, and is intended for advanced users.
This template is used to cite news sources, and is intended for advanced users.
Line 9: Line 10:


;Full version (copy and paste text below and delete parameters you don't need)
;Full version (copy and paste text below and delete parameters you don't need)
:<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>
<tt><nowiki>{{cite news |first= |last= |authorlink= |author= |coauthors= |title= |url= |format= |work= |publisher= |id= |pages= |page= |date= |accessdate= |language= |quote= |google= }}</nowiki></tt>


;All parameters, vertical format
;All parameters, vertical format
Line 31: Line 32:
  | language =  
  | language =  
  | quote =  
  | quote =  
| google =
  }}
  }}
</pre>
</pre>
Line 41: Line 43:
* '''url''': Link to the news item if available online  
* '''url''': Link to the news item if available online  
** '''format''': Format, i.e. PDF. Don't specify for HTML (implied as default).
** '''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'' 'Fee required' ''if free access no longer available.
**: Specify as'' 'Reprint' ''if a full original version but not hosted by the original publisher.
**: 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.
* '''work''': If this item is part of a larger work (such as a newspaper), name of that work.
Line 51: Line 53:
* '''language''': the language in which the source is written.
* '''language''': the language in which the source is written.
* '''quote''': Relevant quote.
* '''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. <code>es</code> for Spanish, <code>fr</code> for French, <code>de</code> for German. See {{tl|Google translation}} for a full list of language codes.
== See also ==
* {{tl|cite web}}
* {{tl|cite book}}
* {{tl|google translation}} for language codes of the '''google''' parameter.
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Citation templates|{{PAGENAME}}]]
</includeonly>

Latest revision as of 04:15, 4 June 2008

This is a documentation subpage for Template:Cite news (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

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