Mall:Cite news

Från Rilpedia

(Skillnad mellan versioner)
Hoppa till: navigering, sök
m
Rad 1: Rad 1:
-
<noinclude>{{rpsv.from.wpsv}}</noinclude><includeonly>{{#if: {{{title|}}}
+
{{Citation/core
-
   |{{#if: {{{author|}}}{{{last|}}}
+
  |Citation class=news
-
    | {{#if: {{{authorlink|}}}
+
  |Surname1 = {{{author1|{{{author|{{{authors|{{{last|{{{surname|{{{last1|{{{surname1|}}}}}}}}}}}}}}}}}}}}}
-
      | [[{{{authorlink}}}|{{#if: {{{last|}}}
+
  |Surname2 = {{{last2|{{{surname2|{{{author2|{{{coauthor|{{{coauthors|}}}}}}}}}}}}}}}
-
        | {{{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|}}}}}}}}}}}}
 +
  |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 = {{{author-link|{{{author1-link|{{{authorlink|{{{authorlink1|}}}}}}}}}}}}
 +
  |Authorlink2 = {{{author2-link|{{{authorlink2|}}}}}}
 +
  |Authorlink3 = {{{author3-link|{{{authorlink3|}}}}}}
 +
  |Authorlink4 = {{{author4-link|{{{authorlink4|}}}}}}
 +
  |Authorlink5 = {{{author5-link|{{{authorlink5|}}}}}}
 +
  |Authorlink6 = {{{author6-link|{{{authorlink6|}}}}}}
 +
  |Authorlink7 = {{{author7-link|{{{authorlink7|}}}}}}
 +
  |Authorlink8 = {{{author8-link|{{{authorlink8|}}}}}}
 +
  |Authorlink9 = {{{author9-link|{{{authorlink9|}}}}}}
 +
  |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 -->
 +
          }}
 +
        }}}
 +
  |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|{{{publication-date|}}}}}}}}
 +
  |DateFormat = {{{dateformat|}}}
 +
  |Title={{#if:{{{journal|{{{periodical|{{{newspaper|{{{magazine|{{{work|}}}}}}}}}}}}}}}|{{{title|}}}}}
 +
   |URL={{#if:{{{archiveurl|}}}|{{{archiveurl}}}|{{{url|}}}}}
 +
  |Series={{{agency|}}}
 +
  |Periodical = {{{journal|{{{periodical|{{{newspaper|{{{magazine|{{{work|}}}}}}}}}}}}}}}
 +
  |Volume = {{{volume|}}}
 +
  |Issue = {{{issue|{{{number|}}}}}}
 +
  |At = {{
 +
          #if: {{{page|}}}
 +
          |s.&nbsp;{{{page}}}
 +
          |{{
 +
              #if: {{{pages|}}}
 +
              |ss.&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}}}|{{
 +
    #if:{{{accessdaymonth|}}}|{{{accessdaymonth}}} {{{accessyear|}}}|{{
 +
      #if:{{{accessmonthday|}}}|{{{accessmonthday}}} {{{accessyear|}}}|
 +
      {{{accessday|}}} {{{accessmonth|}}} {{{accessyear|}}}
       }}
       }}
     }}
     }}
-
  }}{{#if: {{{author|}}}{{{last|}}}
+
  }}
-
    | {{#if: {{{coauthors|}}} | ,&#32;{{{coauthors}}} }}.&#32;
+
  |laysummary = {{{laysummary|}}}
-
   }}{{#if: {{{curly|}}}||"}}{{#if: {{{url|}}}
+
  |laydate = {{{laydate|}}}
-
  | [{{{url}}} {{{title}}}]
+
  |quote = {{{quote|}}}
-
  | {{{title}}}
+
   |PS={{#if:{{{quote|}}}||.}}  
-
  }}{{#if: {{{curly|}}}|”|"}}{{#if: {{{format|}}} | &#32;({{{format}}})
+
  |Ref={{{ref|}}}
-
    }}{{#if: {{{work|}}}
+
  |Sep = {{#ifeq:{{{separator|{{{seperator}}} }}}|;|&#059;|{{{separator|{{{seperator|.}}} }}} }}
-
    | , ''{{{work}}}''}}{{#if: {{{publisher|}}}
+
  |ArchiveDate = {{{archivedate|}}}
-
    | , ''{{{publisher}}}''
+
   |OriginalURL = {{#if:{{{archiveurl|}}}|{{ #if:{{{url|}}}|{{{url}}} }} }}
-
   }}{{#if: {{{date|}}}
+
<!-- Missing: curly -->
-
    | , {{{date}}}
+
}}<includeonly>{{#if:{{NAMESPACE}}||{{#ifeq:{{{svenska|}}}|javisst||[[Kategori:Wikipedia:Projekt översätta källmallar]]}}}}</includeonly><noinclude>
-
  }}{{#if: {{{pages|}}}
+
Kopia av [[:en:Template:Cite_news|Cite news]] från engelska wikipedia.
-
    | , pp.&nbsp;{{{pages}}}
+
Se även {{mall|tidningsref}} för motsvarande mall med svenska parameternamn.
-
    |{{#if: {{{page|}}}
+
[[Kategori:Källmallar|{{PAGENAME}}]]
-
      | , p.&nbsp;{{{page}}}
+
-
    }}
+
-
  }}{{#if: {{{accessdate|}}
+
-
  | .&#32;Hämtat {{{accessdate}}}
+
-
  }}.{{#if: {{{language|}}} | &#32;<span style="font-size: 0.95em; font-weight: bold; color:#555; position: relative;">({{{language}}})</span>
+
-
  }}{{ #if: {{{quote|}}}
+
-
    | &nbsp;“{{{quote}}}”
+
-
  }}|Fel i mallen: argumentet '''title''' måste sättas.}}</includeonly><noinclude>
+
-
Denna mall har liknande funktionalitet som [[:mall:Tidningsref]] men den är en direkt kopia av den engelska mallen vilket underlättar översättandet av engelska artiklar.  
+
-
 
+
-
Alla parametrar i mallen:
+
-
<pre>
+
-
{{cite news
+
-
| first =
+
-
| last =
+
-
| authorlink =
+
-
| author =
+
-
| coauthors =
+
-
| title =
+
-
| url =
+
-
| format =
+
-
| work =
+
-
| publisher =
+
-
| id =
+
-
| pages =
+
-
| page =
+
-
| date =
+
-
| accessdate =
+
-
| language =
+
-
| quote =
+
-
| archiveurl =
+
-
| archivedate =
+
-
}}
+
-
</pre>
+
-
[[Kategori:Källmallar|Cite news]]
+
</noinclude>
</noinclude>

Versionen från 13 juni 2011 kl. 13.32

.  Kopia av Cite news från engelska wikipedia. Se även {{tidningsref}} för motsvarande mall med svenska parameternamn.

Personliga verktyg