Difference between revisions of "Template:Cite news"

From Self-sufficiency
Jump to: navigation, search
(Added new "id" param. Per talk)
m (1 revision imported from wikipedia:Template:Cite_news)
 
(71 intermediate revisions by 32 users not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{title|}}}
+
<includeonly>{{#invoke:citation/CS1|citation
  |{{#if: {{{author|}}}{{{last|}}}
+
|CitationClass=news
    | {{#if: {{{authorlink|}}}
+
}}</includeonly><noinclude>
      | [[{{{authorlink}}}|{{#if: {{{last|}}}
+
{{documentation}}
        | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
+
        | {{{author}}}
+
      }}]]
+
      | {{#if: {{{last|}}}
+
        | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
+
        | {{{author}}}
+
      }}
+
    }}
+
  }}{{#if: {{{author|}}}{{{last|}}}
+
    | {{#if: {{{coauthors|}}} | ,&#32;{{{coauthors}}} }}.&#32;
+
  }}{{#if: {{{curly|}}}|“|"}}{{#if: {{{url|}}}
+
  | [{{{url}}} {{{title}}}]
+
  | {{{title}}}
+
  }}{{#if: {{{curly|}}}|”|"}}{{#if: {{{format|}}} | &#32;({{{format}}})
+
    }}{{#if: {{{work|}}}
+
    | , ''{{{work}}}''}}{{#if: {{{publisher|}}}
+
    | , ''{{{publisher}}}''
+
  }}{{#if: {{{date|}}}
+
    | , {{{date}}}
+
  }}{{#if: {{{pages|}}}
+
    | , pp.&nbsp;{{{pages}}}
+
    |{{#if: {{{page|}}}
+
      | , p.&nbsp;{{{page}}}
+
    }}
+
  }}{{#if: {{{id|}}}
+
    | . {{{id}}}
+
  }}{{#if: {{{accessdate|}}} 
+
  | .&#32;Retrieved on [[{{{accessdate}}}]]
+
  }}.{{#if: {{{language|}}}
+
  | &#32;(in {{{language|}}})
+
  }}{{ #if: {{{quote|}}}
+
    | &nbsp;“{{{quote}}}”
+
  }}|Template error: argument '''title''' is required.}}</includeonly><noinclude>
+
{{protected template}}
+
{{/doc}}
+
 
</noinclude>
 
</noinclude>

Latest revision as of 10:54, 17 June 2016