メインメニューを開く

差分

テンプレート:Cite book/和書

3,477 バイト追加, 2014年3月22日 (土) 11:54
ページの作成:「<cite class="book" style="font-style:normal" {{ #switch:{{{ref|}}} | = {{#if:{{{year|}}} | {{#if:{{{last|}}} | id="Reference-{{{last}}}-{{{year}}}" }} ...」
<cite class="book" style="font-style:normal" {{

#switch:{{{ref|}}}
| = {{#if:{{{year|}}}
| {{#if:{{{last|}}} | id="Reference-{{{last}}}-{{{year}}}" }}
{{#if:{{{author|}}} | id="Reference-{{{author}}}-{{{year}}}" }}
}}
|none =
|#default = id="{{anchorencode:{{{ref}}}}}"
|harv = {{#if:{{{Surname1|}}}{{{EditorSurname1|}}}
|id="CITEREF{{anchorencode:{{#if:{{{Surname1|}}}
|{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}}
|{{{EditorSurname1|}}}{{{EditorSurname2|}}}{{{EditorSurname3|}}}{{{EditorSurname4|}}}
}}{{#if:{{{year|}}}|{{{year}}}|{{padleft:|4|{{{date|}}}}}}}}}"
}}
}}>{{
#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|}}} | ・{{{coauthors}}} }}
}}{{ #if: {{{author|}}}{{{last|}}} | &#12288;}}{{
#if: {{{chapter|}}}
| 「{{
#if: {{{chapterurl|}}}
| [{{{chapterurl}}} {{{chapter}}}]
| {{{chapter}}}
}}」}}『{{
#if: {{{url|}}} | [{{{url}}} {{{title}}}] | {{{title}}}
}}』{{
#if: {{{format|}}} |({{{format}}})
}}{{
#if: {{{volume|}}}
| {{{volume}}}
| {{ #if: {{{editor|}}}{{{others|}}}{{{translator|}}}{{{publisher|}}} | &#12288;}}
}}{{
#if: {{{editor|}}}
| {{ #if: {{{volume|}}} | 、}}{{{editor}}}
}}{{
#if: {{{others|}}}
| {{ #if: {{{volume|}}}{{{editor|}}} | 、}}{{{others}}}
}}{{
#if: {{{translator|}}}
| {{ #if: {{{volume|}}}{{{editor|}}}{{{others|}}} |、}}{{{translator}}}訳
}}{{
#if: {{{publisher|}}}
| {{#if: {{{volume|}}}{{{editor|}}}{{{others|}}}{{{translator|}}} | 、}}{{{publisher}}}
}}{{
#if: {{{series|}}} |〈{{{series}}}〉
}}{{
#if: {{{location|}}}
| {{
#if: {{{publisher|}}}
|、{{{location}}}
}}
}}{{
#if: {{{date|}}}{{{year|}}}
| {{
#if: {{{volume|}}}{{{editor|}}}{{{others|}}}{{{translator|}}}{{{{publisher|}}}
|、
}}{{Citation/showdate|{{{date|}}}|{{{year|}}}|{{{month|}}}}}
|
}}{{#if: {{{origdate|}}}{{{origyear|}}}
|(原著{{#if:{{#if:{{{origdate|}}}|{{#if:{{{origyear|}}}|1|}}|}}|{{Citation/showdateError|origyear=1}}
|{{Citation/showdate|{{#if:{{{origdate|}}}|{{{origdate}}}|{{{origyear}}}}}}}}})
|
}}{{
#if: {{{edition|}}} | 、{{{edition}}}
}}{{
#if: {{{page|}}} | 、{{#iferror: {{#ifexpr: {{{page}}} }} | {{{page}}} | {{{page}}}頁 }}
}}{{
#if: {{{pages|}}} | 、{{#iferror: {{#ifexpr: {{{pages}}} }} | {{{pages}}} | {{{pages}}}頁 }}
}}{{
#if: {{{language|}}} | ({{{language}}})
}}{{
#if: {{{doi|}}} | 。{{DOI|{{{doi}}}}}
}}{{
#if: {{{id|}}} | 。{{{id}}}
}}{{
#if: {{{ISBN|}}} | 。ISBN {{{ISBN}}}
}}{{
#if: {{{NCID|}}} | 。{{NCID|{{{NCID}}}}}
}}{{
#if: {{{oclc|}}} | 。{{OCLC|{{{oclc}}}}}
}}{{
#if: {{{asin|}}} | 。{{ASIN|{{{asin}}}}}
}}{{
#if: {{{lcc|}}} | 。{{LCC|{{{lcc}}}}}
}}{{
#if: {{{accessdate|}}}
| 。{{Accessdate|1={{{accessdate}}}|isodate={{ISO dateJA|1={{{accessdate}}}|defaultdate={{{accessdate}}}}}}}
|。}}{{
#if: {{{quote|}}}
| 「{{{quote}}}」
}}</cite><noinclude>
* このテンプレートを直接呼び出さず、{{tl|Cite book}}で"|和書"を指定して使ってください。

{{DEFAULTSORT:Cite bookわしよ}}
[[Category:特殊効果テンプレート]]
</noinclude>
匿名利用者