Template:Cite journal: Difference between revisions
From All Skies Encyclopaedia
imported>Skier Dude  (per talk page request)  | 
				imported>Skier Dude   | 
				||
| Line 1: | Line 1: | ||
<includeonly><cite style="font-style:normal">{{#if:{{{author|}}}{{{last|}}}  | 
|||
{{Citation/core/sandbox   | 
  |||
  |{{#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|}}}  | 
|||
      |{{{last}}}{{#if:  | 
|||
  |Given1 = {{{first1|{{{given1|{{{first|{{{given|}}}}}}}}}}}}  | 
  |||
        {{{first|}}}  | 
|||
        |, {{{first}}}  | 
|||
      }}  | 
|||
  |Given4 = {{{first4|{{{given4|}}}}}}  | 
  |||
      |{{{author}}}  | 
|||
    }}  | 
|||
  |Given6 = {{{first6|{{{given6|}}}}}}  | 
  |||
  }}  | 
|||
  |Given7 = {{{first7|{{{given7|}}}}}}  | 
  |||
}}{{#if:{{{author|}}}{{{last|}}}  | 
|||
  |  | 
    |{{#if:{{{coauthors|}}}  | 
||
    | <nowiki>;</nowiki> {{{coauthors}}}  | 
|||
  |Authorlink1 = {{{author-link|{{{author1-link|{{{authorlink|{{{authorlink1|}}}}}}}}}}}}  | 
  |||
  }}{{#if:{{{date|}}}  | 
|||
  |Authorlink2 = {{{author2-link|{{{authorlink2|}}}}}}  | 
  |||
    | ({{{date}}})  | 
|||
  |Authorlink3 = {{{author3-link|{{{authorlink3|}}}}}}  | 
  |||
    |{{#if:{{{year|}}}  | 
|||
      |{{#if:{{{month|}}}  | 
|||
        | ({{{month}}} {{{year}}})  | 
|||
        | ({{{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:{{{author|}}}{{{last|}}}{{{year|}}}{{{date|}}}  | 
|||
                #iferror:{{#time:Y|{{{date|}}} }}  | 
  |||
  |    | 
|||
                |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}  | 
  |||
}}{{#ifeq:{{{quotes|}}}   | 
|||
 | 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> }}[{{#if:{{{url|}}}|{{{url|}}}|http://www.pubmedcentral.gov/articlerender.fcgi?tool=pmcentrez&artid={{{pmc}}}}} {{{title}}}]  | 
|||
  |URL={{{url|}}}  | 
  |||
  |  | 
    |{{{title}}}  | 
||
}}{{#ifeq:{{{quotes|}}}   | 
|||
  |Periodical = {{{journal|{{{periodical|{{{newspaper|{{{magazine|}}}}}}}}}}}}  | 
  |||
 | no   | 
|||
  |Volume = {{{volume|}}}  | 
  |||
 |   | 
|||
  |Issue = {{{issue|{{{number|}}}}}}  | 
  |||
 | {{#if:{{{curly|}}}|”|"}}   | 
|||
  |At = {{  | 
  |||
 }}{{#if:{{{language|}}}   | 
|||
          #if: {{{journal|{{{periodical|{{{newspaper|{{{magazine|}}}}}}}}}}}}  | 
  |||
  |  (in {{{language}}})  | 
|||
          |{{{pages|{{{page|{{{at|}}}}}}}}}  | 
  |||
}}{{#if:{{{format|}}}  | 
|||
          |{{  | 
  |||
  |  ({{{format}}})  | 
|||
}}{{#if:{{{author|}}}{{{last|}}}  | 
|||
  |  | 
|||
             |{{  | 
  |||
  |  {{#if:{{{date|}}}  | 
|||
    | ({{{date}}})  | 
|||
    |{{#if:{{{year|}}}  | 
|||
      |{{#if:{{{month|}}}  | 
|||
        | ({{{month}}} {{{year}}})  | 
|||
        }}  | 
          | ({{{year}}})  | 
||
       }}  | 
|||
  |IncludedWorkTitle = {{{chapter|{{{contribution|}}}}}}  | 
  |||
     }}  | 
|||
  |IncludedWorkURL = {{{chapter-url|{{{chapterurl|{{{contribution-url|}}}}}}}}}  | 
  |||
  }}  | 
|||
  |Edition = {{{edition|}}}  | 
  |||
}}{{#if:{{{journal|{{{work|}}}}}}  | 
|||
  |  | 
    |. ''{{{journal|{{{work}}}}}}''  | 
||
}}{{#if:{{{volume|}}}  | 
|||
  |Publisher = {{{publisher|}}}  | 
  |||
  | '''{{{volume}}}'''  | 
|||
  |PublicationDate = {{{publication-date|}}}  | 
  |||
}}{{#if:{{{issue|}}}  | 
|||
  |EditorSurname1 = {{{editor-last|{{{editor-surname|{{{editor1-last|{{{editor1-surname|{{{editor|{{{editors|}}}}}}}}}}}}}}}}}}  | 
  |||
  | ({{{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|}}}}}}}}}}}}  | 
  |||
  |. {{#if:{{{location|}}}   | 
|||
  |EditorGiven2={{{editor2-first|{{{editor2-given|}}}}}}  | 
  |||
    |{{{location}}}:   | 
|||
  |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|}}}  | 
|||
  |. [[International Standard Serial Number|ISSN]] [http://worldcat.org/issn/{{{issn}}} {{{issn}}}]  | 
|||
  |ID={{{id|{{{ID|}}}}}}  | 
  |||
}}{{#if:{{{pmid|}}}  | 
|||
  |  | 
    |. PMID {{{pmid}}}  | 
||
}}{{#if:{{{pmc|}}}   | 
|||
  | {{#if:{{{url|}}} |. [[PubMed Central|PMC]]:[http://www.pubmedcentral.gov/articlerender.fcgi?tool=pmcentrez&artid={{{pmc}}} {{{pmc}}}]}}  | 
|||
  |PMID={{{pmid|{{{PMID|}}}}}}  | 
  |||
}}{{#if:{{{bibcode|}}}  | 
|||
  |Bibcode  | 
    |. [[Bibcode]]: [http://adsabs.harvard.edu/abs/{{{bibcode}}} {{{bibcode}}}]  | 
||
}}{{#if:{{{oclc|}}}   | 
|||
  |. [[OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]  | 
|||
  |AccessDate={{{access-date|{{{accessdate|}}}}}}  | 
  |||
}}{{#if:{{{id|}}}  | 
|||
  |laysummary = {{{laysummary|}}}  | 
  |||
  |  | 
    |. {{{id}}}  | 
||
}}{{#if:{{{accessdate|}}}  | 
|||
  |laydate = {{{laydate|}}}  | 
  |||
  |<span class="reference-accessdate">. Retrieved on [[{{{accessdate}}}]]{{#if: {{{accessyear|}}} | , [[{{{accessyear}}}]] }}  | 
|||
  |Ref={{{ref|}}}  | 
  |||
}}{{#if:{{{accessmonthday|}}}  | 
|||
  |Sep = {{{separator|{{{seperator|.}}}}}}  | 
  |||
  |  Retrieved on {{{accessmonthday}}}, {{{accessyear}}}  | 
|||
  |PS = {{{postscript|}}}  | 
  |||
}}{{#if:{{{accessdaymonth|}}}  | 
|||
}}<noinclude>  | 
  |||
  |  Retrieved on {{{accessdaymonth}}} {{{accessyear}}}</span>  | 
|||
}}{{#if:{{{laysummary|}}}   | 
|||
  |. [{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}| – ''{{{laysource}}}''}}  | 
|||
}}{{#if:{{{laydate|}}}  | 
|||
  |  ([[{{{laydate}}}]])  | 
|||
}}.{{#if:{{{quote|}}}  | 
|||
  |  “{{{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;"> </span></span></includeonly><noinclude>  | 
|||
<!--  | 
|||
    PLEASE DO NOT ADD DOCUMENTATION/CATEGORIES/INTERWIKIS HERE  | 
|||
-->  | 
|||
{{pp-template|small=yes}}  | 
  {{pp-template|small=yes}}  | 
||
{{documentation}}  | 
  {{documentation, template}}  | 
||
<!--  | 
|||
    MAKE ADDITIONS TO THE /doc SUBPAGE INSTEAD, THANKS  | 
|||
-->  | 
|||
</noinclude>  | 
  </noinclude>  | 
||




