Template:Cite web: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Conscious
comparisons are useless now
meta>Conscious
this will convert date and accessdate from ISO to DMY format
Line 24: Line 24:
}}{{#if: {{{author|}}}{{{last|}}}|
}}{{#if: {{{author|}}}{{{last|}}}|
     {{#if: {{{date|}}}
     {{#if: {{{date|}}}
     |  ({{{date}}})
     |  ({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|{{#time:j F Y|{{{date}}}}}|{{{date}}}}})
     | {{#if: {{{year|}}}
     | {{#if: {{{year|}}}
       | {{#if: {{{month|}}}
       | {{#if: {{{month|}}}
Line 55: Line 55:
}}{{#if: {{{author|}}}{{{last|}}}
}}{{#if: {{{author|}}}{{{last|}}}
   ||{{#if: {{{date|}}}
   ||{{#if: {{{date|}}}
     |  ({{{date}}})
     |  ({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|{{#time:j F Y|{{{date}}}}}|{{{date}}}}})
     | {{#if: {{{year|}}}
     | {{#if: {{{year|}}}
       | {{#if: {{{month|}}}
       | {{#if: {{{month|}}}
Line 68: Line 68:
   |  [[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 {{{accessdate}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}.
   |  Retrieved on {{#ifeq:{{#time:Y-m-d|{{{accessdate}}}}}|{{{accessdate}}}|{{#time:j F Y|{{{accessdate}}}}}|{{{accessdate}}}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}.
}}{{#if: {{{accessmonthday|}}}
}}{{#if: {{{accessmonthday|}}}
   |  Retrieved on {{{accessmonthday}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}.
   |  Retrieved on {{{accessmonthday}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}.

Revision as of 18:59, 9 November 2008