Template:Cite journal: Difference between revisions

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