<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://bsd.neuroinf.jp/w/index.php?action=history&amp;feed=atom&amp;title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88%3ARefn%2Fdoc</id>
	<title>テンプレート:Refn/doc - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://bsd.neuroinf.jp/w/index.php?action=history&amp;feed=atom&amp;title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88%3ARefn%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://bsd.neuroinf.jp/w/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Refn/doc&amp;action=history"/>
	<updated>2026-04-18T06:02:14Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://bsd.neuroinf.jp/w/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Refn/doc&amp;diff=36056&amp;oldid=prev</id>
		<title>WikiSysop: 1版</title>
		<link rel="alternate" type="text/html" href="https://bsd.neuroinf.jp/w/index.php?title=%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88:Refn/doc&amp;diff=36056&amp;oldid=prev"/>
		<updated>2016-06-05T17:28:33Z</updated>

		<summary type="html">&lt;p&gt;1版&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===Purpose===&lt;br /&gt;
This template is used to [[Help:Footnotes|create footnotes in Wikipedia]], as an alternative and complement to the {{tag|ref|o}} tag. [[:mw:Extension:Cite/Cite.php#Substitution and embedded parser functions|Because of a technical limitation]], some of the standard Wikipedia markup elements that are often used in the article prose do not work within a set of {{tag|ref}} tags, including but not limited to [[Help:Pipe trick|the pipe trick]], [[Wikipedia:Substitution|template substitution]] and another &amp;quot;nested&amp;quot; set of {{tag|ref}} tags. For example, the following does not work as expected:&lt;br /&gt;
# {{tag|ref|content=&amp;lt;nowiki&amp;gt;[[Help:Footnotes|]]&amp;lt;/nowiki&amp;gt;}} (Generates: &amp;lt;nowiki&amp;gt;[[Help:Footnotes|]]&amp;lt;/nowiki&amp;gt; instead of a wikilink)&lt;br /&gt;
# {{tag|ref|content=&amp;lt;nowiki&amp;gt;{{SUBST:TODAY}}&amp;lt;/nowiki&amp;gt;}} (Generates: &amp;lt;nowiki&amp;gt;{{SUBST:TODAY}}&amp;lt;/nowiki&amp;gt; instead of the date that the edit was made)&lt;br /&gt;
# {{tag|ref|content=&amp;lt;nowiki&amp;gt;Explanatory footnote&amp;lt;ref&amp;gt;Citation&amp;lt;/ref&amp;gt;&amp;lt;/nowiki&amp;gt;}} (Generates: &amp;lt;span style=&amp;quot;font-weight: bold; color: #CC0000;&amp;quot;&amp;gt;Cite error: A &amp;amp;lt;ref&amp;amp;gt; tag is missing the closing &amp;amp;lt;/ref&amp;amp;gt; (see the [[:Help:Cite errors/Cite error included ref|help page]]).&amp;lt;/span&amp;gt; &amp;amp;lt;/ref&amp;amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Replacing the outermost {{tag|ref}} set with {{tlp|Refn}} allows for the use of the markup elements listed above.&lt;br /&gt;
&lt;br /&gt;
===Usage===&lt;br /&gt;
{{tld|refn|2=group=groupname|3=name=name|4=Contents of the footnote|allowlinebreak=yes}}&lt;br /&gt;
&lt;br /&gt;
:* &amp;#039;&amp;#039;&amp;#039;groupname&amp;#039;&amp;#039;&amp;#039;: Groupname per [[WP:REFGROUP]]; if not specified, then the main and nested references will be rendered into the same reference list&lt;br /&gt;
:* &amp;#039;&amp;#039;&amp;#039;name&amp;#039;&amp;#039;&amp;#039;: Reference name per [[WP:REFNAME]]&lt;br /&gt;
&lt;br /&gt;
{{refname rules}}&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
====Footnotes with citations====&lt;br /&gt;
{{markup&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;An example.{{refn|group=note|name=first|A note.&amp;lt;ref&amp;gt;An included reference.&amp;lt;/ref&amp;gt;}}&lt;br /&gt;
Another example.{{refn|group=note|Another note.&amp;lt;ref&amp;gt;Another included reference.&amp;lt;/ref&amp;gt;}}&lt;br /&gt;
A third example.{{refn|group=note|The third note.&amp;lt;ref&amp;gt;The reference in the third note.&amp;lt;/ref&amp;gt;}}&lt;br /&gt;
Repeating the first example.{{refn|group=note|name=first}}&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
{{reflist|group=note}}&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|An example.{{refn|group=note|name=first|A note.&amp;lt;ref&amp;gt;An included reference.&amp;lt;/ref&amp;gt;}}&lt;br /&gt;
Another example.{{refn|group=note|Another note.&amp;lt;ref&amp;gt;Another included reference.&amp;lt;/ref&amp;gt;}}&lt;br /&gt;
A third example.{{refn|group=note|The third note.&amp;lt;ref&amp;gt;The reference in the third note.&amp;lt;/ref&amp;gt;}}&lt;br /&gt;
Repeating the first example.{{refn|group=note|name=first}}&lt;br /&gt;
&lt;br /&gt;
{{fake heading|sub=3|Notes}}&lt;br /&gt;
{{reflist|group=note}}&lt;br /&gt;
&lt;br /&gt;
{{fake heading|sub=3|References}}&lt;br /&gt;
{{reflist|close=1}}&lt;br /&gt;
}}&lt;br /&gt;
====Substitution====&lt;br /&gt;
The first example shows that substitution does not work in a regular {{tag|ref}} tag (the accessdate does not appear correctly). The second example shows that the accessdate is substituted correctly within {{tl|refn}}.&lt;br /&gt;
&lt;br /&gt;
{{markup&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;&amp;lt;ref&amp;gt;{{cite web |accessdate={{Subst:TODAY}} |title=Languages |work=Apache HTTP Server |agency=Ohloh |publisher= Black Duck Software |url=https://www.ohloh.net/p/apache/analyses/latest/languages_summary}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
{{reflist}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&amp;lt;ref&amp;gt;{{cite web |accessdate={{Subst:TODAY}} |title=Languages |work=Apache HTTP Server |agency=Ohloh |publisher= Black Duck Software |url=https://www.ohloh.net/p/apache/analyses/latest/languages_summary|template doc demo=true}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
{{reflist|close=1}}&lt;br /&gt;
&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;{{refn|{{cite web |accessdate={{Subst:TODAY}} |title=Languages |work=Apache HTTP Server |agency=Ohloh |publisher= Black Duck Software |url=https://www.ohloh.net/p/apache/analyses/latest/languages_summary}}}}&lt;br /&gt;
{{reflist}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|{{refn|{{cite web |accessdate=4 April 2014 |title=Languages |work=Apache HTTP Server |agency=Ohloh |publisher= Black Duck Software |url=https://www.ohloh.net/p/apache/analyses/latest/languages_summary}}}}&lt;br /&gt;
{{reflist|close=1}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Errors===&lt;br /&gt;
If the reference or note content is missing, then &amp;quot;Cite error: Invalid {{tag|ref|open}} tag; refs with no name must have content.&amp;quot; will be displayed.&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
{{#lst:Help:Cite errors/Cite error group refs without references|rlt}}&lt;br /&gt;
&lt;br /&gt;
{{Wikipedia referencing}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Footnote templates]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
</feed>