Template:Cite web: Difference between revisions

rv forced DMY per talk
m>Conscious
(same for archivedate)
m>RockMFR
(rv forced DMY per talk)
Line 24: Line 24:
}}{{#if: {{{author|}}}{{{last|}}}|
}}{{#if: {{{author|}}}{{{last|}}}|
     {{#if: {{{date|}}}
     {{#if: {{{date|}}}
     |  ({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|{{#time:j F Y|{{{date}}}}}|{{{date}}}}})
     |  ({{{date}}})
     | {{#if: {{{year|}}}
     | {{#if: {{{year|}}}
       | {{#if: {{{month|}}}
       | {{#if: {{{month|}}}
Line 55: Line 55:
}}{{#if: {{{author|}}}{{{last|}}}
}}{{#if: {{{author|}}}{{{last|}}}
   ||{{#if: {{{date|}}}
   ||{{#if: {{{date|}}}
     |  ({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|{{#time:j F Y|{{{date}}}}}|{{{date}}}}})
     |  ({{{date}}})
     | {{#if: {{{year|}}}
     | {{#if: {{{year|}}}
       | {{#if: {{{month|}}}
       | {{#if: {{{month|}}}
Line 64: Line 64:
   }}
   }}
}}.{{#if: {{{archivedate|}}}
}}.{{#if: {{{archivedate|}}}
   |  Archived from [{{{url}}} the original] on {{#ifeq:{{#time:Y-m-d|{{{archivedate}}}}}|{{{archivedate}}}|{{#time:j F Y|{{{archivedate}}}}}|{{{archivedate}}}}}.
   |  Archived from [{{{url}}} the original] on {{{archivedate}}}.
}}{{#if: {{{doi|}}}  
}}{{#if: {{{doi|}}}  
   |  [[Digital object identifier|doi]]:[http://dx.doi.org/{{{doi|{{{doilabel|}}}}}} {{{doi}}}].
   |  [[Digital object identifier|doi]]:[http://dx.doi.org/{{{doi|{{{doilabel|}}}}}} {{{doi}}}].
}}{{#if: {{{accessdate|}}}
}}{{#if: {{{accessdate|}}}
   |  Retrieved on {{#ifeq:{{#time:Y-m-d|{{{accessdate}}}}}|{{{accessdate}}}|{{#time:j F Y|{{{accessdate}}}}}|{{{accessdate}}}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}.
   |  Retrieved on {{{accessdate}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}.
}}{{#if: {{{accessmonthday|}}}
}}{{#if: {{{accessmonthday|}}}
   |  Retrieved on {{{accessmonthday}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}.
   |  Retrieved on {{{accessmonthday}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}.
Anonymous user