Difference between revisions of "Template:Cite news"

From Timelines
Jump to: navigation, search
(Removing date links, per talkpage request)
(this will convert accessdate and archivedate from ISO to DMY format)
Line 53: Line 53:
 
     | . {{{id}}}
 
     | . {{{id}}}
 
   }}{{#if: {{{accessdate|}}}
 
   }}{{#if: {{{accessdate|}}}
   | <span class=reference-accessdate>.&#32;Retrieved on {{{accessdate}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}</span>
+
   | <span class=reference-accessdate>.&#32;Retrieved on {{#ifeq:{{#time:Y-m-d|{{{accessdate}}}}}|{{{accessdate}}}|{{#time:j F Y|{{{accessdate}}}}}|{{{accessdate}}}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}</span>
 
   }}{{#if: {{{accessmonthday|}}}
 
   }}{{#if: {{{accessmonthday|}}}
 
   | <span class=reference-accessdate>.&#32;Retrieved on {{{accessmonthday}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}</span>
 
   | <span class=reference-accessdate>.&#32;Retrieved on {{{accessmonthday}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}</span>
Line 59: Line 59:
 
   | <span class=reference-accessdate>.&#32;Retrieved on {{{accessdaymonth}}}{{#if: {{{accessyear|}}} | &#32;{{{accessyear}}} }}</span>
 
   | <span class=reference-accessdate>.&#32;Retrieved on {{{accessdaymonth}}}{{#if: {{{accessyear|}}} | &#32;{{{accessyear}}} }}</span>
 
   }}.{{#if: {{{archivedate|}}}
 
   }}.{{#if: {{{archivedate|}}}
   | &#32;Archived from [{{{url}}} the original] on {{{archivedate}}}.
+
   | &#32;Archived from [{{{url}}} the original] on {{#ifeq:{{#time:Y-m-d|{{{archivedate}}}}}|{{{archivedate}}}|{{#time:j F Y|{{{archivedate}}}}}|{{{archivedate}}}}}.
 
   }}{{ #if: {{{quote|}}}
 
   }}{{ #if: {{{quote|}}}
 
     | &nbsp;"{{{quote}}}"
 
     | &nbsp;"{{{quote}}}"

Revision as of 11:16, 9 November 2008

Lua error in Module:Effective_protection_level at line 60: attempt to index field 'TitleBlacklist' (a nil value).

Template documentation[create]