Jump to content

Template:Cite journal: Difference between revisions

From IdeaWazaWiki
wikademia>MPF
m copyedit
wikademia>Wikademia
m 6 revisions
 
(122 intermediate revisions by 54 users not shown)
Line 1: Line 1:
<cite style="font-style:normal">{{qif
{{Citation/core
   |test={{{author|{{{last|}}}}}}
   |Citation type=Journal
   |then={{qif
  |Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|{{{author|}}}}}}}}}}}}}}}}}}}}}}}}
    |test={{{authorlink|}}}
   |Surname2 = {{{last2|{{{surname2|{{{author2|{{{coauthor|{{{coauthors|}}}}}}}}}}}}}}}
    |then=[[{{{authorlink}}}|{{qif
  |Surname3 = {{{last3|{{{surname3|{{{author3|}}}}}}}}}
      |test={{{last|}}}
  |Surname4 = {{{last4|{{{surname4|{{{author4|}}}}}}}}}
      |then={{{last}}}{{qif
  |Surname5 = {{{last5|{{{surname5|{{{author5|}}}}}}}}}
        |test={{{first|}}}
  |Surname6 = {{{last6|{{{surname6|{{{author6|}}}}}}}}}
        |then=, {{{first}}}
  |Surname7 = {{{last7|{{{surname7|{{{author7|}}}}}}}}}
      }}
  |Surname8 = {{{last8|{{{surname8|{{{author8|}}}}}}}}}
      |else={{{author}}}
  |Surname9 = {{{last9|{{{surname9|{{{author9|}}}}}}}}}
    }}]]
  |Given1 = {{{first1|{{{given1|{{{first|{{{given|}}}}}}}}}}}}
    |else={{qif
  |Given2 = {{{first2|{{{given2|}}}}}}
      |test={{{last|}}}
  |Given3 = {{{first3|{{{given3|}}}}}}
      |then={{{last}}}{{qif
  |Given4 = {{{first4|{{{given4|}}}}}}
        |test={{{first|}}}
  |Given5 = {{{first5|{{{given5|}}}}}}
        |then=, {{{first}}}
  |Given6 = {{{first6|{{{given6|}}}}}}
      }}
  |Given7 = {{{first7|{{{given7|}}}}}}
      |else={{{author}}}
  |Given8 = {{{first8|{{{given8|}}}}}}
    }}
  |Given9 = {{{first9|{{{given9|}}}}}}
   }}
  |Authorlink1 = {{{author-link|{{{author1-link|{{{authorlink|{{{authorlink1|}}}}}}}}}}}}
}}{{qif
  |Authorlink2 = {{{author2-link|{{{authorlink2|}}}}}}
   |test={{{author|{{{last|}}}}}}
  |Authorlink3 = {{{author3-link|{{{authorlink3|}}}}}}
   |then={{qif
  |Authorlink4 = {{{author4-link|{{{authorlink4|}}}}}}
    |test={{{coauthors|}}}
   |Authorlink5 = {{{author5-link|{{{authorlink5|}}}}}}
    |then=, {{{coauthors}}}
  |Authorlink6 = {{{author6-link|{{{authorlink6|}}}}}}
  }}
   |Authorlink7 = {{{author7-link|{{{authorlink7|}}}}}}
}}{{qif
   |Authorlink8 = {{{author8-link|{{{authorlink8|}}}}}}
   |test={{{date|}}}
  |Authorlink9 = {{{author9-link|{{{authorlink9|}}}}}}
   |then=&#32;({{{date}}})
  |Year={{{year|{{    <!-- attempt to derive year from date, if possible -->
   |else={{qif
            #if: {{{date|}}}
    |test={{{year|}}}
            |{{
    |then={{qif
                #iferror:{{#time:Y|{{{date|}}} }}
      |test={{{month|}}}
                |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
      |then=&#32;({{{month}}} {{{year}}})
                |{{#time:Y|{{{date|}}} }}
      |else=&#32;({{{year}}})
              }}
    }}
            |{{{publication-date|}}} <!-- last resort -->
  }}
          }}
}}{{qif
        }}}
   |test={{{author|{{{last|{{{year|}}}}}}}}}
   |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|{{{publication-date|}}}}}}}}
   |then=.&#32;
   |Title={{{title|}}}
}}{{qif
  |URL={{{url|}}}
   |test={{{url|}}}
   |Series={{{series|{{{version|}}}}}}
   |then=[{{{url}}}
  |Periodical = {{{journal|{{{periodical|{{{magazine|{{{work|}}}}}}}}}}}}
   |else=
  |Volume = {{{volume|}}}
}} {{{title}}}{{qif
  |Issue = {{{issue|{{{number|}}}}}}
   |test={{{url|}}}
  |At = {{
   |then=]
          #if: {{{journal|{{{periodical|{{{magazine|{{{work|}}}}}}}}}}}}
   |else=
          |{{{pages|{{{page|{{{at|}}}}}}}}}
}}{{qif
          |{{
   |test={{{journal|}}}
            #if: {{{page|}}}
   |then=. ''{{{journal}}}''
            |p. {{{page}}}
}}{{qif
            |{{
   |test={{{volume|}}}
                #if: {{{pages|}}}
   |then=&#32;'''{{{volume}}}'''
                |pp. {{{pages}}}
}}{{qif
                |{{{at|}}}
   |test={{{issue|}}}
              }}
   |then=&#32;({{{issue}}})
          }}
}}{{qif
        }}
   |test={{{pages|}}}
  |IncludedWorkTitle = {{{chapter|{{{contribution|}}}}}}
   |then=<nowiki>:</nowiki> {{{pages}}}
  |IncludedWorkURL = {{{chapter-url|{{{chapterurl|{{{contribution-url|}}}}}}}}}
}}{{qif
  |Edition = {{{edition|}}}
   |test={{{id|}}}
  |Place = {{{place|{{{location|}}}}}}
   |then=. {{{id}}}
  |PublicationPlace = {{{publication-place|{{{place|{{{location|}}}}}}}}}
}}.</cite><noinclude>
  |Publisher = {{{publisher|}}}
{{esoteric}}
  |PublicationDate = {{{publication-date|}}}
