|  |   | 
| 1行目: | 1行目: | 
| − | <cite style="font-style:normal;"><includeonly>{{
 | + | #REDIRECT [[Template:Cite web]] | 
| − | #if: {{#if: {{{url|}}}|{{#if: {{{title|}}} |1}}}} | + |  | 
| − |   ||Error on call to [[template:cite web]]: Parameters '''url''' and '''title''' must be specified
 | + |  | 
| − | }}</includeonly>{{#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|}}}| <nowiki>;</nowiki> {{{coauthors}}} }}
 | + |  | 
| − | }}{{#if: {{{author|}}}{{{last|}}}|
 | + |  | 
| − |     {{#if: {{{date|}}}
 | + |  | 
| − |     | ({{{date}}})
 | + |  | 
| − |     |{{#if: {{{year|}}}
 | + |  | 
| − |       |{{#if: {{{month|}}}
 | + |  | 
| − |         | ({{{month}}} {{{year}}})
 | + |  | 
| − |         | ({{{year}}})
 | + |  | 
| − |       }}
 | + |  | 
| − |     }}
 | + |  | 
| − |   |}}
 | + |  | 
| − | }}{{#if: {{{last|}}}{{{author|}}}
 | + |  | 
| − |   |. }}{{#if: {{{url|}}}|{{#if: {{{title|}}}
 | + |  | 
| − |     |{{#if: {{{curly|}}}|“|"}}[{{{url}}} {{{title}}}]{{#if: {{{language|}}}| ({{{language}}}) }}{{#if: {{{curly|}}}|”|"}} }}
 | + |  | 
| − | }}{{#if: {{{format|}}}
 | + |  | 
| − |   | ({{{format|}}})
 | + |  | 
| − | }}{{#if: {{{work|}}}
 | + |  | 
| − |   | ''{{{work}}}''.
 | + |  | 
| − | }}{{#if: {{{pages|}}}
 | + |  | 
| − |   | pp. {{{pages}}}
 | + |  | 
| − | }}{{#if: {{{publisher|}}}
 | + |  | 
| − |   | {{{publisher}}}{{#if: {{{author|}}}{{{last|}}}
 | + |  | 
| − |      .
 | + |  | 
| − |     |{{#if: {{{date|}}}{{{year|}}}{{{month|}}} | : | . }}
 | + |  | 
| − |   }}
 | + |  | 
| − | }}{{#if: {{{author|}}}{{{last|}}}
 | + |  | 
| − |   ||{{#if: {{{date|}}}
 | + |  | 
| − |     | {{{date}}}.
 | + |  | 
| − |     |{{#if: {{{year|}}}
 | + |  | 
| − |       |{{#if: {{{month|}}}
 | + |  | 
| − |         | {{{month}}} {{{year}}}.
 | + |  | 
| − |         | {{{year}}}.
 | + |  | 
| − |       }}
 | + |  | 
| − |     }}
 | + |  | 
| − |   }}
 | + |  | 
| − | }}{{#if: {{{accessdate|}}}
 | + |  | 
| − |   | {{#if: {{{accessyear|}}}|{{{accessyear}}}{{{accessdate}}}閲覧}}.
 | + |  | 
| − | }}</cite><noinclude>
 | + |  | 
| − | == このテンプレートについて ==
 | + |  | 
| − | 記事の参考となったウェブサイト元を明示するために使用するテンプレートです。
 | + |  | 
| − |   | + |  | 
| − | == 使い方 ==
 | + |  | 
| − | <pre>{{Cite web
 | + |  | 
| − | |last=著者の姓
 | + |  | 
| − | |first=著者の名
 | + |  | 
| − | |author=著者(last, firstの替わりに使う。東アジア名の時はこちらの方が使いやすい)
 | + |  | 
| − | |authorlink=著者の内部リンク
 | + |  | 
| − | |coauthors=共同著作者
 | + |  | 
| − | |date=日付(YYYY-MM-DD)
 | + |  | 
| − | |year=年
 | + |  | 
| − | |month=月
 | + |  | 
| − | |url=(必須)
 | + |  | 
| − | |title=(必須)
 | + |  | 
| − | |format=PDFの場合、PDF
 | + |  | 
| − | |work=大きな作品の一部の場合、作品名
 | + |  | 
| − | |pages=ページ
 | + |  | 
| − | |publisher=出版社
 | + |  | 
| − | |language=言語
 | + |  | 
| − | |accessdate=閲覧月日(必須)
 | + |  | 
| − | |accessyear=閲覧年(必須)
 | + |  | 
| − | |curly=引用符の変更。空白でなければ、"タイトル."を“タイトル.”のようにする 
 | + |  | 
| − | }}</pre>
 | + |  | 
| − |   | + |  | 
| − | == 使用例 ==
 | + |  | 
| − | {{cite web
 | + |  | 
| − | |author=山田花子
 | + |  | 
| − | |coauthors=山田太郎
 | + |  | 
| − | |date=1999-12-31
 | + |  | 
| − | |url=http://somewhere.example/~yamada/doc1
 | + |  | 
| − | |title=テンプレート使用例
 | + |  | 
| − | |language=日本語
 | + |  | 
| − | |accessdate=6月15日
 | + |  | 
| − | |accessyear=2007年
 | + |  | 
| − | }}
 | + |  | 
| − |   | + |  | 
| − | [[Category:条件文]]
 | + |  | 
| − | [[Category:リンク支援テンプレート|Cite web]]
 | + |  | 
| − | [[Category:引用テンプレート|Cite web]]</noinclude> | + |  |