Jump to content

Template:Cite journal: Difference between revisions

From IdeaWazaWiki
wikademia>Suruena
Full-stop added at the end; Optional parameters notice copied from Template:Book reference
wikademia>Wikademia
m 6 revisions
 
(148 intermediate revisions by 63 users not shown)
Line 1: Line 1:
<cite style="font-style:normal" {{if
{{Citation/core
   |1={{{Ref|}}}
  |Citation type=Journal
   |2={{ifnone
  |Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|{{{author|}}}}}}}}}}}}}}}}}}}}}}}}
      |1={{{Ref}}}
  |Surname2 = {{{last2|{{{surname2|{{{author2|{{{coauthor|{{{coauthors|}}}}}}}}}}}}}}}
      |2=
  |Surname3 = {{{last3|{{{surname3|{{{author3|}}}}}}}}}
      |3=id="{{{Ref}}}"
  |Surname4 = {{{last4|{{{surname4|{{{author4|}}}}}}}}}
    }}
  |Surname5 = {{{last5|{{{surname5|{{{author5|}}}}}}}}}
   |3={{if
  |Surname6 = {{{last6|{{{surname6|{{{author6|}}}}}}}}}
      |1={{{Last|}}}
  |Surname7 = {{{last7|{{{surname7|{{{author7|}}}}}}}}}
      |2={{if
  |Surname8 = {{{last8|{{{surname8|{{{author8|}}}}}}}}}
            |1={{{Year|}}}
   |Surname9 = {{{last9|{{{surname9|{{{author9|}}}}}}}}}
            |2=id="Reference-{{{Last}}}-{{{Year}}}"
   |Given1 = {{{first1|{{{given1|{{{first|{{{given|}}}}}}}}}}}}
          }}
  |Given2 = {{{first2|{{{given2|}}}}}}
    }}
  |Given3 = {{{first3|{{{given3|}}}}}}
}}>{{if
  |Given4 = {{{first4|{{{given4|}}}}}}
   |{{{Authorlink|}}}
  |Given5 = {{{first5|{{{given5|}}}}}}
   |{{wikilink
  |Given6 = {{{first6|{{{given6|}}}}}}
    |{{{Authorlink}}}
   |Given7 = {{{first7|{{{given7|}}}}}}
    |{{{Author|{{{Last|}}}{{if|{{{First|}}}|, {{{First}}}}}}}}
  |Given8 = {{{first8|{{{given8|}}}}}}
  }}
  |Given9 = {{{first9|{{{given9|}}}}}}
   |{{{Author|{{{Last|}}}{{if|{{{First|}}}|, {{{First}}}}}}}}
  |Authorlink1 = {{{author-link|{{{author1-link|{{{authorlink|{{{authorlink1|}}}}}}}}}}}}
}}{{if
  |Authorlink2 = {{{author2-link|{{{authorlink2|}}}}}}
   |{{{Date|}}}
  |Authorlink3 = {{{author3-link|{{{authorlink3|}}}}}}
   |&#32;({{{Date}}})
  |Authorlink4 = {{{author4-link|{{{authorlink4|}}}}}}
   |{{if
  |Authorlink5 = {{{author5-link|{{{authorlink5|}}}}}}
    |{{{Year|}}}
  |Authorlink6 = {{{author6-link|{{{authorlink6|}}}}}}
    |{{if
  |Authorlink7 = {{{author7-link|{{{authorlink7|}}}}}}
      |{{{Month|}}}
  |Authorlink8 = {{{author8-link|{{{authorlink8|}}}}}}
      |&#32;({{{Month}}} {{{Year}}})
   |Authorlink9 = {{{author9-link|{{{authorlink9|}}}}}}
      |&#32;({{{Year}}})
   |Year={{{year|{{    <!-- attempt to derive year from date, if possible -->
    }}
            #if: {{{date|}}}
  }}
            |{{
}}{{if
                #iferror:{{#time:Y|{{{date|}}} }}
   |{{{Author|{{{Last|{{{Year|}}}}}}}}}
                |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
   |.&#32;
                |{{#time:Y|{{{date|}}} }}
}}{{if
              }}
   |1={{{URL|}}}
            |{{{publication-date|}}} <!-- last resort -->
   |2=[{{{URL}}}
          }}
   |3=
        }}}
}} {{{Title}}}{{if
   |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|{{{publication-date|}}}}}}}}
   |1={{{URL|}}}
  |Title={{{title|}}}
   |2=]
  |URL={{{url|}}}
   |3=
   |Series={{{series|{{{version|}}}}}}
}}{{if
   |Periodical = {{{journal|{{{periodical|{{{magazine|{{{work|}}}}}}}}}}}}
   |{{{Journal|}}}
   |Volume = {{{volume|}}}
   |, ''{{{Journal}}}''
  |Issue = {{{issue|{{{number|}}}}}}
}}{{if
  |At = {{
   |{{{Volume|}}}
          #if: {{{journal|{{{periodical|{{{magazine|{{{work|}}}}}}}}}}}}
   |, {{{Volume}}}
          |{{{pages|{{{page|{{{at|}}}}}}}}}
}}{{if
          |{{
   |{{{Issue|}}}
            #if: {{{page|}}}
   |({{{Issue}}})
            |p. {{{page}}}
}}{{if
            |{{
   |{{{Pages|}}}
                #if: {{{pages|}}}
   |<nowiki>:</nowiki> {{{Pages}}}
                |pp. {{{pages}}}
}}.</cite><noinclude>
                |{{{at|}}}
{{notice|This template has several '''''optional''''' parameters: see [[Template talk:Journal reference#Usage|the talk page]] for details.
              }}
----
          }}
This template employs some extremely complicated and esoteric features of template syntax.
        }}
Please do not attempt to alter it unless you are certain you understand what is going on '''and''' are prepared to repair any consequent collateral damage if it all goes terribly wrong.}}
  |IncludedWorkTitle = {{{chapter|{{{contribution|}}}}}}
  |IncludedWorkURL = {{{chapter-url|{{{chapterurl|{{{contribution-url|}}}}}}}}}
  |Edition = {{{edition|}}}
  |Place = {{{place|{{{location|}}}}}}
   |PublicationPlace = {{{publication-place|{{{place|{{{location|}}}}}}}}}
   |Publisher = {{{publisher|}}}
  |PublicationDate = {{{publication-date|}}}
  |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