Difference between revisions of "Template:Cite news"

From Self-sufficiency
Jump to: navigation, search
("URL accessed" → "Retrieved on" for consistency with current {{template:cite web}}, and minor template code reformatting)
m (1 revision imported from wikipedia:Template:Cite_news)
 
(103 intermediate revisions by 49 users not shown)
Line 1: Line 1:
{{#if: {{{title|}}}
+
<includeonly>{{#invoke:citation/CS1|citation
  |{{#if: {{{first|}}}{{{last|}}}
+
|CitationClass=news
    |{{#if: {{{last|}}}
+
}}</includeonly><noinclude>
      |{{{last}}},&nbsp;
+
{{documentation}}
  }}{{{first|}}}{{#if: {{{coauthors|}}}| <nowiki>;</nowiki>&#32;{{{coauthors}}} }},&nbsp;
+
    |{{#if: {{{author|}}}
+
      |{{{author|}}}{{#if: {{{coauthors|}}}| <nowiki>;</nowiki>&#32;{{{coauthors}}} }}.&nbsp;
+
  }}
+
  }}{{#if: {{{curly|}}}|“|"}}{{#if: {{{url|}}}
+
    |[{{{url}}} {{{title}}}]
+
    |{{{title}}}
+
  }}{{#if: {{{curly|}}}|”|"}}{{#if: {{{work|}}}
+
    |, &#32;''{{{work}}}''}}{{#if: {{{publisher|}}}
+
    |, ''{{{publisher}}}''
+
  }}{{#if: {{{date|}}}
+
    |, {{{date}}}
+
  }}{{#if: {{{pages|}}}
+
    |, pp. {{{pages}}}
+
    |{{#if: {{{page|}}}
+
      |, p. {{{page}}}
+
    }}
+
  }}{{#if: {{{accessdate|}}} 
+
  |.&#32;Retrieved on [[{{{accessdate}}}]]
+
  }}.|Template error: argument '''title''' is required.}}<noinclude>
+
{{esoteric}}
+
[[Category:Citation templates|{{PAGENAME}}]]
+
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
+
 
+
[[vi:Tiêu bản:Chú thích báo]]
+
[[zh:Cite news]]
+
 
</noinclude>
 
</noinclude>

Latest revision as of 09:54, 17 June 2016