Template:Cite news: Difference between revisions

Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
m (1 revision(s))
(Changing Google call to Google translation named to avoid nested templates and save server load.)
 
(7 intermediate revisions by the same user not shown)
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: {{{language|}}}
  | &#32;<span style="font-size: 0.95em; font-weight: bold; color:#555; position: relative;">({{{language|}}})</span>
  }}{{#if: {{{format|}}} | &#32;({{{format}}})  
     }}{{#if: {{{work|}}}
     }}{{#if: {{{work|}}}
     | , ''{{{work}}}''}}{{#if: {{{publisher|}}}
     | , ''{{{work}}}''}}{{#if: {{{publisher|}}}
     | , ''{{{publisher}}}''
     | , {{{publisher}}}
   }}{{#if: {{{date|}}}
   }}{{#if: {{{date|}}}
     | , {{{date}}}
     | , {{{date}}}
Line 31: Line 41:
   }}{{#if: {{{accessdate|}}}   
   }}{{#if: {{{accessdate|}}}   
   | .&#32;Retrieved on {{{accessdate}}}
   | .&#32;Retrieved on {{{accessdate}}}
   }}.{{#if: {{{language|}}}
   }}.{{ #if: {{{quote|}}}
  | &#32;(in {{{language|}}})
  }}{{ #if: {{{quote|}}}
     | &nbsp;“{{{quote}}}”
     | &nbsp;“{{{quote}}}”
   }}|Template error: argument '''title''' is required.}}</includeonly><noinclude>
   }}|Template error: argument '''title''' is required.}}
{{Template:Cite news/doc}}
{{#if:{{{google|}}}
  |{{#if:{{{url|}}}
    | &#32;({{Google translation named|url={{{url}}}|code={{{google}}}}})
  }}
}}</includeonly><noinclude>
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 12:40, 5 June 2008

[edit] Template documentation

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