Difference between revisions of "Template:Cite web"

From Gardenology.org - Plant Encyclopedia and Gardening Wiki
Jump to navigationJump to search
m (1 revision(s))
 
 
Line 24: Line 24:
 
}}{{#if: {{{author|}}}{{{last|}}}|
 
}}{{#if: {{{author|}}}{{{last|}}}|
 
     {{#if: {{{date|}}}
 
     {{#if: {{{date|}}}
     |  ({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{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}}}}}}})
+
     |  ({{{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}}} }}.

Latest revision as of 15:01, 9 November 2008

[create] Template documentation