Difference between revisions of "Template:Cite journal"

From Self-sufficiency
Jump to: navigation, search
m (1 revision)
(add pipe (facepalm))
Line 1: Line 1:
<includeonly>{{Citation/core
+
{{Citation/core
 
   |Citation type=Journal
 
   |Citation type=Journal
 
   |AuthorMask = {{{author-mask|{{{authormask|}}}}}}
 
   |AuthorMask = {{{author-mask|{{{authormask|}}}}}}
Line 43: Line 43:
 
   |Title={{{title|}}}
 
   |Title={{{title|}}}
 
   |TransTitle={{{trans_title|}}}
 
   |TransTitle={{{trans_title|}}}
   |URL={{#if:{{{archiveurl|}}}|{{{archiveurl}}}|{{{url|}}}}}  
+
   |URL={{#if:{{{archiveurl|}}}
 +
        |{{#ifeq: {{{deadurl|}}} | no | {{{url|}}} | {{{archiveurl|}}} }}
 +
        |{{#if:{{{url|}}}
 +
          |{{{url}}}
 +
          |{{#if:{{{pmc|{{{PMC|}}}}}}
 +
            |{{#ifexpr:{{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }}
 +
              |{{hide in print|1=http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{pmc|{{{PMC|}}}}}}}}
 +
            }}
 +
          }}
 +
        }}
 +
      }}
 
   |Series={{{series|{{{version|}}}}}}
 
   |Series={{{series|{{{version|}}}}}}
 
   |Periodical = {{{journal|{{{periodical|{{{magazine|{{{work|}}}}}}}}}}}}
 
   |Periodical = {{{journal|{{{periodical|{{{magazine|{{{work|}}}}}}}}}}}}
Line 83: Line 93:
 
   |language = {{{language|{{{in|}}}}}}
 
   |language = {{{language|{{{in|}}}}}}
 
   |format = {{{format|}}}
 
   |format = {{{format|}}}
   |ID={{{id|{{{ID|}}}}}}
+
   |ARXIV={{{arxiv|}}}
 +
  |ASIN={{{asin|{{{ASIN|}}}}}}
 +
  |BIBCODE={{{bibcode|}}}
 +
  |DOI={{{doi|{{{DOI|}}}}}}
 +
  |DoiBroken={{{doi_inactivedate|{{{doi_brokendate|}}}}}}
 
   |ISBN={{{isbn|{{{ISBN|}}}}}}
 
   |ISBN={{{isbn|{{{ISBN|}}}}}}
 
   |ISSN={{{issn|{{{ISSN|}}}}}}
 
   |ISSN={{{issn|{{{ISSN|}}}}}}
 +
  |JFM={{{jfm|{{{JFM|}}}}}}
 +
  |JSTOR={{{jstor|{{{JSTOR|}}}}}}
 +
  |LCCN={{{lccn|{{{LCCN|}}}}}}
 +
  |MR={{{mr|{{{MR|}}}}}}
 
   |OCLC={{{oclc|{{{OCLC|}}}}}}
 
   |OCLC={{{oclc|{{{OCLC|}}}}}}
   |PMID={{{pmid|{{{PMID|}}}}}}
+
   |OL={{{ol|{{{OL|}}}}}}
 +
  |OSTI={{{osti|{{{OSTI|}}}}}}
 
   |PMC={{{pmc|{{{PMC|}}}}}}
 
   |PMC={{{pmc|{{{PMC|}}}}}}
 
   |Embargo={{{pmc-embargo-date|1010-10-10}}}
 
   |Embargo={{{pmc-embargo-date|1010-10-10}}}
   |Bibcode={{{bibcode|}}}
+
   |PMID={{{pmid|{{{PMID|}}}}}}
   |DOI={{{doi|{{{DOI|}}}}}}
+
   |RFC={{{rfc|{{{RFC|}}}}}}
   |DoiBroken={{{doi_inactivedate|{{{doi_brokendate|}}}}}}
+
   |SSRN={{{ssrn|{{{SSRN|}}}}}}
 +
  |ZBL={{{zbl|}}}
 +
  |ID={{{id|{{{ID|}}}}}}
 
   |AccessDate={{{access-date|{{{accessdate|}}}}}}
 
   |AccessDate={{{access-date|{{{accessdate|}}}}}}
 
   |OriginalURL={{{url|}}}
 
   |OriginalURL={{{url|}}}
 
   |ArchiveURL={{{archiveurl|}}}
 
   |ArchiveURL={{{archiveurl|}}}
 
   |ArchiveDate={{{archivedate|}}}
 
   |ArchiveDate={{{archivedate|}}}
 +
  |DeadURL = {{{deadurl|}}}
 
   |laysource = {{{laysource|}}}
 
   |laysource = {{{laysource|}}}
 
   |laysummary = {{{laysummary|}}}
 
   |laysummary = {{{laysummary|}}}
Line 103: Line 125:
 
   |Ref={{{ref|}}}
 
   |Ref={{{ref|}}}
 
   |Sep = {{#ifeq:{{{separator|{{{seperator}}} }}}|;|&#059;|{{{separator|{{{seperator|.}}} }}} }}
 
   |Sep = {{#ifeq:{{{separator|{{{seperator}}} }}}|;|&#059;|{{{separator|{{{seperator|.}}} }}} }}
   |PS = {{{postscript|.}}}
+
   |PS = {{#if:{{{quote|}}}||{{{postscript|.}}}}}
 
   |AuthorSep = {{#ifeq:{{{author-separator|}}}|;|&#059;|{{{author-separator|&#059;}}}}}&#32;
 
   |AuthorSep = {{#ifeq:{{{author-separator|}}}|;|&#059;|{{{author-separator|&#059;}}}}}&#32;
 
   |NameSep = {{{author-name-separator|,}}}&#32;
 
   |NameSep = {{{author-name-separator|,}}}&#32;
 
   |Trunc = {{#if:{{{display-authors|}}}|{{{display-authors}}}|8}}
 
   |Trunc = {{#if:{{{display-authors|}}}|{{{display-authors}}}|8}}
   |amp = {{{use ampersand before last author|}}}
+
   |amp = {{#if:{{{use ampersand before last author|}}}|{{{use ampersand before last author|}}}|{{{lastauthoramp|}}}}}
}}{{#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:{{{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}}]]}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 19:27, 11 October 2011

.