On November 27th, 2022, the 8,000th article was added to the SuccuWiki!

Template:Cite news: Difference between revisions

From SuccuWiki - The Wiki of the Succubi
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
<includeonly>{{
{{Citation/core
#if: {{{archiveurl|}}}{{{archivedate|}}}  
|Citation class=news
  | {{#if: {{#if: {{{archiveurl|}}}| {{#if: {{{archivedate|}}} |1}}}}
 
    ||<div style="border:1px solid red; background-color:#ffdab9; display:table;">
|Surname1={{{last|{{{last1|{{{author|{{{author1|{{{authors|{{{surname|{{{surname1|}}}}}}}}}}}}}}}}}}}}}
You must specify '''''archiveurl=''''' and '''''archivedate=''' when using {{tl|cite news}}. Available parameters:
|Surname2={{{last2|{{{author2|{{{surname2|}}}}}}}}}
{{Cite news/doc/parameterlist}}
|Surname3={{{last3|{{{author3|{{{surname3|}}}}}}}}}
</div>{{
|Surname4={{{last4|{{{author4|{{{surname4|}}}}}}}}}
    #if: {{NAMESPACE}}||
|Surname5={{{last5|{{{author5|{{{surname5|}}}}}}}}}
       [[Category:Articles with broken citations]]
|Surname6={{{last6|{{{author6|{{{surname6|}}}}}}}}}
|Surname7={{{last7|{{{author7|{{{surname7|}}}}}}}}}
|Surname8={{{last8|{{{author8|{{{surname8|}}}}}}}}}
|Surname9={{{last9|{{{author9|{{{surname9|}}}}}}}}}
 
|Given1={{{first|{{{first1|{{{given|{{{given1|}}}}}}}}}}}}
|Given2={{{first2|{{{given2|}}}}}}
|Given3={{{first3|{{{given3|}}}}}}
|Given4={{{first4|{{{given4|}}}}}}
|Given5={{{first5|{{{given5|}}}}}}
|Given6={{{first6|{{{given6|}}}}}}
|Given7={{{first7|{{{given7|}}}}}}
|Given8={{{first8|{{{given8|}}}}}}
|Given9={{{first9|{{{given9|}}}}}}
 
|Authorlink1={{{authorlink|{{{authorlink1|{{{author-link|{{{author1-link|}}}}}}}}}}}}
|Authorlink2={{{authorlink2|{{{author2-link|}}}}}}
|Authorlink3={{{authorlink3|{{{author3-link|}}}}}}
|Authorlink4={{{authorlink4|{{{author4-link|}}}}}}
|Authorlink5={{{authorlink5|{{{author5-link|}}}}}}
|Authorlink6={{{authorlink6|{{{author6-link|}}}}}}
|Authorlink7={{{authorlink7|{{{author7-link|}}}}}}
|Authorlink8={{{authorlink8|{{{author8-link|}}}}}}
|Authorlink9={{{authorlink9|{{{author9-link|}}}}}}
 
|Coauthors={{{coauthors|{{{coauthor|}}}}}}
 
|Year={{{year|{{    <!-- attempt to derive year from date, if possible -->
          #if: {{{date|}}}
          |{{
              #iferror:{{#time:Y|{{{date|}}} }}
              |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
              |{{#time:Y|{{{date|}}} }}
            }}
          |{{{publication-date|}}} <!-- last resort -->
        }}
      }}}
|YearNote={{{origyear|}}}
|Date={{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|{{{publication-date|}}}}}}}}
 
|Title={{#if:{{{journal|{{{periodical|{{{newspaper|{{{magazine|{{{work|}}}}}}}}}}}}}}}|{{{title|}}}}}
|TransTitle={{{trans_title|}}}
|IncludedWorkTitle={{#if:{{{work|{{{journal|{{{newspaper|{{{magazine|{{{periodical|}}}}}}}}}}}}}}}||{{{title|}}}}}
|language={{{language|}}}
 
|URL={{#if:{{{archiveurl|}}}
      |{{#ifeq: {{{deadurl|}}} | no | {{{url|}}} | {{{archiveurl|}}}}}
      |{{{url|}}}
    }}
|IncludedWorkURL={{{chapter-url|{{{chapterurl|{{{contribution-url|}}}}}}}}}
|AccessDate={{{accessdate|}}}
|OriginalURL={{{url|}}}
|ArchiveURL={{{archiveurl|}}}
|ArchiveDate={{{archivedate|}}}
|DeadURL={{{deadurl|}}}
|format={{{format|}}}
 
|Periodical={{{work|{{{journal|{{{newspaper|{{{magazine|{{{periodical|}}}}}}}}}}}}}}}
|Issue={{{issue|{{{number|}}}}}}
|TitleNote={{{department|}}}
 
|At={{#if: {{{page|}}}|{{#if:{{{nopp|}}}||p.&nbsp;}}{{{page}}}
       |{{#if: {{{pages|}}}|{{#if:{{{nopp|}}}||pp.&nbsp;}}{{{pages}}}
      |{{{at|}}}}}
     }}
     }}
}}
}}{{#if: {{{title|}}}
  |{{#if: {{{author|}}}{{{last|}}}
    | {{#if: {{{authorlink|}}}
      | [[{{{authorlink}}}|{{#if: {{{last|}}}
        | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
        | {{{author}}}
      }}]]
      | {{#if: {{{last|}}}
        | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
        | {{{author}}}
      }}
    }}
  }}{{#if: {{{author|}}}{{{last|}}}
    | {{#if: {{{coauthors|}}} | &#59;&#32;{{{coauthors}}} }}.&#32;
  }}{{#if: {{{curly|}}}|“|"
  }}{{#if: {{{archiveurl|}}}
    | [{{{archiveurl}}} {{{title}}}]
    | {{#if: {{{url|}}}
      | [{{{url}}} {{{title}}}]
      | {{{title}}}
    }}
  }}{{#if: {{{curly|}}}|”|"}}{{#if: {{{format|}}} | &#32;({{{format}}})
    }}{{#if: {{{work|}}}
    | , ''{{{work}}}''}}{{#if: {{{publisher|}}}
    | , {{#if: {{{location|}}} |{{{location}}}:&#32;}}{{{publisher}}}
  }}{{#if: {{{date|}}}
    | , {{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|[[{{{date}}}]]|{{{date}}}}}
  }}{{#if: {{{pages|}}}
    | , pp.&nbsp;{{{pages}}}
    |{{#if: {{{page|}}}
      | , p.&nbsp;{{{page}}}
    }}
  }}{{#if: {{{id|}}}
    | . {{{id}}}
  }}{{#if: {{{accessdate|}}} 
  | .&#32;Retrieved on [[{{{accessdate}}}]]
  }}.{{#if: {{{language|}}}
  | &#32;<span style="color:#555;">({{{language}}})</span>
  }}{{#if: {{{archivedate|}}}
  | &#32;Archived from [{{{url}}} the original] on [[{{{archivedate}}}]].
  }}{{ #if: {{{quote|}}}
    | &nbsp;"{{{quote}}}"
  }}|Template error: argument '''title''' is required.}}<!--


This is a COinS tag (http://ocoins.info), which allows automated tools to parse the citation information:
|Edition={{{edition|}}}
  --><span class="Z3988" title="ctx_ver=Z39.88-2004<!--
|Series={{{agency|}}}
  -->&rft_val_fmt={{urlencode:info:ofi/fmt:kev:mtx:dc}}<!--                    Field descriptions: http://www.openurl.info/registry/docs/mtx/info:ofi/fmt:kev:mtx:dc
|Volume={{{volume|}}}
  -->&rft.type=newspaperArticle<!--                                            The nature or genre of the content of the resource.  (newspaperArticle chosen purely because it is recognized by Zotero.)
 
  -->&rft.subject=News<!--                                                      A topic of the content of the resource. Typically expressed as keywords, key phrases or classification codes...
|Publisher={{{publisher|}}}
  -->{{#if: {{{first|}}}     | &rft.aufirst={{urlencode:{{{first}}}}}       }}<!-- First author's given name or names or initials... may contain multiple words and punctuation, i.e. "Fred F", "Fred James"
|Place={{{location|{{{place|}}}}}}
  -->{{#if: {{{last|}}}     | &rft.aulast={{urlencode:{{{last}}}}}         }}<!-- First author's family name. This may be more than one word ... i.e. Smith, Fred James is recorded as "aulast=smith"
|PublicationPlace={{{location|{{{place|{{{publication-place|}}}}}}}}}
  -->{{#if: {{{author|}}}   | &rft.au={{urlencode:{{{author}}}}}           }}<!-- This data element contains the full name of a single author, i. e. "Smith, Fred M", "Harry S. Truman".
|PublicationDate={{{publication-date|}}}
  -->&rft.title={{urlencode:{{{title|}}}}}<!--                                    A name given to the resource.
 
  -->{{#if: {{{url|}}}       | &rft.identifier={{urlencode:{{{url}}}}}     }}<!-- URL
|ARXIV={{{arxiv|}}}
  -->{{#if: {{{format|}}}   | &rft.format={{urlencode:{{{format}}}}}       }}<!-- The physical or digital manifestation of the resource... may include the media-type or dimensions of the resource.
|ASIN={{{asin|{{{ASIN|}}}}}}
  -->{{#if: {{{work|}}}     | &rft.source={{urlencode:{{{work}}}}}         }}<!-- A Reference to a resource from which the present resource is derived.
|ASIN-TLD={{{asin-tld|}}}
  -->{{#if: {{{publisher|}}} | &rft.publisher={{urlencode:{{{publisher}}}}} }}<!-- An entity responsible for making the resource available... person, an organization, or a service.
|BIBCODE={{{bibcode|}}}
  -->{{#if: {{{pages|}}}     | &rft.pages={{urlencode:{{{pages}}}}}         }}<!-- Start and end pages for parts (of a book), i.e. "124-147"
|DOI={{{doi|{{{DOI|}}}}}}
  -->{{#if: {{{page|}}}     | &rft.spage={{urlencode:{{{page}}}}}         }}<!-- Start page for parts (of a book), i.e. "124"
|DoiBroken={{{doi_brokendate|{{{doi_inactivedate|}}}}}}
  -->{{#if: {{{date|}}}     | &rft.date={{urlencode:{{{date}}}}}           }}<!-- A date of an event in the lifecycle of the resource... typically the creation or availability of the resource. (ISO 8601)
|ISBN={{{isbn|{{{ISBN|}}}}}}
  -->{{#if: {{{language|}}} | &rft.language={{urlencode:{{{language}}}}}   }}<!-- A language of the intellectual content of the resource. Recommended best practice is to use RFC 3066... in conjunction with ISO639
|ISSN={{{issn|{{{ISSN|}}}}}}
  -->">&nbsp;</span><noinclude>
|JFM={{{jfm|{{{JFM|}}}}}}
{{pp-template|small=yes}}
|JSTOR={{{jstor|{{{JSTOR|}}}}}}
|LCCN={{{lccn|{{{LCCN|}}}}}}
|MR={{{mr|{{{MR|}}}}}}
|OCLC={{{oclc|{{{OCLC|}}}}}}
|OL={{{ol|{{{OL|}}}}}}
|OSTI={{{osti|{{{OSTI|}}}}}}
|PMC={{{pmc|{{{PMC|}}}}}}
|PMID={{{pmid|{{{PMID|}}}}}}
|RFC={{{rfc|{{{RFC|}}}}}}
|SSRN={{{ssrn|{{{SSRN|}}}}}}
|ZBL={{{zbl|}}}
|ID={{{id|{{{ID|}}}}}}
 
|laysummary={{{laysummary|}}}
|laydate={{{laydate|}}}
|laysource={{{laysource|}}}
 
|quote={{{quote|}}}
 
|Ref={{{ref|}}}
 
|amp={{{lastauthoramp|}}}
|AuthorMask={{{author-mask|{{{authormask|}}}}}}
|AuthorSep={{#ifeq:{{{author-separator|}}}|;|&#059;|{{{author-separator|&#059;}}}}}&#32;
|NameSep={{{author-name-separator|,}}}&#32;
|PS={{#if:{{{quote|}}}||{{{postscript|.}}}}}
|Sep={{#ifeq:{{{separator|{{{seperator}}} }}}|;|&#059;|{{{separator|{{{seperator|.}}} }}} }}
|template doc demo={{{template doc demo|}}}
|Trunc={{#if:{{{display-authors|}}}|{{{display-authors}}}|8}}
}}{{#if:{{{access-date|}}}{{{accessdaymonth|}}}{{{accessday|}}}{{{accessmonthday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{dateformat|}}}{{{day|}}}{{{doilabel|}}}
|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}}<noinclude>
</noinclude>
</noinclude>
<includeonly>

Latest revision as of 16:39, 13 October 2012

.