Difference between revisions of "Template:Cite news"

124 bytes added ,  16:39, 5 October 2020
m
+cat
(Add check for title and work parameters.)
m (+cat)
 
(2 intermediate revisions by the same user not shown)
Line 32: Line 32:
 
   }}
 
   }}
 
}}{{
 
}}{{
#if: {{{archiveurl|}}}
+
#if: {{{url|}}}{{{archiveurl|}}}
   |  [{{{archiveurl}}} {{{title}}}]
+
   | {{#if: {{{archiveurl|}}}
  |  [{{{url}}} {{{title}}}]
+
    |  [{{{archiveurl}}} {{{title}}}]
 +
    |  [{{{url}}} {{{title}}}]
 +
  }}
 +
  |  “{{{title}}}”
 
}}{{
 
}}{{
 
#if: {{{format|}}}
 
#if: {{{format|}}}
Line 72: Line 75:
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 +
[[Category:Citation templates|News]]
 
</noinclude>
 
</noinclude>