Difference between revisions of "Template:Cite news"

From Self-sufficiency
Jump to: navigation, search
(formatting accessdate to mimic date field (no autoformat))
(Undid revision 252561884 by David Fuchs (talk) - broken)
Line 52: Line 52:
 
   }}{{#if: {{{id|}}}  
 
   }}{{#if: {{{id|}}}  
 
     | . {{{id}}}
 
     | . {{{id}}}
}}{{#if: {{{accessdate|}}}
+
  }}{{#if: {{{accessdate|}}}
   |  Retrieved on {{{accessdate}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}.
+
   | <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|}}}
   | &#32;Retrieved on {{{accessmonthday}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}.
+
   | <span class=reference-accessdate>.&#32;Retrieved on {{{accessmonthday}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}</span>
}}{{#if: {{{accessdaymonth|}}}
+
  }}{{#if: {{{accessdaymonth|}}}
   | &#32;Retrieved on {{{accessdaymonth}}}{{#if: {{{accessyear|}}} | &#32;{{{accessyear}}} }}.
+
   | <span class=reference-accessdate>.&#32;Retrieved on {{{accessdaymonth}}}{{#if: {{{accessyear|}}} | &#32;{{{accessyear}}} }}</span>
{{#if: {{{archivedate|}}}
+
  }}.{{#if: {{{archivedate|}}}
 
   | &#32;Archived from [{{{url}}} the original] on {{#ifeq:{{#time:Y-m-d|{{{archivedate}}}}}|{{{archivedate}}}|{{#time:j F Y|{{{archivedate}}}}}|{{{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|}}}

Revision as of 14:18, 18 November 2008