「テンプレート:Cite news」の版間の差分

削除された内容 追加された内容
en:Template:Cite news 2008-11-01T03:42Z および Template:Cite web 2008-09-25T15:22Z を参考に
Template:Cite news/sandbox 2009年6月25日 (木) 04:19(UTC)より転記。動作に問題なし。
1 行
<includeonly><cite style="font-style:normal">{{Citation/core
|Citation class=news
#if: {{{title|}}} || &#32;<strong class="error">[[Template:Cite news]]の呼び出しエラー:引数 '''title''' は必須です。</strong>
|Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|{{{author|}}}}}}}}}}}}}}}}}}}}}}}}
}}{{
|Surname2 = {{{last2|{{{surname2|{{{author2|{{{coauthor|{{{coauthors|}}}}}}}}}}}}}}}
#if: {{{archiveurl|}}}{{{archivedate|}}}
|Surname3 = {{#if: {last3|{#if: {{{archiveurlsurname3|}}}| {{#if: {{{archivedateauthor3|}}} |1}}}}}}
|Surname4 = {{{last4|{{{surname4|{{{author4|}}}}}}}}}
|| &#32;<strong class="error">[[Template:Cite news]]の呼び出しエラー:引数 '''archiveurl''' と '''archivedate''' は両方を指定してください。</strong>
|Surname5 = {{{last5|{{{surname5|{{{author5|}}}}}}}}}
}}
}} |Surname6 = {{#if: {last6|{{author{surname6|}}}{{{lastauthor6|}}}}}}}}}
|Surname7 = {{{last7| {{#if: {surname7|{{{authorlinkauthor7|}}}}}}}}}
|Surname8 = [[{{{authorlink}}}last8|{{#if: {surname8|{{last{author8|}}}}}}}}}
|Surname9 |= {{{last}}}last9|{{#if: {surname9|{{first{author9|}}} | , {{{first}}} }}}
|Given1 = {{{first1|{{{given1|{{{first|{{{given|}}}}}}}}}}}}
| {{{author}}}
|Given2 = {{{first2|{{{given2|}}}}}}
}}]]
|Given3 |= {{#if: {first3|{{{lastgiven3|}}}}}}
|Given4 |= {{{last}}}first4|{{#if: {{{firstgiven4|}}} | , {{{first}}} }}
|Given5 = {{{first5| {{{authorgiven5|}}}}}}
|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|}}}}}
|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}}}|{{
#if:{{{accessdaymonth|}}}|{{{accessdaymonth}}} {{{accessyear|}}}|{{
#if:{{{accessmonthday|}}}|{{{accessmonthday}}} {{{accessyear|}}}|
{{{accessday|}}} {{{accessmonth|}}} {{{accessyear|}}}
}}
}}
}}
}}{{#if: {{{author|}}}{{{last|}}}
|laysummary = {{{laysummary|}}}
| {{#if: {{{coauthors|}}} | &#59;&#32;{{{coauthors}}} }}
}}{{#if:|laydate = {{{author|}}}{{{lastlaydate|}}}
|quote {{#if:= {{{datequote|}}}
| &PS={{#32;(if:{{{datequote|}}}) ||.}}
}}{{#if: {{{last|}}}Ref={{{authorref|}}}
|Sep = {{#ifeq:{{{separator|{{{seperator}}} }}}|;|&#059;|{{{separator|{{{seperator|.}}} }}} }}
| .&#32;}}“{{#if: {{{archiveurl|}}}
|ArchiveDate = {{{archivedate|}}}
| [{{{archiveurl}}} {{{title}}}]
|OriginalURL = {{#if:{{{archiveurl|}}}|{{ #if:{{{url|}}}|{{{url}}} }} }}
}}</includeonly><noinclude>
| [{{{url}}} {{{title}}}]
| {{{title}}}
}}
}}”{{#if: {{{format|}}} | &#32;({{{format}}})
}}{{#if: {{{language|}}}
|&#32;({{{language|}}})
}}{{#if: {{{agency|}}}
| , {{{agency}}}}}{{#if: {{{work|}}}
|, &#32;''{{{work}}}''{{#if: {{{location|}}} |&#32;({{{location}}})}}}}{{#if: {{{publisher|}}}
|, {{{publisher}}}
}}{{#if: {{{author|}}}{{{last|}}}
| | {{#if: {{{date|}}}
| &#32;({{{date}}}) }}
}}{{#if: {{{pages|}}}
| , pp.&nbsp;{{{pages}}}
|{{#if: {{{page|}}}
| , p.&nbsp;{{{page}}}
}}
}}{{#if: {{{id|}}}
| . {{{id}}}
}}{{#if: {{{accessdate|}}}
|.&#32;<span class=reference-accessdate>{{{accessdate}}}&#32;閲覧。</span>
|.}}{{#if: {{{archivedate|}}}
| &#32;{{{archivedate}}} 時点の[{{{url}}} オリジナル]よりアーカイブ。
}}{{#if: {{{quote|}}}
|&nbsp;“{{{quote}}}”
}}</cite></includeonly><noinclude>
{{Documentation}}
<!-- カテゴリと言語間リンクはここではなく、/doc サブページに追加してください -->
</noinclude>