Jump to content

Template:Cite journal: Difference between revisions

From IdeaWazaWiki
wikademia>Kaldari
Fixing access date. The way it was implemented actually prevented date formatting preferences from working. See talk for explanation.
wikademia>Wikademia
m 6 revisions
 
(79 intermediate revisions by 33 users not shown)
Line 1: Line 1:
<cite style="font-style:normal">{{#if:{{{author|}}}{{{last|}}}
{{Citation/core
   |{{#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|}}}
  |Surname9 = {{{last9|{{{surname9|{{{author9|}}}}}}}}}
      |{{{last}}}{{#if:
  |Given1 = {{{first1|{{{given1|{{{first|{{{given|}}}}}}}}}}}}
        {{{first|}}}
  |Given2 = {{{first2|{{{given2|}}}}}}
        |, {{{first}}}
  |Given3 = {{{first3|{{{given3|}}}}}}
      }}
  |Given4 = {{{first4|{{{given4|}}}}}}
      |{{{author}}}
  |Given5 = {{{first5|{{{given5|}}}}}}
    }}
  |Given6 = {{{first6|{{{given6|}}}}}}
   }}
  |Given7 = {{{first7|{{{given7|}}}}}}
}}{{#if:{{{author|}}}{{{last|}}}
  |Given8 = {{{first8|{{{given8|}}}}}}
   |{{#if:{{{coauthors|}}}
  |Given9 = {{{first9|{{{given9|}}}}}}
    |, {{{coauthors}}}
  |Authorlink1 = {{{author-link|{{{author1-link|{{{authorlink|{{{authorlink1|}}}}}}}}}}}}
   }}
   |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:{{{author|}}}{{{last|}}}{{{year|}}}
            #if: {{{date|}}}
   |.&#32;
            |{{
}}{{#ifeq:{{{quotes|}}}  
                #iferror:{{#time:Y|{{{date|}}} }}
| no
                |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
|  
                |{{#time:Y|{{{date|}}} }}
| {{#if: {{{curly|}}}|“|"}}  
              }}
}}{{#if:{{{url|}}}
            |{{{publication-date|}}} <!-- last resort -->
  |[{{{url}}} {{{title}}}]
          }}
   |{{{title}}}
        }}}
}}{{#ifeq:{{{quotes|}}}  
  |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|{{{publication-date|}}}}}}}}
| no
   |Title={{{title|}}}
|  
  |URL={{{url|}}}
| {{#if: {{{curly|}}}|”|"}}  
  |Series={{{series|{{{version|}}}}}}
}}{{#if: {{{format|}}}
  |Periodical = {{{journal|{{{periodical|{{{magazine|{{{work|}}}}}}}}}}}}
   | &#32;({{{format}}})
  |Volume = {{{volume|}}}
}}{{#if:{{{journal|}}}
  |Issue = {{{issue|{{{number|}}}}}}
   |. ''{{{journal}}}''
  |At = {{
}}{{#if:{{{volume|}}}
          #if: {{{journal|{{{periodical|{{{magazine|{{{work|}}}}}}}}}}}}
   |&#32;'''{{{volume}}}'''
          |{{{pages|{{{page|{{{at|}}}}}}}}}
}}{{#if:{{{issue|}}}
          |{{
   |&#32;({{{issue}}})
            #if: {{{page|}}}
}}{{#if:{{{pages|}}}
            |p. {{{page}}}
   |<nowiki>:</nowiki> {{{pages}}}
            |{{
}}{{#if: {{{doi|}}}  
                #if: {{{pages|}}}
   | . [[Digital object identifier|DOI]]:[http://dx.doi.org/{{{doi}}} {{{doi}}}]
                |pp. {{{pages}}}
}}{{#if:{{{id|}}}
                |{{{at|}}}
   |. {{{id}}}
              }}
}}{{#if:{{{accessdate|}}}
          }}
   |. Retrieved on {{{accessdate}}}
        }}
}}.</cite><noinclude>
   |IncludedWorkTitle = {{{chapter|{{{contribution|}}}}}}
 
  |IncludedWorkURL = {{{chapter-url|{{{chapterurl|{{{contribution-url|}}}}}}}}}
{{esoteric}}
  |Edition = {{{edition|}}}
 
  |Place = {{{place|{{{location|}}}}}}
See the [[Template talk:Cite journal|talk page]] for documentation on how to use this template.
  |PublicationPlace = {{{publication-place|{{{place|{{{location|}}}}}}}}}
 
  |Publisher = {{{publisher|}}}
[[Category:Citation templates|{{PAGENAME}}]]
  |PublicationDate = {{{publication-date|}}}
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
  |EditorSurname1 = {{{editor-last|{{{editor-surname|{{{editor1-last|{{{editor1-surname|{{{editor|{{{editors|}}}}}}}}}}}}}}}}}}
 
   |EditorSurname2 = {{{editor2-last|{{{editor2-surname|}}}}}}
[[bg:Шаблон:Cite journal]]
  |EditorSurname3 = {{{editor3-last|{{{editor3-surname|}}}}}}
[[cs:Šablona:Citace časopisu]]
  |EditorSurname4 = {{{editor4-last|{{{editor4-surname|}}}}}}
[[de:Vorlage:Cite journal]]
   |EditorGiven1 = {{{editor-first|{{{editor-given|{{{editor1-first|{{{editor1-given|}}}}}}}}}}}}
[[ru:Шаблон:Статья]]
  |EditorGiven2={{{editor2-first|{{{editor2-given|}}}}}}
[[vi:Tiêu bản:Chú thích tạp chí]]
  |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