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