Template:Cite journal: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Happy-melon
update DOI code per editprotected
m 1 revision imported
 
(94 intermediate revisions by 37 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|}}}
  |{{#ifeq:{{{title|}}}||<span class=error plainlinks>Citation is missing a {{{title}}}.
Either specify one, or [http://tools.wikimedia.de/~verisimilus/Bot/DOI_bot/doibot.php?edit=on&user=Cite_journal&page={{FULLPAGENAMEE}} click here]
and a bot will complete the citation details for you.</span>&#32;}}[{{{url}}} {{{title}}}]
  |{{{title}}}
}}{{#ifeq:{{{quotes|}}}
| no
|
| {{#if:{{{curly|}}}|”|"}}
}}{{#if:{{{language|}}}
  | &#32;(in {{{language}}})
}}{{#if:{{{format|}}}
  | &#32;({{{format}}})
}}{{#if:{{{author|}}}{{{last|}}}
  |
  | &#32;{{#if:{{{date|}}}
    |&#32;({{{date}}})
    |{{#if:{{{year|}}}
      |{{#if:{{{month|}}}
        |&#32;({{{month}}} {{{year}}})
        |&#32;({{{year}}})
      }}
    }}
  }}
}}{{#if:{{{journal|}}}
  |. ''{{{journal}}}''
}}{{#if:{{{volume|}}}
  |&#32;'''{{{volume}}}'''
}}{{#if:{{{issue|}}}
  |&#32;({{{issue}}})
}}{{#if:{{{pages|}}}
  |<nowiki>:</nowiki> {{{pages}}}
}}{{#if:{{{publisher|}}}
  |.&#32;{{#if:{{{location|}}}
    |{{{location}}}:&#32;
  }}{{{publisher}}}
}}{{#if:{{{doi|}}}
  |. [[Digital object identifier|doi]]:<span class="plainlinks neverexpand">[http://dx.doi.org/{{urlencode:{{{doi}}}}} {{{doilabel|{{{doi}}}}}}]</span>
 
}}{{#if:{{{issn|}}}
  |. [[International Standard Serial Number|ISSN]] [http://worldcat.org/issn/{{{issn}}} {{{issn}}}]
}}{{#if:{{{pmid|}}}
  |. PMID {{{pmid}}}
}}{{#if:{{{bibcode|}}}
  |. [[Bibcode]]:&nbsp;[http://adsabs.harvard.edu/abs/{{{bibcode}}} {{{bibcode}}}]
}}{{#if:{{{oclc|}}}
  |. [[OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]
}}{{#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={{urlencode:info:ofi/fmt:kev:mtx:journal}}<!--                Field descriptions: http://www.openurl.info/registry/docs/mtx/info:ofi/fmt:kev:mtx:journal
  -->&rft.genre=article<!--                                                    article: a document published in a journal. (genre could also be (the entire) journal, issue, conference, proceeding, preprint, or unknown)
  -->{{#if: {{{title|}}}    | &rft.atitle={{urlencode:{{{title}}}}}    }}<!-- Article title.
  -->{{#if: {{{journal|}}}  | &rft.jtitle={{urlencode:{{{journal}}}}}  }}<!-- Journal title. Use the most complete title available ... "journal of the american medical association"
  -->{{#if: {{{date|}}}
      | &rft.date={{urlencode:{{{date}}}}}
      | {{#if: {{{year|}}}  | &rft.date={{urlencode:{{{year}}}}} }}    }}<!-- Date of publication. (ISO 8601)
  -->{{#if: {{{volume|}}}    | &rft.volume={{urlencode:{{{volume}}}}}    }}<!-- Volume designation usually expressed as a number but could be roman numerals or non-numeric, i.e. "124", or "VI".
  -->{{#if: {{{issue|}}}    | &rft.issue={{urlencode:{{{issue}}}}}      }}<!-- This is the designation of the published issue of a journal ... could be non-numeric
  -->{{#if: {{{author|}}}    | &rft.au={{urlencode:{{{author}}}}}        }}<!-- This data element contains the full name of a single author, i. e. "Smith, Fred M", "Harry S. Truman".
  -->{{#if: {{{last|}}}      | &rft.aulast={{urlencode:{{{last}}}}}      }}<!-- First author's family name. This may be more than one word ... i.e. Smith, Fred James is recorded as "aulast=smith"
  -->{{#if: {{{first|}}}    | &rft.aufirst={{urlencode:{{{first}}}}}    }}<!-- First author's given name or names or initials. This data element may contain multiple words and punctuation, i.e, "Fred James"
  -->{{#if: {{{pages|}}}    | &rft.pages={{urlencode:{{{pages}}}}}      }}<!-- Start and end pages, i.e. "53-58". This can also be used for an unstructured pagination statement when data relating to pagination cannot be interpreted as a start-end pair, i.e. "A7, C4-9", "1-3,6".
  -->{{#if: {{{issn|}}}      | &rft.issn={{urlencode:{{{issn}}}}}        }}<!-- International Standard Serials Number (ISSN). The issn may contain a hyphen, i.e. "1041-5653"
  -->{{#if: {{{pmid|}}}      | &rft_id=info:pmid/{{urlencode:{{{pmid}}}}}}}<!-- PubMed ID
  -->{{#if: {{{doi|}}}      | &rft_id=info:doi/{{urlencode:{{{doi}}}}}  }}<!-- DOI
  -->{{#if: {{{url|}}}      | &rft_id={{urlencode:{{{url}}}}}          }}<!-- URL
  -->"><span style="display: none;">&nbsp;</span></span></includeonly><noinclude>
<!--
    PLEASE DO NOT ADD DOCUMENTATION/CATEGORIES/INTERWIKIS HERE
-->
{{pp-template|small=yes}}
{{documentation, template}}
<!--
    MAKE ADDITIONS TO THE /doc SUBPAGE INSTEAD, THANKS
-->
</noinclude>
</noinclude>

Latest revision as of 03:19, 7 June 2021