[[Category:Citation templates|{{PAGENAME}}]]
   |EditorSurname1 = {{{editor-last|{{{editor-surname|{{{editor1-last|{{{editor1-surname|{{{editor|{{{editors|}}}}}}}}}}}}}}}}}}
   |EditorSurname2 = {{{editor2-last|{{{editor2-surname|}}}}}}
  |EditorSurname3 = {{{editor3-last|{{{editor3-surname|}}}}}}
  |EditorSurname4 = {{{editor4-last|{{{editor4-surname|}}}}}}
   |EditorGiven1 = {{{editor-first|{{{editor-given|{{{editor1-first|{{{editor1-given|}}}}}}}}}}}}
   |EditorGiven2={{{editor2-first|{{{editor2-given|}}}}}}
   |EditorGiven3={{{editor3-first|{{{editor3-given|}}}}}}
  |EditorGiven4={{{editor4-first|{{{editor4-given|}}}}}}
  |Editorlink1={{{editor-link|{{{editor1-link|}}}}}}
  |Editorlink2={{{editor2-link|}}}
   |Editorlink3={{{editor3-link|}}}
   |Editorlink4={{{editor4-link|}}}
   |language = {{{language|{{{in|}}}}}}
  |format = {{{format|}}}
  |ID={{{id|{{{ID|}}}}}}
   |ISBN={{{isbn|{{{ISBN|}}}}}}
   |ISSN={{{issn|{{{ISSN|}}}}}}
  |OCLC={{{oclc|{{{OCLC|}}}}}}
  |PMID={{{pmid|{{{PMID|}}}}}}
   |PMC={{{pmc|{{{PMC|}}}}}}
   |Bibcode={{{bibcode|}}}
  |DOI={{{doi|{{{DOI|}}}}}}
  |DoiBroken={{{doi_brokendate|}}}
   |AccessDate={{{access-date|{{{accessdate|}}}}}}
   |laysource = {{{laysource|}}}
  |laysummary = {{{laysummary|}}}
  |laydate = {{{laydate|}}}
   |quote = {{{quote|}}}
   |Ref={{{ref|}}}
  |Sep = {{{separator|{{{seperator|.}}}}}}
  |PS = {{{postscript|.}}}
   |msm = {{{use mixture of punctuation marks|}}}
   |amp = {{{use ampersand before last author|}}}
}}<noinclude>
{{pp-template|small=yes}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 18:13, 30 March 2009

. 

[create] Template documentation