Difference between revisions of "Template:Cite news"
From Self-sufficiency
(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>. Retrieved on {{{accessdate}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}</span> | + | | <span class=reference-accessdate>. 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>. Retrieved on {{{accessmonthday}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}</span> | | <span class=reference-accessdate>. Retrieved on {{{accessmonthday}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}</span> | ||
Line 59: | Line 59: | ||
| <span class=reference-accessdate>. Retrieved on {{{accessdaymonth}}}{{#if: {{{accessyear|}}} |  {{{accessyear}}} }}</span> | | <span class=reference-accessdate>. Retrieved on {{{accessdaymonth}}}{{#if: {{{accessyear|}}} |  {{{accessyear}}} }}</span> | ||
}}.{{#if: {{{archivedate|}}} | }}.{{#if: {{{archivedate|}}} | ||
− | |  Archived from [{{{url}}} the original] on {{{archivedate}}}. | + | |  Archived from [{{{url}}} the original] on {{#ifeq:{{#time:Y-m-d|{{{archivedate}}}}}|{{{archivedate}}}|{{#time:j F Y|{{{archivedate}}}}}|{{{archivedate}}}}}. |
}}{{ #if: {{{quote|}}} | }}{{ #if: {{{quote|}}} | ||
| "{{{quote}}}" | | "{{{quote}}}" |
Revision as of 20:16, 9 November 2008
[edit]
Documentation