Template:Cite journal: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Skier Dude
m Reverted edits by SkierRMH (talk) to last version by David Fuchs
meta>Salix alba
update to sandbox version with Citation/core
Line 1: Line 1:
<includeonly><cite style="font-style:normal">{{#if:{{{author|}}}{{{last|}}}
{{Citation/core
  |{{#if:{{{authorlink|}}}
  |Citation type=Journal
    |[[{{{authorlink}}}|{{#if:
  |Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|{{{author|}}}}}}}}}}}}}}}}}}}}}}}}
      {{{last|}}}
  |Surname2 = {{{last2|{{{surname2|{{{author2|{{{coauthor|{{{coauthors|}}}}}}}}}}}}}}}
      |{{{last}}}{{#if:
  |Surname3 = {{{last3|{{{surname3|{{{author3|}}}}}}}}}
        {{{first|}}}
   |Surname4 = {{{last4|{{{surname4|{{{author4|}}}}}}}}}
        |, {{{first}}}
  |Surname5 = {{{last5|{{{surname5|{{{author5|}}}}}}}}}
      }}
  |Surname6 = {{{last6|{{{surname6|{{{author6|}}}}}}}}}
      |{{{author}}}
  |Surname7 = {{{last7|{{{surname7|{{{author7|}}}}}}}}}
    }}]]
  |Surname8 = {{{last8|{{{surname8|{{{author8|}}}}}}}}}
    |{{#if:{{{last|}}}
  |Surname9 = {{{last9|{{{surname9|{{{author9|}}}}}}}}}
      |{{{last}}}{{#if:
   |Given1 = {{{first1|{{{given1|{{{first|{{{given|}}}}}}}}}}}}
        {{{first|}}}
  |Given2 = {{{first2|{{{given2|}}}}}}
        |, {{{first}}}
   |Given3 = {{{first3|{{{given3|}}}}}}
      }}
  |Given4 = {{{first4|{{{given4|}}}}}}
      |{{{author}}}
  |Given5 = {{{first5|{{{given5|}}}}}}
    }}
  |Given6 = {{{first6|{{{given6|}}}}}}
  }}
  |Given7 = {{{first7|{{{given7|}}}}}}
}}{{#if:{{{author|}}}{{{last|}}}
  |Given8 = {{{first8|{{{given8|}}}}}}
   |{{#if:{{{coauthors|}}}
  |Given9 = {{{first9|{{{given9|}}}}}}
    | <nowiki>;</nowiki> {{{coauthors}}}
  |Authorlink1 = {{{author-link|{{{author1-link|{{{authorlink|{{{authorlink1|}}}}}}}}}}}}
  }}{{#if:{{{date|}}}
  |Authorlink2 = {{{author2-link|{{{authorlink2|}}}}}}
    |&#32;({{{date}}})
   |Authorlink3 = {{{author3-link|{{{authorlink3|}}}}}}
    |{{#if:{{{year|}}}
  |Authorlink4 = {{{author4-link|{{{authorlink4|}}}}}}
      |{{#if:{{{month|}}}
   |Authorlink5 = {{{author5-link|{{{authorlink5|}}}}}}
        |&#32;({{{month}}} {{{year}}})
  |Authorlink6 = {{{author6-link|{{{authorlink6|}}}}}}
        |&#32;({{{year}}})
   |Authorlink7 = {{{author7-link|{{{authorlink7|}}}}}}
      }}
  |Authorlink8 = {{{author8-link|{{{authorlink8|}}}}}}
    }}
  |Authorlink9 = {{{author9-link|{{{authorlink9|}}}}}}
  }}
  |Year={{{year|{{   <!-- attempt to derive year from date, if possible -->
}}{{#if:{{{author|}}}{{{last|}}}
            #if: {{{date|}}}
  | .
            |{{
}}{{#if:{{{author|}}}{{{last|}}}{{{year|}}}{{{date|}}}
                #iferror:{{#time:Y|{{{date|}}} }}
   | &#32;
                |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
}}{{#ifeq:{{{quotes|}}}
                |{{#time:Y|{{{date|}}} }}
| no
              }}
|
            |{{{publication-date|}}} <!-- last resort -->
| {{#if: {{{curly|}}}|“|"}}  
          }}
}}{{#if:{{{url|}}}{{{pmc|}}}
        }}}
   |{{#ifeq:{{{title|}}}||<span class=error plainlinks>Citation is missing a title.
  |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|{{{publication-date|}}}}}}}}
Either specify one, or [http://tools.wikimedia.de/~verisimilus/Bot/DOI_bot/doibot.php?edit=on&user=Cite_journal&page={{FULLPAGENAMEE}} click here]
   |Title={{{title|}}}
and a bot will try to complete the citation details for you.</span>&#32;}}[{{#if:{{{url|}}}|{{{url|}}}|http://www.pubmedcentral.gov/articlerender.fcgi?tool=pmcentrez&artid={{{pmc}}}}} {{{title}}}]
  |URL={{{url|}}}
  |{{{title}}}
  |Series={{{series|}}}
}}{{#ifeq:{{{quotes|}}}  
  |Periodical = {{{journal|{{{periodical|{{{newspaper|{{{magazine|}}}}}}}}}}}}
| no
  |Volume = {{{volume|}}}
|  
  |Issue = {{{issue|{{{number|}}}}}}
| {{#if:{{{curly|}}}|”|"}}  
  |At = {{
}}{{#if:{{{language|}}}  
          #if: {{{journal|{{{periodical|{{{newspaper|{{{magazine|}}}}}}}}}}}}
   | &#32;(in {{{language}}})
          |{{{pages|{{{page|{{{at|}}}}}}}}}
}}{{#if:{{{format|}}}
          |{{
   | &#32;({{{format}}})
            #if: {{{page|}}}
}}{{#if:{{{author|}}}{{{last|}}}
            |p. {{{page}}}
   |
            |{{
  | &#32;{{#if:{{{date|}}}
                #if: {{{pages|}}}
    |&#32;({{{date}}})
                |pp. {{{pages}}}
    |{{#if:{{{year|}}}
                |{{{at|}}}
      |{{#if:{{{month|}}}
              }}
        |&#32;({{{month}}} {{{year}}})
          }}
        |&#32;({{{year}}})
        }}
      }}
  |IncludedWorkTitle = {{{chapter|{{{contribution|}}}}}}
    }}
   |IncludedWorkURL = {{{chapter-url|{{{chapterurl|{{{contribution-url|}}}}}}}}}
  }}
  |Edition = {{{edition|}}}
}}{{#if:{{{journal|{{{work|}}}}}}
   |Place = {{{place|{{{location|}}}}}}
  |. ''{{{journal|{{{work}}}}}}''
  |PublicationPlace = {{{publication-place|{{{place|{{{location|}}}}}}}}}
}}{{#if:{{{volume|}}}
   |Publisher = {{{publisher|}}}
  |&#32;'''{{{volume}}}'''
  |PublicationDate = {{{publication-date|}}}
}}{{#if:{{{issue|}}}
  |EditorSurname1 = {{{editor-last|{{{editor-surname|{{{editor1-last|{{{editor1-surname|{{{editor|{{{editors|}}}}}}}}}}}}}}}}}}
  |&#32;({{{issue}}})
  |EditorSurname2 = {{{editor2-last|{{{editor2-surname|}}}}}}
}}{{#if:{{{pages|}}}
   |EditorSurname3 = {{{editor3-last|{{{editor3-surname|}}}}}}
  |<nowiki>:</nowiki> {{{pages}}}
  |EditorSurname4 = {{{editor4-last|{{{editor4-surname|}}}}}}
}}{{#if:{{{publisher|}}}
  |EditorGiven1 = {{{editor-first|{{{editor-given|{{{editor1-first|{{{editor1-given|}}}}}}}}}}}}
  |.&#32;{{#if:{{{location|}}}  
  |EditorGiven2={{{editor2-first|{{{editor2-given|}}}}}}
    |{{{location}}}:&#32;
   |EditorGiven3={{{editor3-first|{{{editor3-given|}}}}}}
  }}{{{publisher}}}
   |EditorGiven4={{{editor4-first|{{{editor4-given|}}}}}}
}}{{#if:{{{doi|}}}  
   |Editorlink1={{{editor-link|{{{editor1-link|}}}}}}
   |. [[Digital object identifier|doi]]:{{#if: {{{doi_brokendate|}}}  
  |Editorlink2={{{editor2-link|}}}
    | {{#tag:nowiki|{{{doi}}}}} (inactive [[{{{doi_brokendate|}}}]]) {{#ifeq: {{NAMESPACE}} | {{ns:0}} | [[Category:Pages with DOIs broken since {{#time: Y | {{{doi_brokendate|}}} }}]] }}
   |Editorlink3={{{editor3-link|}}}
    | <span class="neverexpand">[http://dx.doi.org/{{urlencode:{{{doi}}}}} {{#tag:nowiki|{{{doi}}}}}]</span>
   |Editorlink4={{{editor4-link|}}}
    }}
  |language = {{{language|{{{in|}}}}}}
}}{{#if:{{{issn|}}}
   |format = {{{format|}}}
  |. [[International Standard Serial Number|ISSN]] [http://worldcat.org/issn/{{{issn}}} {{{issn}}}]
   |ID={{{id|{{{ID|}}}}}}
}}{{#if:{{{pmid|}}}
  |ISBN={{{isbn|{{{ISBN|}}}}}}
  |. PMID {{{pmid}}}
  |ISSN={{{issn|{{{ISSN|}}}}}}
}}{{#if:{{{pmc|}}}  
  |OCLC={{{oclc|{{{OCLC|}}}}}}
  | {{#if:{{{url|}}} |. [[PubMed Central|PMC]]:[http://www.pubmedcentral.gov/articlerender.fcgi?tool=pmcentrez&artid={{{pmc}}} {{{pmc}}}]}}
  |PMID={{{pmid|{{{PMID|}}}}}}
}}{{#if:{{{bibcode|}}}
  |PMC={{{pmc|{{{PMC|}}}}}}
  |. [[Bibcode]]:&nbsp;[http://adsabs.harvard.edu/abs/{{{bibcode}}} {{{bibcode}}}]
   |Bibcode={{{bibcode|}}}
}}{{#if:{{{oclc|}}}  
  |doi={{{doi|{{{DOI|}}}}}}
   |. [[OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]
   |AccessDate={{{access-date|{{{accessdate|}}}}}}
}}{{#if:{{{id|}}}
  |laysummary = {{{laysummary|}}}
   |. {{{id}}}
  |quote = {{{quote|}}}
}}{{#if:{{{accessdate|}}}
  |laydate = {{{laydate|}}}
   |<span class="reference-accessdate">. Retrieved on [[{{{accessdate}}}]]{{#if: {{{accessyear|}}} | , [[{{{accessyear}}}]] }}
  |Ref={{{ref|}}}
}}{{#if:{{{accessmonthday|}}}
   |Sep = {{{separator|{{{seperator|.}}}}}}
  | &#32;Retrieved on {{{accessmonthday}}}, {{{accessyear}}}
  |PS = {{{postscript|}}}
}}{{#if:{{{accessdaymonth|}}}
}}<noinclude>
  | &#32;Retrieved on {{{accessdaymonth}}} {{{accessyear}}}</span>
}}{{#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|{{{work|}}}}}}   | &rft.jtitle={{urlencode:{{{journal|{{{work}}}}}}}}   }}<!-- 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: {{{pmc|}}}      | &rft_id=info:pmc/{{urlencode:{{{pmc}}}}}}}<!-- PubMed Central 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}}
{{pp-template|small=yes}}
{{documentation, template}}
{{documentation}}
<!--
    MAKE ADDITIONS TO THE /doc SUBPAGE INSTEAD, THANKS
-->
</noinclude>
</noinclude>

Revision as of 02:29, 27 October 2008