テンプレート:Sfn/doc

提供:Wikisource

{{Cite}}テンプレートで記述された参考文献に対し、本文中で脚注リンクを生成するテンプレートです。

機能的には、以下の二つの記述はおおよそ同様の出力です。

{{Sfn|著者名|著者年|パラメタ...}}
<ref name="(自動生成)">{{Harvnb|著者名|著者年|パラメタ...}}</ref>

使用法[編集]

「表示」側のそれぞれの脚注にあるリンクは実際に動作します。クリックすると対応する参考文献が表示され、そのテキストがハイライトされます。

入力 表示
記述{{sfn |Smith|2006| p=25}}。 記述[1]
  1. Smith 2006, p. 25.
記述{{sfn |Smith|2006| pp=25&ndash;26}}。 記述Lua エラー package.lua 内、80 行目: module 'Module:Citation/CS1/Utilities' not found数ページ参照
記述{{sfn |Smith|2006| loc=&sect;8.5}}。 記述[1]書籍内の章
  1. Smith 2006, §8.5.
記述{{sfn |Smith|2006| p=25}}。 記述[1]同書籍同ページの2番目の参照
  1. Smith 2006, p. 25.
記述{{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つの書籍
  1. Smith 1993a, p. 25.
  2. Smith 1993b, p. 32.
記述{{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|Brown|2006}}.</ref>。つづき<ref>{{harvnb|Smith|2006|p=25}}より引用。</ref>。 記述[1]。つづき[2]Combined footnotes and other situations where this template is inappropriate.
  1. Smith 2006, p. 25, Smith & Brown 2006.
  2. Smith 2006, p. 25より引用。
記述{{sfn|Smith|2005|p=101}}。 記述[1]|date = 引数でリンク
  1. Smith 2005, p. 101.
記述{{sfn|Smith|2009|p=101}}。 記述[1]|date = 引数でリンク、Month YYYY形式で記述
  1. Smith 2009, p. 101.
==参考文献==
* {{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 = <!-- harv -->{{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
}}

テンプレート:Fake heading

  • Smith, John (2006). Smith's Book 
  • Smith, John (2006年). “Smith & Jones website”. 2010年10月27日閲覧。
  • Smith, John; Jones, Sam; Brown, Tom (2009年). “Article by Smith, Jones and Brown”. Big Urban Newspaper 
  • Smith; Jones; Brown; Black (2006). “Smith, Jones, Brown and Black's Paper”. Important Journal. 
  • Smith, Karen (1993a). “Smythe's first paper”. Important Journal. 
  • Smith, Karen (1993b). “Smythe's second paper”. Another Important Journal. 
  • Solo, Han. “Freeze-Dried: My Story”. 2010年10月27日閲覧。
  • テンプレート:Cite magazine
  • テンプレート:Wikicite
  • Smith, Karen (11 May 2005). “Smyth 2005 first paper”. Important Journal. 
  • Smith, Karen (May 2009). “Smyth 2009 first paper”. Important Journal. 

関連項目[編集]