「テンプレート:Cite web」の版間の差分
提供:北海道野球独立リーグwiki
(ページの作成:「{{Cite web |url= |title= |trans-title= |accessdate= |last= |first= |author= |authorlink= |coauthors= |date= |year= |month= |format= |website= |work= |publisher= |page= |pages= |quote= |language= |archiveurl= |archivedate= |deadlinkdate= |doi= |ref=}}」) |
|||
(同じ利用者による、間の1版が非表示) | |||
1行目: | 1行目: | ||
{{Cite web |url= |title= | | <includeonly><cite class="citation web" style="font-style:normal" | ||
{{ | |||
#switch:{{{ref|}}} | |||
||none = | |||
|#default = id="{{anchorencode:{{{ref}}}}}" | |||
|harv = {{#if:{{{last|}}}{{{author|}}}{{{publisher|}}} | |||
|id="CITEREF{{anchorencode:{{{last|{{{author|{{{publisher|}}}}}}}}}{{{year|{{{date|}}}}}}}}" | |||
}} | |||
}}>{{ | |||
#if: {{#if: {{{url|}}} | {{#if: {{{title|}}} | 1 }} }} | |||
| | |||
| {{Cite web/error|url|url={{{url|}}}|title={{{title|}}}}} | |||
}}{{ | |||
#ifexpr: {{#if: {{{archive-url|{{{archiveurl|}}}}}} | 1 | 0 }} != {{#if: {{{archive-date|{{{archivedate|}}}}}} | 1 | 0 }} | |||
| {{Cite web/error|archive}} | |||
}}{{#if: {{{author|}}}{{{last|}}} | |||
| {{#if: {{{authorlink|}}} | |||
| [[{{{authorlink}}}|{{#if: {{{last|}}} | |||
| {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }} | |||
| {{{author}}} | |||
}}]] | |||
| {{#if: {{{last|}}} | |||
| {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }} | |||
| {{{author}}} | |||
}} | |||
}}{{#if: {{{coauthors|}}} | |||
| <nowiki>;</nowiki> {{{coauthors}}} | |||
}}{{ #if: {{{date|}}}{{{year|}}} | |||
|  ({{Citation/showdate|{{{date|}}}|{{{year|}}}|{{{month|}}}}}) | |||
| | |||
}}.  | |||
}}{{#if: {{{editor|}}} | |||
|  {{{editor}}}:  | |||
}}“{{#switch: {{{format|}}} | |||
| PDF | |||
| DOC | |||
| XLS | |||
| PPT | |||
| RTF = {{{{{format}}}link| 1 = [{{ifempty|{{{archive-url|}}}|{{{archiveurl|}}}|{{{url}}}}} {{{title}}}] }} | |||
| <!-- 空白値 --> = [{{ifempty|{{{archive-url|}}}|{{{archiveurl|}}}|{{{url}}}}} {{{title}}}] | |||
| #default = [{{ifempty|{{{archive-url|}}}|{{{archiveurl|}}}|{{{url}}}}} {{{title}}}] ({{{format}}}) | |||
}}”{{#if:{{{language|}}} | |||
| {{#if:{{{trans_title|}}} | [{{{trans_title}}}] | {{#if:{{{trans-title|}}} | [{{{trans-title}}}]}}}}  ({{#ifeq: {{ISO639言語名|{{{language}}}}}||{{{language}}}|{{ISO639言語名|{{{language}}}}}}}) | |||
}}{{#if: {{{website|}}} | |||
| . ''{{{website}}}'' | |||
}}{{#if: {{{work|}}} | |||
| . ''{{{work}}}'' | |||
}}{{#if: {{{publisher|}}} | |||
| .  {{#if: {{{location|}}} | |||
| {{{location}}}:  | |||
}} {{{publisher}}}<!--{{#if: {{{author|}}}{{{last|}}} | |||
| | |||
| {{#if: {{{date|}}}{{{year|}}}{{{month|}}} || }} | |||
}}--> | |||
}}{{#if: {{{page|}}} | |||
|. p. {{{page}}} | |||
|{{ | |||
#if: {{{pages|}}} | |||
|. pp. {{{pages}}} | |||
}} | |||
}}{{#if: {{{author|}}}{{{last|}}} | |||
| | |||
|{{#if: {{{date|}}}{{{year|}}} | |||
|  ({{Citation/showdate|{{{date|}}}|{{{year|}}}|{{{month|}}}}}) | |||
| | |||
}} | |||
}}.{{#if: {{{doi|}}} | |||
|  [[デジタルオブジェクト識別子|doi]]:[https://doi.org/{{urlencode:{{{doi}}}}} {{#tag:nowiki|{{{doi}}}}}]. | |||
}}{{#if: {{{hdl|}}} | |||
|  {{Hdl|{{{hdl|}}}}}. | |||
}}{{#if: {{{archive-date|{{{archivedate|}}}}}} | |||
|  {{Citation/showdate|{{{archive-date|{{{archivedate|}}}}}}}}時点の[{{{url}}} オリジナル]{{#if: {{{deadlink|{{{deadlinkdate|}}}}}} | |||
| {{リンク切れ|date={{{deadlink|{{{deadlinkdate|}}}}}}|archiveurl={{{archive-url|{{{archiveurl|}}}}}}}} | |||
| | |||
}}よりアーカイブ。 | |||
}}{{#if: {{{accessdate|}}}{{{access-date|}}} | |||
| {{#if:{{{archive-date|{{{archivedate|}}}}}} | |||
| | |||
|  | |||
| | |||
}}{{Accessdate|1={{{accessdate|{{{access-date|}}}}}}|isodate={{ISO dateJA|1={{{accessdate|{{{access-date|}}}}}}|defaultdate={{{accessdate|{{{access-date|}}}}}} }} }} | |||
| {{Cite web/error|accessdate|deadlinkdate={{{deadlink|{{{deadlinkdate|}}}}}}}} | |||
}}{{#if: {{{quote|}}} | |||
| “{{{quote}}}” | |||
}}</cite>{{#if: {{{archive-date|{{{archivedate|}}}}}} | |||
| | |||
|{{#if: {{{deadlink|{{{deadlinkdate|}}}}}} | |||
| {{リンク切れ|date={{{deadlink|{{{deadlinkdate|}}}}}}|archiveurl={{{archive-url|{{{archiveurl|}}}}}}}} | |||
| | |||
}} | |||
}}</includeonly><noinclude> | |||
{{Documentation}} | |||
<!-- カテゴリはここではなく、/doc サブページに追加してください --> | |||
</noinclude> |