Still working to recover. Please don't edit quite yet.

Difference between revisions of "Template:cite news"

From Anarchopedia
Jump to: navigation, search
(from Wikipedia)
 
(Test)
Line 1: Line 1:
<includeonly>{{#if: {{{title|}}}
+
<includeonly>{{Citation/core
   |{{#if: {{{author|}}}{{{last|}}}
+
  |Citation class=news
    | {{#if: {{{authorlink|}}}
+
  |Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|{{{author|}}}}}}}}}}}}}}}}}}}}}}}}
      | [[{{{authorlink}}}|{{#if: {{{last|}}}
+
   |Surname2 = {{{last2|{{{surname2|{{{author2|}}}}}}}}}
        | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
+
  |Surname3 = {{{last3|{{{surname3|{{{author3|}}}}}}}}}
        | {{{author}}}
+
  |Surname4 = {{{last4|{{{surname4|{{{author4|}}}}}}}}}
      }}]]
+
  |Surname5 = {{{last5|{{{surname5|{{{author5|}}}}}}}}}
      | {{#if: {{{last|}}}
+
  |Surname6 = {{{last6|{{{surname6|{{{author6|}}}}}}}}}
        | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
+
  |Surname7 = {{{last7|{{{surname7|{{{author7|}}}}}}}}}
        | {{{author}}}
+
  |Surname8 = {{{last8|{{{surname8|{{{author8|}}}}}}}}}
      }}
+
  |Surname9 = {{{last9|{{{surname9|{{{author9|}}}}}}}}}
    }}
+
  |Given1 = {{{first1|{{{given1|{{{first|{{{given|}}}}}}}}}}}}
   }}{{#if: {{{author|}}}{{{last|}}}
+
  |Given2 = {{{first2|{{{given2|}}}}}}
    | {{#if: {{{coauthors|}}} | ,&#32;{{{coauthors}}} }}.&#32;
+
  |Given3 = {{{first3|{{{given3|}}}}}}
   }}{{#if: {{{curly|}}}|“|"}}{{#if: {{{url|}}}
+
  |Given4 = {{{first4|{{{given4|}}}}}}
  | [{{{url}}} {{{title}}}]
+
  |Given5 = {{{first5|{{{given5|}}}}}}
  | {{{title}}}
+
  |Given6 = {{{first6|{{{given6|}}}}}}
   }}{{#if: {{{curly|}}}|”|"}}{{#if: {{{format|}}} | &#32;({{{format}}})
+
  |Given7 = {{{first7|{{{given7|}}}}}}
    }}{{#if: {{{work|}}}
+
  |Given8 = {{{first8|{{{given8|}}}}}}
    | , ''{{{work}}}''}}{{#if: {{{publisher|}}}
+
  |Given9 = {{{first9|{{{given9|}}}}}}
    | , ''{{{publisher}}}''
+
  |Authorlink1 = {{{author-link|{{{author1-link|{{{authorlink|{{{authorlink1|}}}}}}}}}}}}
   }}{{#if: {{{date|}}}
+
  |Authorlink2 = {{{author2-link|{{{authorlink2|}}}}}}
    | , {{{date}}}
+
  |Authorlink3 = {{{author3-link|{{{authorlink3|}}}}}}
   }}{{#if: {{{pages|}}}
+
   |Authorlink4 = {{{author4-link|{{{authorlink4|}}}}}}
    | , pp.&nbsp;{{{pages}}}
+
  |Authorlink5 = {{{author5-link|{{{authorlink5|}}}}}}
    |{{#if: {{{page|}}}
+
  |Authorlink6 = {{{author6-link|{{{authorlink6|}}}}}}
      | , p.&nbsp;{{{page}}}
+
  |Authorlink7 = {{{author7-link|{{{authorlink7|}}}}}}
    }}
+
  |Authorlink8 = {{{author8-link|{{{authorlink8|}}}}}}
   }}{{#if: {{{accessdate|}}}
+
  |Authorlink9 = {{{author9-link|{{{authorlink9|}}}}}}
   | .&#32;Retrieved on [[{{{accessdate}}}]]
+
  |Coauthors = {{{coauthor|{{{coauthors|}}}}}}
   }}.{{#if: {{{language|}}}
+
  |Year={{{year|{{    <!-- attempt to derive year from date, if possible -->
   | &#32;(in {{{language|}}})
+
            #if: {{{date|}}}
   }}|Template error: argument '''title''' is required.}}</includeonly><noinclude>
+
            |{{
{{wikipedia}}
+
                #iferror:{{#time:Y|{{{date|}}} }}
 +
                |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
 +
                |{{#time:Y|{{{date|}}} }}
 +
              }}
 +
            |{{{publication-date|}}} <!-- last resort -->
 +
          }}
 +
        }}}
 +
   |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|{{{publication-date|}}}}}}}}
 +
  |DateFormat = {{{dateformat|}}}
 +
  |Title={{#if:{{{journal|{{{periodical|{{{newspaper|{{{magazine|{{{work|}}}}}}}}}}}}}}}|{{{title|}}}}}
 +
  |TransTitle={{{trans_title|}}}
 +
  |URL={{#if:{{{archiveurl|}}}|{{{archiveurl}}}|{{{url|}}}}}
 +
  |Series={{{agency|}}}
 +
  |Periodical = {{{journal|{{{periodical|{{{newspaper|{{{magazine|{{{work|}}}}}}}}}}}}}}}
 +
  |Volume = {{{volume|}}}
 +
   |Issue = {{{issue|{{{number|}}}}}}
 +
  |At = {{
 +
          #if: {{{page|}}}
 +
          |p.&nbsp;{{{page}}}
 +
          |{{
 +
              #if: {{{pages|}}}
 +
              |pp.&nbsp;{{{pages}}}
 +
              |{{{at|}}}
 +
            }}
 +
        }}
 +
  |IncludedWorkTitle = {{#if:{{{journal|{{{periodical|{{{newspaper|{{{magazine|{{{work|}}}}}}}}}}}}}}}||{{{title|}}}}}
 +
  |IncludedWorkURL = {{{chapter-url|{{{chapterurl|{{{contribution-url|}}}}}}}}}
 +
  |Edition = {{{edition|}}}
 +
  |Place = {{{place|{{{location|}}}}}}
 +
  |PublicationPlace = {{{publication-place|{{{place|{{{location|}}}}}}}}}
 +
  |Publisher = {{{publisher|}}}
 +
   |PublicationDate = {{{publication-date|}}}
 +
  |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|}}}}}}
 +
  |AccessDate={{#if:{{{accessdate|}}}|{{{accessdate}}}
 +
    |{{{accessday|}}} {{{accessmonth|}}} {{{accessyear|}}} }}
 +
   |laysummary = {{{laysummary|}}}
 +
   |laydate = {{{laydate|}}}
 +
  |quote = {{{quote|}}}
 +
  |PS={{#if:{{{quote|}}}||{{{postscript|.}}}}}  
 +
   |Ref={{{ref|}}}
 +
  |Sep = {{#ifeq:{{{separator|{{{seperator}}} }}}|;|&#059;|{{{separator|{{{seperator|.}}} }}} }}
 +
   |ArchiveDate={{{archivedate|}}}
 +
  |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}}]]}}</includeonly><noinclude>
 +
{{Documentation}}Test of the cite news template from wikipedia
 
</noinclude>
 
</noinclude>

Revision as of 22:44, 22 January 2011

Template:DocumentationTest of the cite news template from wikipedia