Template:Cite journal

(Difference between revisions)
Jump to: navigation, search
(+ note: see talk)
(PARTIAL conversion to our {if} template -- not finished; back later...)
Line 1: Line 1:
<includeonly><cite style="font-style:normal">{{#if:{{{author|}}}{{{last|}}}
+
<includeonly><cite style="font-style:normal">{{if|test={{{author|}}}{{{last|}}}
   |{{#if:{{{authorlink|}}}
+
   |{{if|test={{{authorlink|}}}
     |[[{{{authorlink}}}|{{#if:
+
     |[[{{{authorlink}}}|{{if|
       {{{last|}}}
+
       test={{{last|}}}
       |{{{last}}}{{#if:
+
       |{{{last}}}{{if|
         {{{first|}}}
+
         test={{{first|}}}
 
         |, {{{first}}}
 
         |, {{{first}}}
 
       }}
 
       }}
 
       |{{{author}}}
 
       |{{{author}}}
 
     }}]]
 
     }}]]
     |{{#if:{{{last|}}}
+
     |{{if|test={{{last|}}}
       |{{{last}}}{{#if:
+
       |{{{last}}}{{if|
         {{{first|}}}
+
         test={{{first|}}}
 
         |, {{{first}}}
 
         |, {{{first}}}
 
       }}
 
       }}
Line 17: Line 17:
 
     }}
 
     }}
 
   }}
 
   }}
}}{{#if:{{{author|}}}{{{last|}}}
+
}}{{if|test={{{author|}}}{{{last|}}}
   |{{#if:{{{coauthors|}}}
+
   |{{if|test={{{coauthors|}}}
 
     | <nowiki>;</nowiki> {{{coauthors}}}
 
     | <nowiki>;</nowiki> {{{coauthors}}}
 
   }}
 
   }}
}}{{#if:{{{date|}}}
+
}}{{if|test={{{date|}}}
 
   |&#32;({{{date}}})
 
   |&#32;({{{date}}})
   |{{#if:{{{year|}}}
+
   |{{if|test={{{year|}}}
     |{{#if:{{{month|}}}
+
     |{{if|test={{{month|}}}
 
       |&#32;({{{month}}} {{{year}}})
 
       |&#32;({{{month}}} {{{year}}})
 
       |&#32;({{{year}}})
 
       |&#32;({{{year}}})
 
     }}
 
     }}
 
   }}
 
   }}
}}{{#if:{{{author|}}}{{{last|}}}
+
}}{{if|test={{{author|}}}{{{last|}}}
 
   | .
 
   | .
}}{{#if:{{{author|}}}{{{last|}}}{{{year|}}}{{{date|}}}
+
}}{{if|test={{{author|}}}{{{last|}}}{{{year|}}}{{{date|}}}
 
   | &#32;
 
   | &#32;
}}{{#ifeq:{{{quotes|}}}  
+
}}<!--{{#ifeq:{{{quotes|}}}  
 
  | no  
 
  | no  
 
  |  
 
  |  
Line 46: Line 46:
 
  }}{{#if: {{{language|}}}  
 
  }}{{#if: {{{language|}}}  
 
   | &#32;(in {{{language}}})
 
   | &#32;(in {{{language}}})
}}{{#if: {{{format|}}}
+
}}-->{{if|test={{{format|}}}
 
   | &#32;({{{format}}})
 
   | &#32;({{{format}}})
}}{{#if:{{{journal|}}}
+
}}{{if|test={{{journal|}}}
 
   |. ''{{{journal}}}''
 
   |. ''{{{journal}}}''
}}{{#if:{{{volume|}}}
+
}}{{if|{{{volume|}}}
 
   |&#32;'''{{{volume}}}'''
 
   |&#32;'''{{{volume}}}'''
}}{{#if:{{{issue|}}}
+
}}{{if|{{{issue|}}}
 
   |&#32;({{{issue}}})
 
   |&#32;({{{issue}}})
}}{{#if:{{{pages|}}}
+
}}{{if|test={{{pages|}}}
 
   |<nowiki>:</nowiki> {{{pages}}}
 
   |<nowiki>:</nowiki> {{{pages}}}
}}{{#if: {{{doi|}}}  
+
}}{{if|test={{{doi|}}}  
 
   | . [[Wikipedia:Digital object identifier|DOI]]:[http://dx.doi.org/{{{doi|{{{doilabel|}}}}}} {{{doi}}}]
 
   | . [[Wikipedia:Digital object identifier|DOI]]:[http://dx.doi.org/{{{doi|{{{doilabel|}}}}}} {{{doi}}}]
}}{{#if:{{{issn|}}}
+
}}{{if|test={{{issn|}}}
 
   |. [[Wikipedia:International Standard Serial Number|ISSN]] [http://worldcat.org/issn/{{{issn}}} {{{issn}}}]
 
   |. [[Wikipedia:International Standard Serial Number|ISSN]] [http://worldcat.org/issn/{{{issn}}} {{{issn}}}]
}}{{#if:{{{pmid|}}}
+
}}{{if|test={{{pmid|}}}
 
   |. PMID {{{pmid}}}
 
   |. PMID {{{pmid}}}
}}{{#if:{{{id|}}}
+
}}{{if|test={{{id|}}}
 
   |. {{{id}}}
 
   |. {{{id}}}
}}{{#if:{{{accessdate|}}}
+
}}{{if|test={{{accessdate|}}}
   |. Retrieved on {{{accessdate}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}
+
   |. Retrieved on {{{accessdate}}}{{if|test={{{accessyear|}}} | , {{{accessyear}}} }}
}}{{#if: {{{accessmonthday|}}}
+
}}{{if|test={{{accessmonthday|}}}
 
   | &#32;Retrieved on {{{accessmonthday}}}, {{{accessyear}}}
 
   | &#32;Retrieved on {{{accessmonthday}}}, {{{accessyear}}}
}}{{#if: {{{accessdaymonth|}}}
+
}}{{if|test={{{accessdaymonth|}}}
 
   | &#32;Retrieved on {{{accessdaymonth}}} {{{accessyear}}}
 
   | &#32;Retrieved on {{{accessdaymonth}}} {{{accessyear}}}
}}{{#if: {{{laysummary|}}}
+
}}{{if|test={{{laysummary|}}}
   |. [{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}|&nbsp;&ndash;&nbsp;''{{{laysource}}}''}}
+
   |. [{{{laysummary}}} Lay summary]{{if|test={{{laysource|}}}|&nbsp;&ndash;&nbsp;''{{{laysource}}}''}}
}}{{#if: {{{laydate|}}}
+
}}{{if|test={{{laydate|}}}
 
   | &#32;({{{laydate}}})
 
   | &#32;({{{laydate}}})
}}.{{#if: {{{quote|}}}
+
}}.{{if|test={{{quote|}}}
 
   | &#32;“{{{quote}}}”
 
   | &#32;“{{{quote}}}”
 
}}</cite></includeonly><noinclude>Please see [[Wikipedia:Template:Cite journal]] for documentation of this template, which was copied directly from there.
 
}}</cite></includeonly><noinclude>Please see [[Wikipedia:Template:Cite journal]] for documentation of this template, which was copied directly from there.

Revision as of 15:38, 28 June 2007

Please see Wikipedia:Template:Cite journal for documentation of this template, which was copied directly from there.

Note that this template doesn't yet work here on Iron Chariots! See the talk page.

Personal tools
Namespaces
Variants
Actions
wiki navigation
IronChariots.Org
Toolbox