Template:Cite news: Difference between revisions

From Climate Change AI Wiki
Content added Content deleted
imported>Ruslik0
m (Reverted edits by Ruslik0 (talk) to last version by Mark)
imported>Aervanath
(update to use {{citation/core}} from sandbox)
Line 1: Line 1:
<noinclude>{{Template sandbox notice}}</noinclude>{{Citation/core
<includeonly>{{
|Citation class=news
#if: {{{archiveurl|}}}{{{archivedate|}}}
|Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|{{{author|}}}}}}}}}}}}}}}}}}}}}}}}
| {{#if: {{#if: {{{archiveurl|}}}| {{#if: {{{archivedate|}}} |1}}}}
|Surname2 = {{{last2|{{{surname2|{{{author2|{{{coauthor|{{{coauthors|}}}}}}}}}}}}}}}
||<div style="border:1px solid red; background-color:#ffdab9; display:table;">
|Surname3 = {{{last3|{{{surname3|{{{author3|}}}}}}}}}
You must specify '''''archiveurl=''''' and '''''archivedate=''' when using {{tl|cite news}}. Available parameters:
|Surname4 = {{{last4|{{{surname4|{{{author4|}}}}}}}}}
{{Cite news/doc/parameterlist}}
|Surname5 = {{{last5|{{{surname5|{{{author5|}}}}}}}}}
</div>{{
|Surname6 = {{{last6|{{{surname6|{{{author6|}}}}}}}}}
#if: {{NAMESPACE}}||
|Surname7 = {{{last7|{{{surname7|{{{author7|}}}}}}}}}
[[Category:Articles with broken citations]]
|Surname8 = {{{last8|{{{surname8|{{{author8|}}}}}}}}}
}}
|Surname9 = {{{last9|{{{surname9|{{{author9|}}}}}}}}}
}}
|Given1 = {{{first1|{{{given1|{{{first|{{{given|}}}}}}}}}}}}
}}{{#if: {{{title|}}}
|{{#if: {{{author|}}}{{{last|}}}
|Given2 = {{{first2|{{{given2|}}}}}}
| {{#if: {{{authorlink|}}}
|Given3 = {{{first3|{{{given3|}}}}}}
| [[{{{authorlink}}}|{{#if: {{{last|}}}
|Given4 = {{{first4|{{{given4|}}}}}}
| {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
|Given5 = {{{first5|{{{given5|}}}}}}
| {{{author}}}
|Given6 = {{{first6|{{{given6|}}}}}}
|Given7 = {{{first7|{{{given7|}}}}}}
}}]]
| {{#if: {{{last|}}}
|Given8 = {{{first8|{{{given8|}}}}}}
| {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
|Given9 = {{{first9|{{{given9|}}}}}}
|Authorlink1 = {{{author-link|{{{author1-link|{{{authorlink|{{{authorlink1|}}}}}}}}}}}}
| {{{author}}}
|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|}}}}}}}}
|Title={{#if:{{{journal|{{{periodical|{{{newspaper|{{{magazine|{{{work|}}}}}}}}}}}}}}}|{{{title|}}}}}
|URL={{{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}}}|{{
#if:{{{accessdaymonth|}}}|{{{accessdaymonth}}} {{{accessyear|}}}|{{
#if:{{{accessmonthday|}}}|{{{accessmonthday}}} {{{accessyear|}}}|
{{{accessday|}}} {{{accessmonth|}}} {{{accessyear|}}}
}}
}}
}}
}}
}}
}}{{#if: {{{author|}}}{{{last|}}}
|laysummary = {{{laysummary|}}}
| {{#if: {{{coauthors|}}} | &#59;&#32;{{{coauthors}}} }}
}}{{#if: {{{author|}}}{{{last|}}}
|quote = {{{quote|}}}
| {{#if: {{{date|}}}
|laydate = {{{laydate|}}}
|Ref={{{ref|}}}
| &#32;({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|{{{date}}}|{{{date}}}}}) }}
}}{{#if: {{{last|}}}{{{author|}}}
|Sep = {{{separator|{{{seperator|.}}}}}}
|Archive = {{
| .&#32;}}{{#if: {{{curly|}}}|“|"
#if:{{{archiveurl|}}}|Archived from {{#if:{{{url|}}}|[{{{url|}}} the original]|the original}} {{#if:{{{archivedate|}}}| on {{{archivedate}}}|. You must specify the date the archive was made using the <code>archivedate=</code> parameter.{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}}}
}}{{#if: {{{archiveurl|}}}
| [{{{archiveurl}}} {{{title}}}]
}}
}}<noinclude>
| {{#if: {{{url|}}}
| [{{{url}}} {{{title}}}]
| {{{title}}}
}}
}}{{#if: {{{curly|}}}|”|"}}{{#if: {{{format|}}} | &#32;({{{format}}})
}}{{#if:{{{language|}}}
| &#32;(in {{{language}}})
}}{{#if: {{{agency|}}}
| , {{{agency}}}}}{{#if: {{{work|}}}
| , ''{{{work}}}''{{#if: {{{location|}}} |&#32;({{{location}}})}}}}{{#if: {{{publisher|}}}
| , {{{publisher}}}
}}{{#if: {{{author|}}}{{{last|}}}
| | {{#if: {{{date|}}}
| &#32;({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|{{{date}}}|{{{date}}}}}) }}
}}{{#if: {{{pages|}}}
| , pp.&nbsp;{{{pages}}}
|{{#if: {{{page|}}}
| , p.&nbsp;{{{page}}}
}}
}}{{#if: {{{id|}}}
| . {{{id}}}
}}{{#if: {{{accessdate|}}}
| <span class=reference-accessdate>.&#32;Retrieved on {{#ifeq:{{#time:Y-m-d|{{{accessdate}}}}}|{{{accessdate}}}|{{#time:j F Y|{{{accessdate}}}}}|{{{accessdate}}}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}</span>
}}{{#if: {{{accessmonthday|}}}
| <span class=reference-accessdate>.&#32;Retrieved on {{{accessmonthday}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}</span>
}}{{#if: {{{accessdaymonth|}}}
| <span class=reference-accessdate>.&#32;Retrieved on {{{accessdaymonth}}}{{#if: {{{accessyear|}}} | &#32;{{{accessyear}}} }}</span>
}}.{{#if: {{{archivedate|}}}
| &#32;Archived from [{{{url}}} the original] on {{#ifeq:{{#time:Y-m-d|{{{archivedate}}}}}|{{{archivedate}}}|{{#time:j F Y|{{{archivedate}}}}}|{{{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:
--><span class="Z3988" title="ctx_ver=Z39.88-2004<!--
-->&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
-->&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...
-->{{#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"
-->{{#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"
-->{{#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".
-->&rft.title={{urlencode:{{{title|}}}}}<!-- A name given to the resource.
-->{{#if: {{{url|}}} | &rft.identifier={{urlencode:{{{url}}}}} }}<!-- URL
-->{{#if: {{{format|}}} | &rft.format={{urlencode:{{{format}}}}} }}<!-- The physical or digital manifestation of the resource... may include the media-type or dimensions of the resource.
-->{{#if: {{{agency|}}} | &rft.source={{urlencode:{{{agency}}}}} }}<!-- A Reference to a wire service or other press agency from which the present resource is derived.
-->{{#if: {{{work|}}} | &rft.source={{urlencode:{{{work}}}}} }}<!-- A Reference to a resource from which the present resource is derived.
-->{{#if: {{{publisher|}}} | &rft.publisher={{urlencode:{{{publisher}}}}} }}<!-- An entity responsible for making the resource available... person, an organization, or a service.
-->{{#if: {{{pages|}}} | &rft.pages={{urlencode:{{{pages}}}}} }}<!-- Start and end pages for parts (of a book), i.e. "124-147"
-->{{#if: {{{page|}}} | &rft.spage={{urlencode:{{{page}}}}} }}<!-- Start page for parts (of a book), i.e. "124"
-->{{#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)
-->{{#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
-->"><span style="display: none;">&nbsp;</span></span></includeonly><noinclude>
{{pp-template|small=yes}}
{{pp-template|small=yes}}
{{documentation}}
{{documentation}}

Revision as of 15:31, 28 January 2009

Template:Template sandbox noticeTemplate:Citation/core Template:Pp-template Lua error in package.lua at line 80: module 'Module:Protection banner' not found.