Template:Cite journal

(Difference between revisions)
Jump to: navigation, search
(PARTIAL conversion to our {if} template -- not finished; back later...)
(more modifying; maaaybe ready to test; back later to try...)
Line 1: Line 1:
 
<includeonly><cite style="font-style:normal">{{if|test={{{author|}}}{{{last|}}}
 
<includeonly><cite style="font-style:normal">{{if|test={{{author|}}}{{{last|}}}
   |{{if|test={{{authorlink|}}}
+
   |then={{if|test={{{authorlink|}}}
     |[[{{{authorlink}}}|{{if|
+
     |then=[[{{{authorlink}}}|{{if|test={{{last|}}}
      test={{{last|}}}
+
       |then={{{last}}}{{if|test={{{first|}}}
       |{{{last}}}{{if|
+
         |then=,&#32;{{{first}}}
        test={{{first|}}}
+
         |, {{{first}}}
+
 
       }}
 
       }}
       |{{{author}}}
+
       |else={{{author}}}
 
     }}]]
 
     }}]]
 
     |{{if|test={{{last|}}}
 
     |{{if|test={{{last|}}}
       |{{{last}}}{{if|
+
       |then={{{last}}}{{if|test={{{first|}}}
        test={{{first|}}}
+
         |then=,&#32;{{{first}}}
         |, {{{first}}}
+
 
       }}
 
       }}
       |{{{author}}}
+
       |else={{{author}}}
 
     }}
 
     }}
 
   }}
 
   }}
 
}}{{if|test={{{author|}}}{{{last|}}}
 
}}{{if|test={{{author|}}}{{{last|}}}
   |{{if|test={{{coauthors|}}}
+
   |then={{if|test={{{coauthors|}}}
     | <nowiki>;</nowiki> {{{coauthors}}}
+
     |then=&#32;<nowiki>;</nowiki>&#32;{{{coauthors}}}
 
   }}
 
   }}
 
}}{{if|test={{{date|}}}
 
}}{{if|test={{{date|}}}
   |&#32;({{{date}}})
+
   |then=&#32;({{{date}}})
   |{{if|test={{{year|}}}
+
   |else={{if|test={{{year|}}}
     |{{if|test={{{month|}}}
+
     |then={{if|test={{{month|}}}
       |&#32;({{{month}}} {{{year}}})
+
       |then=&#32;({{{month}}}&#32;{{{year}}})
       |&#32;({{{year}}})
+
       |else=&#32;({{{year}}})
 
     }}
 
     }}
 
   }}
 
   }}
 
}}{{if|test={{{author|}}}{{{last|}}}
 
}}{{if|test={{{author|}}}{{{last|}}}
   | .
+
   |then=&#32;.
 
}}{{if|test={{{author|}}}{{{last|}}}{{{year|}}}{{{date|}}}
 
}}{{if|test={{{author|}}}{{{last|}}}{{{year|}}}{{{date|}}}
   | &#32;
+
   |then=&#32;
 
}}<!--{{#ifeq:{{{quotes|}}}  
 
}}<!--{{#ifeq:{{{quotes|}}}  
 
  | no  
 
  | no  
Line 47: Line 44:
 
   | &#32;(in {{{language}}})
 
   | &#32;(in {{{language}}})
 
}}-->{{if|test={{{format|}}}
 
}}-->{{if|test={{{format|}}}
   | &#32;({{{format}}})
+
   |then=&#32;({{{format}}})
 
}}{{if|test={{{journal|}}}
 
}}{{if|test={{{journal|}}}
   |. ''{{{journal}}}''
+
   |then=.&#32;''{{{journal}}}''
 
}}{{if|{{{volume|}}}
 
}}{{if|{{{volume|}}}
   |&#32;'''{{{volume}}}'''
+
   |then=&#32;'''{{{volume}}}'''
 
}}{{if|{{{issue|}}}
 
}}{{if|{{{issue|}}}
   |&#32;({{{issue}}})
+
   |then=&#32;({{{issue}}})
 
}}{{if|test={{{pages|}}}
 
}}{{if|test={{{pages|}}}
   |<nowiki>:</nowiki> {{{pages}}}
+
   |then=<nowiki>:</nowiki>&#32;{{{pages}}}
 
}}{{if|test={{{doi|}}}  
 
}}{{if|test={{{doi|}}}  
   | . [[Wikipedia:Digital object identifier|DOI]]:[http://dx.doi.org/{{{doi|{{{doilabel|}}}}}} {{{doi}}}]
+
   |then=.&#32;[[Wikipedia:Digital_object_identifier|DOI]]:[http://dx.doi.org/{{{doi|{{{doilabel|}}}}}}&#32;{{{doi}}}]
 
}}{{if|test={{{issn|}}}
 
}}{{if|test={{{issn|}}}
   |. [[Wikipedia:International Standard Serial Number|ISSN]] [http://worldcat.org/issn/{{{issn}}} {{{issn}}}]
+
   |then=.&#32;[[Wikipedia:International_Standard_Serial_Number|ISSN]]&#32;[http://worldcat.org/issn/{{{issn}}}&#32;{{{issn}}}]
 
}}{{if|test={{{pmid|}}}
 
}}{{if|test={{{pmid|}}}
   |. PMID {{{pmid}}}
+
   |then=.&#32;PMID&#32;{{{pmid}}}
 
}}{{if|test={{{id|}}}
 
}}{{if|test={{{id|}}}
   |. {{{id}}}
+
   |then=.&#32;{{{id}}}
 
}}{{if|test={{{accessdate|}}}
 
}}{{if|test={{{accessdate|}}}
   |. Retrieved on {{{accessdate}}}{{if|test={{{accessyear|}}} | , {{{accessyear}}} }}
+
   |then=.&#32;Retrieved&#32;on&#32;{{{accessdate}}}{{if|test={{{accessyear|}}}
 +
    |then=,&#32;{{{accessyear}}} }}
 
}}{{if|test={{{accessmonthday|}}}
 
}}{{if|test={{{accessmonthday|}}}
   | &#32;Retrieved on {{{accessmonthday}}}, {{{accessyear}}}
+
   |then=&#32;Retrieved&#32;on&#32;{{{accessmonthday}}},&#32;{{{accessyear}}}
 
}}{{if|test={{{accessdaymonth|}}}
 
}}{{if|test={{{accessdaymonth|}}}
   | &#32;Retrieved on {{{accessdaymonth}}} {{{accessyear}}}
+
   |then=&#32;Retrieved&#32;on&#32;{{{accessdaymonth}}}&#32;{{{accessyear}}}
 
}}{{if|test={{{laysummary|}}}
 
}}{{if|test={{{laysummary|}}}
   |. [{{{laysummary}}} Lay summary]{{if|test={{{laysource|}}}|&nbsp;&ndash;&nbsp;''{{{laysource}}}''}}
+
   |then=.&#32;[{{{laysummary}}}&#32;Lay&#32;summary]{{if|test={{{laysource|}}}
 +
    |then=&nbsp;&ndash;&nbsp;''{{{laysource}}}''}}
 
}}{{if|test={{{laydate|}}}
 
}}{{if|test={{{laydate|}}}
   | &#32;({{{laydate}}})
+
   |then=&#32;({{{laydate}}})
 
}}.{{if|test={{{quote|}}}
 
}}.{{if|test={{{quote|}}}
   | &#32;“{{{quote}}}”
+
   |then=&#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 on this template, which was modified from that original to work (eventually?) on this wiki.
  
'''Note that this template doesn't yet work here on Iron Chariots! See the [[Template talk:Cite journal|talk page]].'''
+
'''Please note that this template doesn't yet work here on Iron Chariots! See the [[Template talk:Cite journal|talk page]] for information about this.'''
  
 
[[Category:Informational templates]]</noinclude>
 
[[Category:Informational templates]]</noinclude>

Revision as of 17:59, 28 June 2007

Please see Wikipedia:Template:Cite journal for documentation on this template, which was modified from that original to work (eventually?) on this wiki.

Please note that this template doesn't yet work here on Iron Chariots! See the talk page for information about this.

Personal tools
Namespaces
Variants
Actions
wiki navigation
IronChariots.Org
Toolbox