Template:Cite web: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
(as per tempalte:citation, template:cite journal and DOI article, should be cited in lower case doi - changed for consistency between the citation templates)
(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)
Line 24: Line 24:
}}{{#if: {{{author|}}}{{{last|}}}|
}}{{#if: {{{author|}}}{{{last|}}}|
{{#if: {{{date|}}}
{{#if: {{{date|}}}
|  ({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|[[{{{date}}}]]|{{{date}}}}})
|  ({{Date style|{{{datestyle|}}}|{{{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}}}}}}})
|  ({{Date style|{{{datestyle|}}}|{{{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 {{Date style|{{{datestyle|}}}|{{{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 {{Date style|{{{datestyle|}}}|{{{accessdate|}}}}}{{#if: {{{accessyear|}}} | , [[{{{accessyear}}}]] }}.
}}{{#if: {{{accessmonthday|}}}
}}{{#if: {{{accessmonthday|}}}
|  Retrieved on {{{accessmonthday}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}.
|  Retrieved on {{{accessmonthday}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}.

Revision as of 20:09, 20 July 2008