「テンプレート:Cite web」の版間の差分

提供: miniwiki
移動先:案内検索
(ページの白紙化)
(タグ: Blanking)
 
1行目: 1行目:
 
+
<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>&#32;{{{coauthors}}}
 +
  }}{{ #if: {{{date|}}}{{{year|}}}
 +
    | &#32;({{Citation/showdate|{{{date|}}}|{{{year|}}}|{{{month|}}}}})
 +
    |
 +
  }}.&#32;
 +
}}{{#if: {{{editor|}}}
 +
  | &#32;{{{editor}}}&#58;&#32;
 +
}}“{{#switch: {{{format|}}}
 +
  | PDF
 +
  | DOC
 +
  | XLS
 +
  | PPT
 +
  | RTF = {{{{{format}}}link| 1 = [{{ifempty|{{{archiveurl|}}}|{{{url}}}}} {{{title}}}] }}
 +
  |    <!-- 空白値 --> = [{{ifempty|{{{archiveurl|}}}|{{{url}}}}} {{{title}}}]
 +
  |          #default = [{{ifempty|{{{archiveurl|}}}|{{{url}}}}} {{{title}}}]&#32;({{{format}}})
 +
}}”{{#if:{{{language|}}}
 +
  | {{#if:{{{trans_title|}}} | &nbsp;[{{{trans_title}}}] | {{#if:{{{trans-title|}}} | &nbsp;[{{{trans-title}}}]}}}} &#32;({{#ifeq: {{ISO639言語名|{{{language}}}}}||{{{language}}}|{{ISO639言語名|{{{language}}}}}}})
 +
}}{{#if: {{{website|}}}
 +
  | .&#32;''{{{website}}}''
 +
}}{{#if: {{{work|}}}
 +
  | .&#32;''{{{work}}}''
 +
}}{{#if: {{{publisher|}}}
 +
  | .&#32; {{#if: {{{location|}}}
 +
    | {{{location}}}:&#32;
 +
  }} {{{publisher}}}<!--{{#if: {{{author|}}}{{{last|}}}
 +
    |
 +
    | {{#if: {{{date|}}}{{{year|}}}{{{month|}}} || }}
 +
  }}-->
 +
}}{{#if: {{{page|}}}
 +
  |.&#32;p.&nbsp;{{{page}}}
 +
  |{{
 +
    #if: {{{pages|}}}
 +
    |.&#32;pp.&nbsp;{{{pages}}}
 +
  }}
 +
}}{{#if: {{{author|}}}{{{last|}}}
 +
  |
 +
  |{{#if: {{{date|}}}{{{year|}}}
 +
    | &#32;({{Citation/showdate|{{{date|}}}|{{{year|}}}|{{{month|}}}}})
 +
    |
 +
  }}
 +
}}.{{#if: {{{doi|}}}
 +
  | &#32;[[デジタルオブジェクト識別子|doi]]:[http://dx.doi.org/{{{doi|{{{doilabel|}}}}}} {{{doi}}}].
 +
}}{{#if: {{{archivedate|}}}
 +
  | &#32;{{Citation/showdate|{{{archivedate|}}}}}時点の[{{{url}}} オリジナル]{{#if: {{{deadlink|{{{deadlinkdate|}}}}}}
 +
    | {{リンク切れ|date={{{deadlink|{{{deadlinkdate|}}}}}}|archiveurl={{{archiveurl|}}}}}
 +
    |
 +
  }}よりアーカイブ。
 +
}}{{#if: {{{accessdate|}}}{{{access-date|}}}
 +
  | {{#if:{{{archivedate|}}}
 +
    |
 +
    |&#32;
 +
    |
 +
  }}{{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|}}}
 +
  | &nbsp;“{{{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>

2019/4/29/ (月) 03:18時点における最新版

view edit Documentation