Difference between revisions of "Template:Cite news"

87 bytes added ,  22:19, 3 October 2020
Fix title being unable to render unless URL is provided
(Add check for title and work parameters.)
(Fix title being unable to render unless URL is provided)
Line 32: Line 32:
 
   }}
 
   }}
 
}}{{
 
}}{{
#if: {{{archiveurl|}}}
+
#if: {{{url|}}}{{{archiveurl|}}}
   |  [{{{archiveurl}}} {{{title}}}]
+
   | {{#if: {{{archiveurl|}}}
  |  [{{{url}}} {{{title}}}]
+
    |  [{{{archiveurl}}} {{{title}}}]
 +
    |  [{{{url}}} {{{title}}}]
 +
  }}
 +
  |  “{{{title}}}”
 
}}{{
 
}}{{
 
#if: {{{format|}}}
 
#if: {{{format|}}}