Template:OrgSynth/doc

From Soma-notes
Revision as of 05:22, 8 March 2011 by Slyons (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{#ifeq:doc|{{#ifeq:|override|doc|doc}}|{{Documentation subpage/{{#ifexist: Template:Documentation subpage/{{#if: |{{{2}}}|⧼Lang⧽}} | {{#if: |{{{2}}}|⧼Lang⧽}} | {{#ifexist: Template:Documentation subpage/Template:GetFallback | Template:GetFallback | {{#ifexist: Template:Documentation subpage/Template:GetFallback2 | Template:GetFallback2 | en }} }} }}}}}} OrgSynth is designed to reference articles appearing in Organic Syntheses. It is based on the template {{cite journal}}, with the following parameters suppressed

  • month
  • journal
  • language
  • format
  • pmid
  • accessdate, accessmonthday, accessdaymonth, accessyear
  • laysummary
  • laydate
  • quote

and the following new parameters

  • prep (optional), for the preparation number in the Organic Syntheses database www.orgsyn.org, this parameter is overridden by url
  • collvol (optional), for the number of the collected volume
  • collvolpages (optional), the the pages in the collected volume, will not appear unless collvol is also set

Example usage

{{OrgSynth
|author=Whitmore, F. C.; Hanson, E. R.
|year=1925
|title=o-Chloromercuriphenol
|volume=4
|pages=13
|collvol=1
|collvolpages=161
|prep=CV1P0161}}

gives

{{#if:Whitmore, F. C.; Hanson, E. R.
 |{{#if:
   |[[{{{authorlink}}}|{{#if:
     
     |{{{last}}}{{#if:
       
       |, {{{first}}}
     }}
     |Whitmore, F. C.; Hanson, E. R.
   }}]]
   |{{#if:
     |{{{last}}}{{#if:
       
       |, {{{first}}}
     }}
     |Whitmore, F. C.; Hanson, E. R.
   }}
 }}

}}{{#if:Whitmore, F. C.; Hanson, E. R.

 |{{#if:
   | ; {{{coauthors}}}
 }}

}}{{#if:

 | ({{{date}}})
 |{{#if:1925
   | (1925)
    }}

}}{{#if:Whitmore, F. C.; Hanson, E. R.

 | .

}}{{#if:Whitmore, F. C.; Hanson, E. R.1925

 |  

}}{{#ifeq:

| no
|
| {{#if: |“|"}}
}}{{#if:
 |[{{{url}}} o-Chloromercuriphenol]
 |{{#if:CV1P0161
   |o-Chloromercuriphenol
   |o-Chloromercuriphenol}}

}}{{#ifeq:

| no
|
| {{#if: |”|"}}
}}. Org. Synth.{{#if:4
 | 4

}}{{#if:13

 |: 13

}}{{#if:1

 |; Coll. Vol. 1{{#if:161
   |: 161}}

}}.