Difference between revisions of "Template:Cite news"

From Self-sufficiency
Jump to: navigation, search
m (1 revision)
(Adding support for Authormask as per editrequest)
Line 1: Line 1:
<includeonly>{{Citation/core
+
{{Citation/core
  |Citation class=news
+
  |Citation class=news
  |Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|{{{author|}}}}}}}}}}}}}}}}}}}}}}}}
+
  |AuthorMask = {{{authormask|{{{author-mask|}}}}}}
 +
  |Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|{{{author|}}}}}}}}}}}}}}}}}}}}}}}}
 
   |Surname2 = {{{last2|{{{surname2|{{{author2|}}}}}}}}}  
 
   |Surname2 = {{{last2|{{{surname2|{{{author2|}}}}}}}}}  
 
   |Surname3 = {{{last3|{{{surname3|{{{author3|}}}}}}}}}
 
   |Surname3 = {{{last3|{{{surname3|{{{author3|}}}}}}}}}
Line 43: Line 44:
 
   |Title={{#if:{{{journal|{{{periodical|{{{newspaper|{{{magazine|{{{work|}}}}}}}}}}}}}}}|{{{title|}}}}}
 
   |Title={{#if:{{{journal|{{{periodical|{{{newspaper|{{{magazine|{{{work|}}}}}}}}}}}}}}}|{{{title|}}}}}
 
   |TransTitle={{{trans_title|}}}
 
   |TransTitle={{{trans_title|}}}
   |URL={{#if:{{{archiveurl|}}}|{{{archiveurl}}}|{{{url|}}}}}
+
   |URL= {{#if:{{{archiveurl|}}}
 +
          |{{#ifeq: {{{deadurl|}}} | no | {{{url|}}} | {{{archiveurl|}}} }}
 +
          |{{{url|}}}
 +
        }}
 
   |Series={{{agency|}}}
 
   |Series={{{agency|}}}
 
   |Periodical = {{{journal|{{{periodical|{{{newspaper|{{{magazine|{{{work|}}}}}}}}}}}}}}}
 
   |Periodical = {{{journal|{{{periodical|{{{newspaper|{{{magazine|{{{work|}}}}}}}}}}}}}}}
Line 66: Line 70:
 
   |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|}}}}}}
   |Bibcode={{{bibcode|}}}
+
   |Embargo={{{pmc-embargo-date|1010-10-10}}}
   |DOI={{{doi|{{{DOI|}}}}}}
+
   |PMID={{{pmid|{{{PMID|}}}}}}
 +
  |RFC={{{rfc|{{{RFC|}}}}}}
 +
  |SSRN={{{ssrn|{{{SSRN|}}}}}}
 +
  |ZBL={{{zbl|}}}
 +
  |ID={{{id|{{{ID|}}}}}}
 
   |AccessDate={{#if:{{{accessdate|}}}|{{{accessdate}}}
 
   |AccessDate={{#if:{{{accessdate|}}}|{{{accessdate}}}
 
     |{{{accessday|}}} {{{accessmonth|}}} {{{accessyear|}}} }}
 
     |{{{accessday|}}} {{{accessmonth|}}} {{{accessyear|}}} }}
Line 81: Line 98:
 
   |PS={{#if:{{{quote|}}}||{{{postscript|.}}}}}  
 
   |PS={{#if:{{{quote|}}}||{{{postscript|.}}}}}  
 
   |Ref={{{ref|}}}
 
   |Ref={{{ref|}}}
   |Sep = {{#ifeq:{{{separator|{{{seperator}}} }}}|;|&#059;|{{{separator|{{{seperator|.}}} }}} }}
+
   |Sep = {{#ifeq:{{{separator|{{{seperator}}} }}}|;|&#059;|{{{separator|{{{seperator|.}}} }}} }}
 
   |ArchiveDate={{{archivedate|}}}
 
   |ArchiveDate={{{archivedate|}}}
   |OriginalURL={{{url|}}}|ArchiveURL={{{archiveurl|}}}
+
  |DeadURL = {{{deadurl|}}}
}}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}{{{access-date|}}}{{{dateformat|}}}|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}}</includeonly><noinclude>
+
   |OriginalURL={{{url|}}}
 +
  |ArchiveURL={{{archiveurl|}}}
 +
  |template doc demo={{{template doc demo|}}}
 +
}}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}{{{access-date|}}}{{{dateformat|}}}|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 11:50, 7 November 2011

.