Difference between revisions of "Template:Cite news"

From Self-sufficiency
Jump to: navigation, search
(rm dev notice. This is released now.)
m (1 revision imported from wikipedia:Template:Cite_news)
 
(117 intermediate revisions by 59 users not shown)
Line 1: Line 1:
{{qif
+
<includeonly>{{#invoke:citation/CS1|citation
  |test={{boolnot|{{{title|}}}}}
+
|CitationClass=news
  |then=Template error: argument '''title''' is required.
+
}}</includeonly><noinclude>
  |else={{qif
+
{{documentation}}
    |test={{{first|}}}{{{last|}}}
+
    |then={{qif
+
      |test={{{last|}}}
+
      |then={{{last}}},&nbsp;
+
  }}{{{first|}}},&nbsp;
+
    |else={{qif
+
      |test={{{author|}}}
+
      |then={{{author|}}},&nbsp;
+
  }}
+
  }}"{{qif
+
    |test={{{url|}}}
+
    |then=[{{{url}}} {{{title}}}]
+
    |else={{{title}}}
+
  }}"{{qif
+
    |test={{{work|}}}
+
    |then=, &#32;''{{{work}}}''}}{{qif
+
    |test={{{publisher|}}}
+
    |then=, ''{{{publisher}}}''
+
  }}{{qif
+
    |test={{{date|}}}
+
    |then=, {{{date}}}
+
  }}{{qif
+
    |test={{{pages|}}}
+
    |then=, pp. {{{pages}}}
+
    |else={{qif
+
      |test={{{page|}}}
+
      |then=, p. {{{page}}}
+
    }}
+
  }}{{qif
+
  |test={{{accessdate|}}} 
+
  |then=.&#32;URL accessed on [[{{{accessdate}}}]]
+
  }}.
+
}}<noinclude>
+
{{esoteric}}
+
[[Category:Citation templates|{{PAGENAME}}]]
+
 
</noinclude>
 
</noinclude>

Latest revision as of 09:54, 17 June 2016