Difference between revisions of "Template:Cite news"

From Timelines
Jump to: navigation, search
(move format postion to be outside of title's closing quotes)
m (Changed protection level of Template:Cite news: when I changed this to add template editors, I didn't realize it had cascding protection—so all my change did was make it appear as if it could be edited by them ([Edit=Allow only administrators] (indef...)
 
(89 intermediate revisions by 41 users not shown)
Line 1: Line 1:
<includeonly>{{#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: {{{format|}}} | &#32;({{{format}}})
 
    }}{{#if: {{{work|}}}
 
    |, &#32;''{{{work}}}''}}{{#if: {{{publisher|}}}
 
    |, ''{{{publisher}}}''
 
  }}{{#if: {{{date|}}}
 
    |, {{{date}}}
 
  }}{{#if: {{{pages|}}}
 
    |, pp.&nbsp;{{{pages}}}
 
    |{{#if: {{{page|}}}
 
      |, p.&nbsp;{{{page}}}
 
    }}
 
  }}{{#if: {{{accessdate|}}} 
 
  |.&#32;Retrieved on [[{{{accessdate}}}]]
 
  }}.{{#if: {{{language|}}}
 
  |&#32;(in {{{language|}}})
 
  }}|Template error: argument '''title''' is required.}}</includeonly><noinclude>
 
__NOTOC__
 
{{Cite news/doc}}
 
 
 
[[Category:Citation templates|{{PAGENAME}}]]
 
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
 
 
 
[[cs:Šablona:Citace novin]]
 
[[pl:Szablon:Cytuj news]]
 
[[vi:Tiêu bản:Chú thích báo]]
 
[[zh:Cite news]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 18:17, 12 November 2015

Template documentation[create]