Jump to content

Template:Cite journal: Difference between revisions

From The Austrian Economics Wiki, the global repository of classical-liberal thought
direct copy from WP.
 
m copy from WT this time...
Line 1: Line 1:
<includeonly>{{Citation/core
<cite style="font-style:normal">{{#if:{{{year|}}}
  |Citation type=Journal
|'''{{{year}}}'''{{#if:{{{month|}}}{{{date|}}}
  |AuthorMask = {{{author-mask|{{{authormask|}}}}}}
   |, {{{month|{{{date}}}}}} {{#if:{{{month|}}}|{{{date}}}}}
  |Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|}}}}}}}}}}}}}}}}}}}}}
   }}
  |Surname2 = {{{last2|{{{surname2|{{{author2|}}}}}}}}}
}}{{#if:{{{author|}}}
  |Surname3 = {{{last3|{{{surname3|{{{author3|}}}}}}}}}
   |, {{{author}}}{{#if:{{{coauthors|}}}
  |Surname4 = {{{last4|{{{surname4|{{{author4|}}}}}}}}}
    | , {{{coauthors}}}
   |Surname5 = {{{last5|{{{surname5|{{{author5|}}}}}}}}}
  }}{{#if: {{{quotee|}}}
  |Surname6 = {{{last6|{{{surname6|{{{author6|}}}}}}}}}
  |&#32;quoting {{{quotee|}}}
  |Surname7 = {{{last7|{{{surname7|{{{author7|}}}}}}}}}
  }}
   |Surname8 = {{{last8|{{{surname8|{{{author8|}}}}}}}}}
}}{{#if:{{{title|}}}
  |Surname9 = {{{last9|{{{surname9|{{{author9|}}}}}}}}}
    |{{#if: {{isValidPageName|{{{title|}}}}}
  |Given1 = {{{first1|{{{given1|{{{first|{{{given|}}}}}}}}}}}}
      |{{#if:{{{doi|}}}  
   |Given2 = {{{first2|{{{given2|}}}}}}
           |, “[[doi:{{{doi}}}|{{{title}}}]]”
  |Given3 = {{{first3|{{{given3|}}}}}}
          |, “{{{title}}}
  |Given4 = {{{first4|{{{given4|}}}}}}
  |Given5 = {{{first5|{{{given5|}}}}}}
  |Given6 = {{{first6|{{{given6|}}}}}}
  |Given7 = {{{first7|{{{given7|}}}}}}
  |Given8 = {{{first8|{{{given8|}}}}}}
  |Given9 = {{{first9|{{{given9|}}}}}}
  |Authorlink1 = {{{author-link|{{{author1-link|{{{authorlink|{{{authorlink1|}}}}}}}}}}}}
  |Authorlink2 = {{{author2-link|{{{authorlink2|}}}}}}
  |Authorlink3 = {{{author3-link|{{{authorlink3|}}}}}}
  |Authorlink4 = {{{author4-link|{{{authorlink4|}}}}}}
  |Authorlink5 = {{{author5-link|{{{authorlink5|}}}}}}
  |Authorlink6 = {{{author6-link|{{{authorlink6|}}}}}}
  |Authorlink7 = {{{author7-link|{{{authorlink7|}}}}}}
  |Authorlink8 = {{{author8-link|{{{authorlink8|}}}}}}
  |Authorlink9 = {{{author9-link|{{{authorlink9|}}}}}}
  |Coauthors = {{{coauthor|{{{coauthors|}}}}}}
  |Year={{{year|{{    <!-- attempt to derive year from date, if possible -->
            #if: {{{date|}}}
            |{{
                #iferror:{{#time:Y|{{{date|}}} }}
                |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
                |{{#time:Y|{{{date|}}} }}
              }}
            |{{{publication-date|}}} <!-- last resort -->
          }}
        }}}
  |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|{{{publication-date|}}}}}}}}
  |Title={{{title|}}}
  |TransTitle={{{trans_title|}}}
  |URL={{#if:{{{archiveurl|}}}|{{{archiveurl}}}|{{{url|}}}}}
  |Series={{{series|{{{version|}}}}}}
  |Periodical = {{{journal|{{{periodical|{{{magazine|{{{work|}}}}}}}}}}}}
  |Volume = {{{volume|}}}
  |Issue = {{{issue|{{{number|}}}}}}
  |At = {{
          #if: {{{journal|{{{periodical|{{{magazine|{{{work|}}}}}}}}}}}}
           |{{{pages|{{{page|{{{at|}}}}}}}}}
          |{{
            #if: {{{page|}}}
            |p. {{{page}}}
            |{{
                #if: {{{pages|}}}
                |pp. {{{pages}}}
                |{{{at|}}}
              }}
          }}
         }}
         }}
  |IncludedWorkTitle = {{{chapter|{{{contribution|}}}}}}
      |{{#if:{{{doi|}}}  
  |IncludedWorkURL = {{{chapter-url|{{{chapterurl|{{{contribution-url|}}}}}}}}}
          |, “{{{title}}}” <sup>[[doi:{{{doi}}}|doi]]</sup>
  |Edition = {{{edition|}}}
          |, “{{{title}}}
  |Place = {{{place|{{{location|}}}}}}
        }}
  |PublicationPlace = {{{publication-place|{{{place|{{{location|}}}}}}}}}
    }}
  |Publisher = {{{publisher|}}}
}}{{#if:{{{page}}}|<!-- if {{{page}}} is used, insert the URL elsewhere below and do nothing here -->|{{
  |PublicationDate = {{{publication-date|}}}
#if:{{{url|}}}
  |EditorSurname1 = {{{editor-last|{{{editor-surname|{{{editor1-last|{{{editor1-surname|{{{editor|{{{editors|}}}}}}}}}}}}}}}}}}
   |[{{{url}}}]
   |EditorSurname2 = {{{editor2-last|{{{editor2-surname|}}}}}}
}}}}{{#if:{{{format|}}}
  |EditorSurname3 = {{{editor3-last|{{{editor3-surname|}}}}}}
   |, &#32;({{{format}}})
   |EditorSurname4 = {{{editor4-last|{{{editor4-surname|}}}}}}
}}{{#if:{{{journal|{{{work|}}}}}}
  |EditorGiven1 = {{{editor-first|{{{editor-given|{{{editor1-first|{{{editor1-given|}}}}}}}}}}}}
   |, ''{{{journal|{{{work|}}}}}}''
   |EditorGiven2={{{editor2-first|{{{editor2-given|}}}}}}
}}{{#if:{{{volume|}}}
  |EditorGiven3={{{editor3-first|{{{editor3-given|}}}}}}
   |, volume {{{volume}}}
   |EditorGiven4={{{editor4-first|{{{editor4-given|}}}}}}
}}{{#if:{{{issue|}}}
  |Editorlink1={{{editor-link|{{{editor1-link|}}}}}}
   |, number {{{issue}}}
   |Editorlink2={{{editor2-link|}}}
}}{{#if:{{{pages|}}}
  |Editorlink3={{{editor3-link|}}}
   |, pages {{{pages}}}
   |Editorlink4={{{editor4-link|}}}
}}{{#if:{{{publisher|}}}
  |Other = {{{others|}}}
   |, {{#if:{{{location|}}}  
   |language = {{{language|{{{in|}}}}}}
    |{{{location}}}:&#32;
  |format = {{{format|}}}
   }}{{{publisher}}}
   |ID={{{id|{{{ID|}}}}}}
}}{{#if:{{{issn|}}}
  |ISBN={{{isbn|{{{ISBN|}}}}}}
   |, [[w:International Standard Serial Number|ISSN]] [http://worldcat.org/issn/{{{issn}}} {{{issn}}}]
   |ISSN={{{issn|{{{ISSN|}}}}}}
}}{{#if:{{{pmid|}}}
  |OCLC={{{oclc|{{{OCLC|}}}}}}
   |, PMID {{{pmid}}}
   |PMID={{{pmid|{{{PMID|}}}}}}
}}{{#if:{{{bibcode|}}}
  |PMC={{{pmc|{{{PMC|}}}}}}
   |, [[w:Bibcode|Bibcode]]:&nbsp;[http://adsabs.harvard.edu/abs/{{{bibcode}}} {{{bibcode}}}]
   |Embargo={{{pmc-embargo-date|1010-10-10}}}
}}{{#if:{{{oclc|}}}  
  |Bibcode={{{bibcode|}}}
   |, [[OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]
  |DOI={{{doi|{{{DOI|}}}}}}
}}{{#if:{{{id|}}}
   |DoiBroken={{{doi_inactivedate|{{{doi_brokendate|}}}}}}
   |, {{{id}}}
  |AccessDate={{{access-date|{{{accessdate|}}}}}}
}}{{#if:{{{accessdate|}}}
   |OriginalURL={{{url|}}}
   |, retrieved on [[{{{accessdate}}}]]{{#if: {{{accessyear|}}} | , [[{{{accessyear}}}]] }}
  |ArchiveURL={{{archiveurl|}}}
}}{{#if:{{{accessmonthday|}}}
   |ArchiveDate={{{archivedate|}}}
   |, &#32;retrieved on {{{accessmonthday}}}, {{{accessyear}}}
  |laysource = {{{laysource|}}}
}}{{#if:{{{accessdaymonth|}}}
  |laysummary = {{{laysummary|}}}
  | &#32;Retrieved on {{{accessdaymonth}}} {{{accessyear}}}
  |laydate = {{{laydate|}}}
}}{{#if:{{{laysummary|}}}
   |quote = {{{quote|}}}
   |, [{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}|&nbsp;&ndash;&nbsp;''{{{laysource}}}''}}
  |Ref={{{ref|}}}
}}{{#if:{{{laydate|}}}
  |Sep = {{#ifeq:{{{separator|{{{seperator}}} }}}|;|&#059;|{{{separator|{{{seperator|.}}} }}} }}
  | &#32;([[{{{laydate}}}]])
   |PS = {{{postscript|.}}}
}}{{#if:{{{section|}}}
  |AuthorSep = {{#ifeq:{{{author-separator|}}}|;|&#059;|{{{author-separator|&#059;}}}}}&#32;
   |, {{{section|}}}
  |NameSep = {{{author-name-separator|,}}}&#32;
}}{{#if:{{{page|}}}
  |Trunc = {{#if:{{{display-authors|}}}|{{{display-authors}}}|8}}
  |, {{#if:{{{url}}}
   |amp = {{{use ampersand before last author|}}}
          | [{{{url}}} page {{{page}}}]
}}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}{{{access-date|}}}{{{dateformat|}}}|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}}{{#if:{{{doilabel|}}}|[[Category:Citation templates using redundant parameters|{{NAMESPACE}} {{PAGENAME}}]]}}</includeonly><noinclude>
          |<!-- if {{{url}}} not provided -->{{
Copy from WP, 11/16/2010
    #if: {{{pageurl|}}}  
    | [{{{pageurl}}} page {{{page}}}]
    | page {{{page}}}
    }}}}
}}</cite>:&#8202;<noinclude>
 
[[Category:Citation templates]]
</noinclude>
</noinclude>

Revision as of 21:01, 16 November 2010

: