Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Help:Footnotes
(section)
Help page
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
Move
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Footnotes: embedding references== {{shortcut|WP:REFNEST}} {{See also|WP:Nesting footnotes}} [[Help:Explanatory notes|Explanatory notes]] may need to be referenced. Because of limitations in the {{cite.php}} software, reference tags cannot be nested; that is, a set of {{tag|ref}} tags cannot be placed inside another pair of {{tag|ref}} tags. Attempting to do so will result in a cite error. The templates {{tl|r}} and {{tl|refn}} can be used to nest references. The markup is: :{{tlx|refn|2=group=''group''|3=name=''name''|4=''content''}} or :{{tlx|r|2=group=''group''|3=name=''name''|4=refn=''content''}} or :{{tlx|r|2=g=''group''|3=n=''name''|4=r=''content''}} (shorter) ''name'' and ''group'' being optional parameters. The ''content'' may include {{tag|ref|o}} tags or another {{tl|r}} template. The other templates listed below in [[#Footnotes: predefined groups|Predefined groups]] are variants of {{tl|refn}} that include a styled group and have a matching styled reference list template. Examples: ===Using {{tl|refn}}=== {{markup |<nowiki>The quick brown fox jumps over the lazy dog.{{refn|group=nb|A footnote.<ref>A reference for the footnote.</ref>}} ==Notes== {{reflist|group=nb}} ==References== {{reflist}} </nowiki> |The quick brown fox jumps over the lazy dog.{{refn|group=nb|A footnote.<ref>A reference for the footnote.</ref>}} {{fake heading|sub=3|Notes}} {{reflist|group=nb}} {{fake heading|sub=3|References}} {{reflist}} }} ===Using {{tl|r}}=== {{markup |<nowiki>The quick brown fox jumps over the lazy dog.{{r|g=nb|r=A footnote.{{r|r=A reference for the footnote.}}}} ==Notes== {{reflist|group=nb}} ==References== {{reflist}} </nowiki> |The quick brown fox jumps over the lazy dog.{{r|g=nb|r=A footnote.{{r|r=A reference for the footnote.}}}} {{fake heading|sub=3|Notes}} {{reflist|group=nb}} {{fake heading|sub=3|References}} {{reflist}} }} The use of the magic word <code>#tag:ref</code> is valid, but the sequence of parameters is invariant and nonintuitive. {{tl|r}} as well as {{tl|refn}} and its variants use this markup internally. :<code>{{#tag:ref|<var>refcontent</var>|group=<var>groupname</var>|name=<var>name</var>}}</code> {{anchor|Grouping footnotes}}
Summary:
Please note that all contributions to Ikwipedia are considered to be released under the Creative Commons Attribution-ShareAlike (see
Ikwipedia:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Toggle limited content width