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!
==List-defined references== {{shortcut|WP:LDR}} {{main|Help:List-defined references}} Some or all of the footnotes can also be defined within the reference section/list, and invoked in the page content. This keeps those citations in one central location for easier maintenance and avoids cluttering the text. This is purely a source code change{{snd}}the actual display of the citation in the text to a reader is unaffected. ''Note that the Visual Editor is unable to create or edit list-defined references, and cannot show the reference text in preview or in the list-creation dialog for re-use of references. This will hamper users of the Visual Editor.'' For a more detailed evaluation of this method, see [[WP:LDRHOW]]. The syntax is: <syntaxhighlight lang="xml"> {{reflist|refs= <ref name="name1">Content</ref> <ref name="name2">Content</ref> <ref name="name...n">Content</ref> }} </syntaxhighlight> or, alternatively, <syntaxhighlight lang="xml"> <references> <ref name="name1">Content</ref> <ref name="name2">Content</ref> <ref name="name...n">Content</ref> </references> </syntaxhighlight> The footnote markers are included as usual for a named footnote. For example: {{markup |<nowiki>The quick brown fox jumps over the lazy dog.<ref name="LazyDog"/> Amazingly few discotheques provide jukeboxes.<ref name="Jukeboxes"/> How razorback-jumping frogs can level six piqued gymnasts.<ref name="JumpingFrogs"/> ==References== {{reflist|refs= <ref name="Jukeboxes">This is the jukeboxes reference.</ref> <ref name="LazyDog">This is the lazy dog reference.</ref> <ref name="JumpingFrogs">This is the jumping frogs reference.</ref> }}</nowiki> |The quick brown fox jumps over the lazy dog.<ref name="LazyDog"/> Amazingly few discotheques provide jukeboxes.<ref name="Jukeboxes"/> How razorback-jumping frogs can level six piqued gymnasts.<ref name="JumpingFrogs"/> {{fake heading|sub=3|References}} {{reflist|refs= <ref name="LazyDog">This is the lazy dog reference.</ref> <ref name="Jukeboxes">This is the jukeboxes reference.</ref> <ref name="JumpingFrogs">This is the jumping frogs reference.</ref> }}}} The references will be numbered, and appear in the output, ''in the order that they are first referred to in the content,'' regardless of their order within the list. All references in reference list must be referenced in the content, otherwise an error message will be shown. Note that when you use the visual editor, you will not be able to add, remove, or change list-defined references. {{anchor|Embedding references within 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