Difference between revisions of "Template:Cite news"

447 bytes added ,  16:39, 5 October 2020
m
+cat
(Add volume.)
m (+cat)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{
 
<includeonly>{{
 +
#if: {{{title|}}}{{{work|}}}
 +
  | {{#if:
 +
    {{#if: {{{title|}}}
 +
      | {{#if: {{{work|}}} | 1 }}
 +
    }}
 +
    |
 +
    |You must specify '''''title = ''''' and '''''work = ''''' when using {{[[Template:cite news|cite news]]}}. {{#if: {{NAMESPACE}}
 +
      |
 +
      | [[Category:Articles with broken citations]]
 +
    }}
 +
  }}
 +
}}{{
 
#if: {{{archiveurl|}}}{{{archivedate|}}}  
 
#if: {{{archiveurl|}}}{{{archivedate|}}}  
 
   | {{#if:  
 
   | {{#if:  
Line 20: Line 32:
 
   }}
 
   }}
 
}}{{
 
}}{{
#if: {{{archiveurl|}}}
+
#if: {{{url|}}}{{{archiveurl|}}}
   | &#32;[{{{archiveurl}}} {{{title}}}]
+
   | {{#if: {{{archiveurl|}}}
  | &#32;[{{{url}}} {{{title}}}]
+
    | &#32;[{{{archiveurl}}} {{{title}}}]
 +
    | &#32;[{{{url}}} {{{title}}}]
 +
  }}
 +
  | &#32;“{{{title}}}”
 
}}{{
 
}}{{
 
#if: {{{format|}}}
 
#if: {{{format|}}}
Line 60: Line 75:
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 +
[[Category:Citation templates|News]]
 
</noinclude>
 
</noinclude>