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

ナビゲーションに移動 検索に移動
1版
bsd>FDMS4
(harmonise with w:Template:Cite web)
 
(1版)
1行目: 1行目:
<includeonly>{{#if: {{#if:{{{url|}}} | {{#if:{{{title|}}}|1}}}}
<includeonly>{{#invoke:citation/CS1|citation
  |
|CitationClass=web
  |<font style="color:red; font-size:medium">'''Error: title= and url= must be specified'''</font>
}}</includeonly><noinclude>
}}{{#if: {{{archiveurl|}}}{{{archivedate|}}}
{{documentation}}
    |{{#if: {{#if:{{{archiveurl|}}}|{{#if:{{{archivedate|}}}|1}}}}
</noinclude>
      |
      |<font style="color:red; font-size:medium">'''Error: archiveurl= and archivedate= must be both be specified or both omitted'''</font>
    }}
}}{{#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:{{{editorlink|}}}{{{editor-link|}}}
      |{{#if:{{{editor|}}}
          |<nowiki>;</nowiki> [[{{{editorlink|{{{editor-link}}}}}} | {{{editor}}}]]
          |<nowiki>;</nowiki> [[{{{editorlink|{{{editor-link}}}}}} | {{{editor-last}}}, {{{editor-first}}}]]
        }}
      |{{#if:{{{editor|}}}{{{editor-last|}}}
          |{{#if:{{{editor|}}}
            |<nowiki>;</nowiki> {{{editor}}}
            |<nowiki>;</nowiki> {{{editor-last}}}, {{{editor-first}}}
          }}
        }}
    }}{{#if:{{{coeditors|}}}|<nowiki>;</nowiki> {{{coeditors}}} }}{{#if:{{{editor-type|}}}
      |, {{{editor-type}}}
      |{{#if:{{{editor|}}}{{{editor-last|}}}
          |{{#if:{{{coeditors|}}}|, eds.|, ed.}}
        }}
    }}
}}{{#if:{{{author|}}}{{{last|}}}
    |{{#if:{{{date|}}}
      |&#32;({{#dateformat:{{{date}}}|{{#if:{{{dateformat|}}}|{{{dateformat}}} }} }})
      |{{#if:{{{year|}}}
          |{{#if:{{{month|}}}
            |&#32;({{{month}}} {{{year}}})
            |&#32;({{{year}}})
          }}
        }}
    }}
    |
}}{{#if:{{{last|}}}{{{author|}}}|.&#32;}}{{#if:{{{archiveurl|}}}
    |{{#if:{{{archiveurl|}}}
      |{{#if:{{{title|}}} | [{{{archiveurl}}} {{{title}}}] }}
    }}
    |{{#if:{{{url|}}}
      |{{#if:{{{title|}}} | [{{{url}}} {{{title}}}] }}
    }}
}}{{#if:{{{language|}}} | &#32;<span style="font-size: 0.95em; font-weight: bold; color:#555; position: relative;">(in {{{language}}})</span>
}}{{#if:{{{format|}}}|&#32;({{{format|}}})
}}{{#if:{{{work|{{{website|}}}}}}|.&#32;''{{{work|{{{website}}}}}}''
}}{{#if:{{{page|{{{pages|}}}}}}|&#32;{{{page|{{{pages}}}}}}
}}{{#if:{{{publisher|}}}
    |.&#32;{{{publisher}}}{{#if:{{{author|}}}{{{last|}}}
      |
      |{{#if:{{{date|}}}{{{year|}}}{{{month|}}}||}}
    }}
}}{{#if:{{{author|}}}{{{last|}}}
    |
    |{{#if:{{{date|}}}
      |&#32;({{#dateformat:{{{date}}}|{{#if:{{{dateformat|}}}|{{{dateformat}}} }} }})
      |{{#if:{{{year|}}}
          |{{#if:{{{month|}}}
            |&#32;({{{month}}} {{{year}}})
            |&#32;({{{year}}})
          }}
        }}
    }}
}}{{#if:{{{archivedate|}}}|. Archived from [{{{url}}} the original] on {{#dateformat:{{{archivedate}}}|{{#if:{{{dateformat|}}}|{{{dateformat}}} }} }}
}}{{#if:{{{accessdate|}}}|. Retrieved on {{#dateformat:{{{accessdate}}}|{{#if:{{{dateformat|}}}|{{{dateformat}}} }} }} }}{{#if:{{{accessmonthday|}}}|&#32;Retrieved on {{{accessmonthday}}}, {{{accessyear}}}
}}{{#if:{{{accessdaymonth|}}}|&#32;Retrieved on {{{accessdaymonth}}} {{{accessyear}}}
}}{{#if:{{{postscript|}}}
    |{{#ifeq:{{{postscript}}}|no||{{{postscript}}} }}
    |.
}}{{#if:{{{quote|}}}|&#32;"{{{quote}}}"}}</includeonly><noinclude><!--NOTE: Place interwikis and categories in [[Template:Cite web/doc]]".-->{{Documentation}}</noinclude>

案内メニュー