Difference between revisions of "Template:Cite news"

From Self-sufficiency
Jump to: navigation, search
(no dot after coauth is then date (see other cite XXX))
(add selection of date after authors, but if none specified then at previous location)
Line 24: Line 24:
 
   }}{{#if: {{{author|}}}{{{last|}}}
 
   }}{{#if: {{{author|}}}{{{last|}}}
 
     | {{#if: {{{coauthors|}}} | &#59; {{{coauthors}}} }}
 
     | {{#if: {{{coauthors|}}} | &#59; {{{coauthors}}} }}
   }}{{#if: {{{date|}}}
+
   }}{{#if: {{{author|}}}{{{last|}}}
     |  ({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|[[{{{date}}}]]|{{{date}}}}})
+
    | {{#if: {{{date|}}}
 +
     |  ({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|[[{{{date}}}]]|{{{date}}}}}) }}
 
   }}{{#if: {{{last|}}}{{{author|}}}
 
   }}{{#if: {{{last|}}}{{{author|}}}
 
   | . }}{{#if: {{{curly|}}}|“|"
 
   | . }}{{#if: {{{curly|}}}|“|"
Line 40: Line 41:
 
     | , ''{{{work}}}''}}{{#if: {{{publisher|}}}
 
     | , ''{{{work}}}''}}{{#if: {{{publisher|}}}
 
     | , {{#if: {{{location|}}} |{{{location}}}: }}{{{publisher}}}
 
     | , {{#if: {{{location|}}} |{{{location}}}: }}{{{publisher}}}
 +
  }}{{#if: {{{author|}}}{{{last|}}}
 +
    | | {{#if: {{{date|}}}
 +
    |  ({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|[[{{{date}}}]]|{{{date}}}}}) }}
 
   }}{{#if: {{{pages|}}}
 
   }}{{#if: {{{pages|}}}
 
     | , pp. {{{pages}}}
 
     | , pp. {{{pages}}}

Revision as of 03:58, 8 July 2008