「Template:MathWorld」の版間の差分

削除された内容 追加された内容
編集の要約なし
Sierpinski (会話 | 投稿記録)
+{{noitalic}}
1行目: 1行目:
<span class="citation mathworld" id="Reference-Mathworld-{{{title|{{{2|{{PAGENAMEBASE}}}}}}}}">{{Cite web2
<span class="citation mathworld" id="Reference-Mathworld-{{{title|{{{2|{{PAGENAMEBASE}}}}}}}}">{{Cite web2
|url = http://mathworld.wolfram.com/{{{1|{{{id|{{{urlname|}}}}}}}}}.html
|url = http://mathworld.wolfram.com/{{{1|{{{id|{{{urlname|}}}}}}}}}.html
|title = {{{2|{{{title|{{PAGENAMEBASE}}}}}}}}
|title = {{noitalic|{{{2|{{{title|{{PAGENAMEBASE}}}}}}}}}}
|author = {{{3|{{{author|[[:en:Eric W. Weisstein|Weisstein, Eric W.]]}}}}}}
|author = {{noitalic|{{{3|{{{author|[[:en:Eric W. Weisstein|Weisstein, Eric W]]}}}}}}}}
|website = [[MathWorld]]{{en icon}}
|website = [[MathWorld]]{{noitalic|{{en icon}}}}
|accessdate = {{ISOdate|{{{4|{{{accessdate|}}}}}}}}
|accessdate = {{ISOdate|{{{4|{{{accessdate|}}}}}}}}
}}</span><noinclude>
}}</span><noinclude>

2017年12月20日 (水) 05:01時点における版

Weisstein, Eric W. "MathWorld". MathWorld(英語). {{cite web}}: |author=の値が不正です。 (説明); Cite webテンプレートでは|access-date=引数が必須です。 (説明)

テンプレートの解説[表示] [編集] [履歴] [キャッシュを破棄]

これは MathWorld https://mathworld.wolfram.com/ の記事にリンクするためのテンプレートです。

使い方

以下をコピー・アンド・ペーストして、括弧部分を適切に書き換えます。

{{MathWorld
  |title   =(記事名)
  |urlname =(URLの一部)
  |last    =(著者姓)
  |first   =(著者名)
}}

ただし多くの場合、著者の姓名は入力の必要がなく、既定値の |first=Eric W. |last=Weisstein が使えます。

例として、https://mathworld.wolfram.com/TuringMachine.html (記事名:Turing Machine)にリンクする場合は以下のようにします:

{{MathWorld
  |title   = Turing Machine
  |urlname = TuringMachine
}}

表示結果は以下の通りです:

Weisstein, Eric W. "Turing Machine". MathWorld(英語). {{cite web}}: |author=の値が不正です。 (説明); Cite webテンプレートでは|access-date=引数が必須です。 (説明)

複数の著者がいる https://mathworld.wolfram.com/Group.html (記事名:Group)の場合、以下のようにします:

{{MathWorld
  |title   = Group
  |urlname = Group
  |last    = Rowland
  |first   = Todd
  |last2   = Weisstein
  |first2  = Eric W.
}}

表示結果は以下の通りです:

Weisstein, Eric W. "Group". MathWorld(英語). {{cite web}}: |author=の値が不正です。 (説明); Cite webテンプレートでは|access-date=引数が必須です。 (説明)

HTMLアンカー

このテンプレートはHTMLのアンカーとして

#Reference-Mathworld-(項目名)

を使用します。したがって、ハーバード方式の脚注を使用して "Turing Machine" という項目名のMathWorldの記事を参照するには、

([[#Reference-Mathworld-Turing Machine|Weisstein]])

と記載します。こうすると、(Weisstein)のように表示され、クリックすると使い方に示されるように参照したテンプレート記事にリンクされます。

パラメータ

パラメータの一覧
パラメータ 指定する内容 既定値 説明
title タイトル なし 必須。ページの冒頭に大きく表示されているタイトルを入力してください。
urlname URLの一部 なし 必須。URLの https://mathworld.wolfram.com/ と .html の間にある文字列を入力してください。
last 著者の姓 Weisstein 記事の著者が Eric W. Weisstein 以外の人物の場合に指定してください。内部リンクは必要ならば引数 author-link を指定してください。引数 author, author1, last1 はこの引数の別名です。
first 著者の名 Eric W. 記事の著者が Eric W. Weisstein 以外の人物の場合に指定してください。引数 first1 はこの引数の別名です。
author-link 著者ページ名 引数 last に対応する内部リンクのリンク先ページ名。引数 author1-link はこの引数の別名です。
last2, ..., last9 著者2の姓、……、著者9の姓 記事の著者が複数の場合に指定してください。それぞれ第2著者、……、第9著者の姓を表します。引数 author2, ……, author9 はこの引数の別名です。
first2, ..., first9 著者2の名、……、著者9の名 記事の著者が複数の場合に指定してください。それぞれ第2著者、……、第9著者の名を表します。
author2-link, ..., author9-link 著者2のページ名、……、著者9のページ名 引数 last2, ..., last9 に対応する内部リンクのリンク先ページ名。

カテゴリ

このテンプレートが貼り付けられたページに適用するカテゴリはありません