Cite web: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
switch to editor option of a date format, but if '''datestyle''' not specified (the default) then continues to be wikilinked as present. See talk discussion
rv back as requested whilst some issues raised for freetext and partial dates in "date" parameter addressed off-line as it were
Line 24: Line 24:
}}{{#if: {{{author|}}}{{{last|}}}|
}}{{#if: {{{author|}}}{{{last|}}}|
     {{#if: {{{date|}}}
     {{#if: {{{date|}}}
     |  ({{Date style|{{{datestyle|}}}|{{{date|}}}}})
     |  ({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{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|}}}
     |  ({{Date style|{{{datestyle|}}}|{{{date|}}}}})
     |  ({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|[[{{{date}}}]]|{{#ifeq:{{#time:Y-m-d|{{{date}}}}}|1970-01-01|[[{{{date}}}]]|{{{date}}}}}}})
     | {{#if: {{{year|}}}
     | {{#if: {{{year|}}}
       | {{#if: {{{month|}}}
       | {{#if: {{{month|}}}
Line 64: Line 64:
   }}
   }}
}}.{{#if: {{{archivedate|}}}
}}.{{#if: {{{archivedate|}}}
   |  Archived from [{{{url}}} the original] on {{Date style|{{{datestyle|}}}|{{{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 {{Date style|{{{datestyle|}}}|{{{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}}} }}.

Revision as of 21:51, 20 July 2008