Template:Cite journal: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>AzaToth
added quote parameter per request
m 1 revision imported
 
(124 intermediate revisions by 45 users not shown)
Line 1: Line 1:
<includeonly><cite style="font-style:normal">{{#if:{{{author|}}}{{{last|}}}
<includeonly>{{#invoke:Citation/CS1|citation
  |{{#if:{{{authorlink|}}}
|CitationClass=journal
    |[[{{{authorlink}}}|{{#if:
}}</includeonly><noinclude>
      {{{last|}}}
{{documentation}}
      |{{{last}}}{{#if:
        {{{first|}}}
        |, {{{first}}}
      }}
      |{{{author}}}
    }}]]
    |{{#if:{{{last|}}}
      |{{{last}}}{{#if:
        {{{first|}}}
        |, {{{first}}}
      }}
      |{{{author}}}
    }}
  }}
}}{{#if:{{{author|}}}{{{last|}}}
  |{{#if:{{{coauthors|}}}
    | <nowiki>;</nowiki> {{{coauthors}}}
  }}
}}{{#if:{{{date|}}}
  |&#32;({{{date}}})
  |{{#if:{{{year|}}}
    |{{#if:{{{month|}}}
      |&#32;({{{month}}} {{{year}}})
      |&#32;({{{year}}})
    }}
  }}
}}{{#if:{{{author|}}}{{{last|}}}
  | .
}}{{#if:{{{author|}}}{{{last|}}}{{{year|}}}{{{date|}}}
  | &#32;
}}{{#ifeq:{{{quotes|}}}
| no
|
| {{#if: {{{curly|}}}|“|"}}
}}{{#if:{{{url|}}}
  |[{{{url}}} {{{title}}}]
  |{{{title}}}
}}{{#ifeq:{{{quotes|}}}
| no
|
| {{#if: {{{curly|}}}|”|"}}
}}{{#if: {{{language|}}}
  | &#32;(in {{{language}}})
}}{{#if: {{{format|}}}
  | &#32;({{{format}}})
}}{{#if:{{{journal|}}}
  |. ''{{{journal}}}''
}}{{#if:{{{volume|}}}
  |&#32;'''{{{volume}}}'''
}}{{#if:{{{issue|}}}
  |&#32;({{{issue}}})
}}{{#if:{{{pages|}}}
  |<nowiki>:</nowiki> {{{pages}}}
}}{{#if: {{{doi|}}}
  | . [[Digital object identifier|DOI]]:[http://dx.doi.org/{{{doi|{{{doilabel|}}}}}} {{{doi}}}]
}}{{#if:{{{issn|}}}
  |. [[International Standard Serial Number|ISSN]] [http://worldcat.org/issn/{{{issn}}} {{{issn}}}]
}}{{#if:{{{pmid|}}}
  |. PMID {{{pmid}}}
}}{{#if:{{{id|}}}
  |. {{{id}}}
}}{{#if:{{{accessdate|}}}
  |. Retrieved on [[{{{accessdate}}}]]{{#if: {{{accessyear|}}} | , [[{{{accessyear}}}]] }}
}}{{#if: {{{accessmonthday|}}}
  | &#32;Retrieved on {{{accessmonthday}}}, {{{accessyear}}}
}}{{#if: {{{accessdaymonth|}}}
  | &#32;Retrieved on {{{accessdaymonth}}} {{{accessyear}}}
}}{{#if: {{{laysummary|}}}
  |. [{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}|&nbsp;&ndash;&nbsp;''{{{laysource}}}''}}
}}{{#if: {{{laydate|}}}
  | &#32;([[{{{laydate}}}]])
}}.{{#if: {{{quote|}}}
  | &#32;“''{{{quote}}}''”
}}</cite><!--
 
This is a COinS tag (http://ocoins.info), which allows automated tools to parse the citation information:
  --><span class="Z3988" title="ctx_ver=Z39.88-2004<!--
  -->&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal<!--
  -->{{#if: {{{title|}}}    | &rft.atitle={{urlencode:{{{title}}}}}      }}<!--
  -->{{#if: {{{journal|}}}  | &rft.title={{urlencode:{{{journal}}}}}      }}<!--
  -->{{#if: {{{journal|}}}  | &rft.jtitle={{urlencode:{{{journal}}}}}    }}<!--
  -->{{#if: {{{date|}}}
      | &rft.date={{urlencode:{{{date}}}}}
      | {{#if: {{{year|}}}  | &rft.date={{urlencode:{{{year}}}}} }}      }}<!--
  -->{{#if: {{{volume|}}}    | &rft.volume={{urlencode:{{{volume}}}}}      }}<!--
  -->{{#if: {{{issue|}}}    | &rft.issue={{urlencode:{{{issue}}}}}        }}<!--
  -->{{#if: {{{author|}}}    | &rft.au={{urlencode:{{{author}}}}}          }}<!--
  -->{{#if: {{{last|}}}      | &rft.aulast={{urlencode:{{{last}}}}}        }}<!--
  -->{{#if: {{{first|}}}    | &rft.aufirst={{urlencode:{{{first}}}}}      }}<!--
  -->{{#if: {{{pages|}}}    | &rft.pages={{urlencode:{{{pages}}}}}        }}<!--
  -->{{#if: {{{issn|}}}      | &rft.issn={{urlencode:{{{issn}}}}}          }}<!--
  -->{{#if: {{{pmid|}}}      | &rft_id=info:pmid/{{urlencode:{{{pmid}}}}}  }}<!--
  -->{{#if: {{{doi|}}}      | &rft_id=info:doi/{{urlencode:{{{doi}}}}}    }}<!--
  -->{{#if: {{{url|}}}      | &rft_id={{urlencode:{{{url}}}}}            }}<!--
  -->">&nbsp;</span></includeonly><noinclude>{{/doc}}
</noinclude>
</noinclude>

Latest revision as of 03:19, 7 June 2021