「テンプレート:Cite web」の版間の差分
提供: miniwiki
細 |
細 |
||
(同じ利用者による、間の3版が非表示) | |||
1行目: | 1行目: | ||
− | <cite style="font-style:normal | + | <includeonly><onlyinclude><cite 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: {{{archiveurl|}}} | 1 | 0 }} != {{#if: {{{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|{{{archiveurl|}}}|{{{url}}}}} {{{title}}}] }} |
− | | | + | | <!-- 空白値 --> = [{{ifempty|{{{archiveurl|}}}|{{{url}}}}} {{{title}}}] |
− | + | | #default = [{{ifempty|{{{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]]:[http://dx.doi.org/{{{doi|{{{doilabel|}}}}}} {{{doi}}}]. | ||
+ | }}{{#if: {{{archivedate|}}} | ||
+ | |  {{Citation/showdate|{{{archivedate|}}}}}時点の[{{{url}}} オリジナル]{{#if: {{{deadlink|{{{deadlinkdate|}}}}}} | ||
+ | | {{リンク切れ|date={{{deadlink|{{{deadlinkdate|}}}}}}|archiveurl={{{archiveurl|}}}}} | ||
+ | | | ||
+ | }}よりアーカイブ。 | ||
+ | }}{{#if: {{{accessdate|}}}{{{access-date|}}} | ||
+ | | {{#if:{{{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: {{{archivedate|}}} | ||
+ | | | ||
+ | |{{#if: {{{deadlink|{{{deadlinkdate|}}}}}} | ||
+ | | {{リンク切れ|date={{{deadlink|{{{deadlinkdate|}}}}}}|archiveurl={{{archiveurl|}}}}} | ||
+ | | | ||
}} | }} | ||
− | }}</ | + | }}<!-- |
− | + | -->{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}{{{dateformat|}}}{{{accessed|}}}|{{Citation/showdateError|accessyear={{{accessyear|}}}|dateformat={{{dateformat|}}}}}|}}<!-- | |
+ | --></onlyinclude></includeonly><noinclude> | ||
+ | {{Documentation}} | ||
+ | <!-- カテゴリと言語間リンクはここではなく、/doc サブページに追加してください --> | ||
</noinclude> | </noinclude> |