Difference between revisions of "Template:Cite news"

From Self-sufficiency
Jump to: navigation, search
(fix empty separator case)
(Don't pass an empty URL parameter (to fix error message described at Template_talk:Citation/core))
Line 86: Line 86:
 
   |Sep = {{#ifeq:{{{separator|{{{seperator}}} }}}|;|&#059;|{{{separator|{{{seperator|.}}} }}} }}
 
   |Sep = {{#ifeq:{{{separator|{{{seperator}}} }}}|;|&#059;|{{{separator|{{{seperator|.}}} }}} }}
 
   |ArchiveDate = {{{archivedate|}}}
 
   |ArchiveDate = {{{archivedate|}}}
   |OriginalURL = {{#if:{{{archiveurl|}}}|{{{url|}}}}}
+
   |OriginalURL = {{#if:{{{archiveurl|}}}|{{ #if:{{{url|}}}|{{{url}}} }} }}
 
}}<noinclude>
 
}}<noinclude>
 
{{pp-template|small=yes}}
 
{{pp-template|small=yes}}
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 23:24, 3 June 2009

.