Template:Cite web: Difference between revisions

    m>RockMFR
    (straight quotes per talk page request, WP:MOS)
    m>Conscious
    (delinked dates, see talk)
    Line 24: Line 24:
    }}{{#if: {{{author|}}}{{{last|}}}|
    }}{{#if: {{{author|}}}{{{last|}}}|
         {{#if: {{{date|}}}
         {{#if: {{{date|}}}
         |  ({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|[[{{{date}}}]]|{{{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|}}}
         |  ({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|[[{{{date}}}]]|{{#ifeq:{{#time:Y-m-d|{{{date}}}}}|1970-01-01|[[{{{date}}}]]|{{{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 [[{{{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 [[{{{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}}} }}.