テンプレート:Sfn/doc
Lua エラー package.lua 内、80 行目: module 'strict' not found
Lua エラー package.lua 内、80 行目: module 'strict' not found
Sfn(shortened footnote template)は、{{Cite}}テンプレートで記述された参考文献に対し、本文中で脚注リンクを生成するテンプレートです。
機能的には、以下の二つの記述はおおよそ同様の出力です。
{{Sfn|著者名|発行年|パラメタ...}}<ref name="(自動生成)">{{Harvnb|著者名|発行年|パラメタ...}}</ref>
使用法
「表示」側のそれぞれの脚注にあるリンクは実際に動作します。クリックすると対応する参考文献が表示され、そのテキストがハイライトされます。
| 入力 | 表示 |
|---|---|
記述{{Sfn|Smith|2006|p=25}}。
|
記述[1]。
|
記述{{Sfn|Smith|2006|pp=25–26}}。
|
記述[1]。 数ページ参照
|
記述{{Sfn|Smith|2006|loc=§ 8.5}}。
|
記述[1]。 書籍内の章
|
記述{{Sfn|Smith|2006|p=25}}。
|
記述[1]。 同書籍同ページの2番目の参照
|
記述{{Sfn|Smith|Jones|2006|p=25}}。
|
記述[1]。 著者2名
|
記述{{Sfn|Smith|Jones|Brown|2009|p=25}}。
|
記述[1]。 著者3名
|
記述{{Sfn|Smith|Jones|Brown|Black|2006|p=25}}。
|
記述[1]。 著者の最大人数
|
記述{{Sfn|Smith|1993a|p=25}}。さらに見る{{Sfn |Smith|1993b| p=32}}。
|
記述[1]。さらに見る[2]。 同年の2つの書籍
|
記述{{Sfn|Solo}}。
|
記述[1]。 著者1名、年、ページ番号無し |
記述{{Sfn|Popular Magazine|1973}}。
|
記述[1]。 雑誌名 (出典テンプレートに著者の記述なし). |
記述{{Sfn|A particularly unusual citation}}。
|
記述[1]。 A particularly unusual citation |
記述<ref>{{Harvnb|Smith|2006|p=25}}, {{Harvnb|Smith|Jones|2006}}.</ref>。つづき<ref>{{Harvnb|Smith|2006|p=25}}より引用。</ref>。
|
記述[1]。つづき[2]。
このような場合はこのテンプレートは使えないので、refタグと{{Harvnb}}を使用して書く。
|
記述{{Sfnm|1a1=Smith|1y=2006|1p=25|2a1=Smith|2a2=Jones|2y=2006}}。つづき{{Sfn|Smith|2006|p=25|ps=より引用。}}。
|
記述[1]。つづき[2]。
複数の文献を一纏めの注釈にする場合、{{Sfnm}}を使用して書くことも出来る。
|
記述{{Sfn|Smith|2005|p=101}}。
|
記述[1]。 |date=引数でリンク
|
記述{{Sfn|Smith|2009|p=101}}。
|
記述[1]。 |date=引数でリンク、Month YYYY形式で記述
|
記述{{Sfn|Smith|2009|p=101|ps= - Yamada(1999)よりの孫引き}}。
|
記述[1]。 psパラメタを用いると、文献にコメントを添えられる。
|
==参考文献==
* {{Cite book
| last = Smith | first = John
| year = 2006
| title = Smith's Book
| ref = harv
}}
* {{Cite web
| last = Smith | first = John
| last2 = Jones | first2 = Sam
| title = Smith & Jones website
| url = http://en.wikipedia.org
| year = 2006
| accessdate = 2010-10-27
| ref = {{SfnRef|Smith|Jones|2006}}
}}
* {{Cite news
| last = Smith | first = John
| last2 = Jones | first2 = Sam
| last3 = Brown | first3 = Tom
| title = Article by Smith, Jones and Brown
| year = 2009
| newspaper = Big Urban Newspaper
| ref = harv
}}
* {{Cite journal
| last = Smith
| last2 = Jones
| last3 = Brown
| last4 = Black
| year= 2006
| title= Smith, Jones, Brown and Black's Paper
| journal = Important Journal
| ref = harv
}}
* {{Cite journal
| last = Smith | first = Karen
| year = 1993a
| title = Smythe's first paper
| journal= Important Journal
| ref = harv
}}
* {{Cite journal
| last = Smith | first = Karen
| year = 1993b
| title = Smythe's second paper
| journal= Another Important Journal
| ref = harv
}}
* {{Cite web
| last = Solo
| first = Han
| title = Freeze-Dried: My Story
| url = http://en.wikipedia.org/
| ref = harv
| accessdate = 2010-10-27
}}
* {{Cite magazine
| magazine = Popular Magazine
| title = An Article by an Anonymous Author
| year = 1973
| ref = {{SfnRef|Popular Magazine|1973}}
}}
* {{Wikicite
| reference = A source that can't be described using our citation templates at all.
| ref = {{SfnRef|A particularly unusual citation}}
}}
* {{Cite journal
| last = Smith | first = Karen
| date = 11 May 2005
| title = Smyth 2005 first paper
| journal= Important Journal
| ref = harv
}}
* {{Cite journal
| last = Smith | first = Karen
| date = May 2009
| title = Smyth 2009 first paper
| journal= Important Journal
| ref = harv
}}
|
|
TemplateData
<templatedata> { "params": { "1": { "description": "1番目または唯一の著者名", "required": true, "label": "1", "example": "Smith", "type": "string" }, "2": { "description": "出典の発行年(1人の著者名用)または2番目の著者名", "required": true, "label": "2" }, "3": { "label": "3", "description": "出典の発行年(2人の著者名用)または3番目の著者名" }, "4": { "label": "4", "description": "出典の発行年(3人の著者名用)または4番目の著者名" }, "5": { "label": "5", "description": "出典の発行年(4人の著者名用)" }, "p": { "description": "ページ番号", "required": false, "label": "ページ番号", "suggested": true, "example": "25", "type": "number" }, "pp": { "description": "ページ番号(複数)", "required": false, "label": "ページ番号(複数)", "example": "25–26", "type": "number" }, "loc": { "description": "章や節など、位置一般", "required": false, "label": "位置", "example": "§ 8.5", "type": "string" } }, "description": "テンプレート:Citeテンプレートで記述された参考文献に対し、本文中で脚注リンクを生成するテンプレートです。", "format": "inline", "paramOrder": [ "1", "2", "3", "4", "5", "p", "pp", "loc" ] } </templatedata>
関連項目
- Template:Citation
- Template:Harv, Template:Harvnb
- Template:Sfnm:複数の著書や著作年を一度に表示します。
- Template:Sfnp:年を丸括弧で括って表示します。
- Template:SfnRef