Toggle search
Search
Toggle menu
notifications
Toggle personal menu
Editing
Template:Reflist/Documentation
Template page
Views
Read
Edit source
View history
associated-pages
Template
Discussion
More actions
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!
Use this template to create a reference list in an article. If used with no parameters, it will simply produce a reference list in a small font. For more information see [[StrategyWiki:Guide/References]]. ==Usage== <nowiki>==Content==</nowiki> Lorem ipsum.<nowiki><ref>Source name, access date, etc.</ref></nowiki><ref>Source name, access date, etc.</ref> Lorem ipsum dolor sit amet.<nowiki><ref>Source name, access date, etc.</ref></nowiki><ref>Source name, access date, etc.</ref> <nowiki>==References==</nowiki> <nowiki>{{reflist}}</nowiki> ==Reusing references== You can specify a reference to use with multiple <nowiki><ref></nowiki> tags by using the <code>name</code> parameter. Put the text of the reference into the first reference to use the name, and then in any further instances of the reference, you can use just the name without the text and they will share the note in the reflist.<nowiki><ref name="example">example of a named reference</ref></nowiki><ref name="example">example of a named reference</ref> Now that a reference is named, it can be used again by sharing the <code>name</code> parameter. Use a self-closing <nowiki><ref></nowiki> tag by including a space and a forward slash at the end of the tag. You will be able to see that both this ref tag and the previous one share the same number.<nowiki><ref name="example" /></nowiki><ref name="example" /> ==Multiple columns== :'''''Note:''' Multiple columns currently render properly only in Mozilla Firefox, in other browsers the reflist will be treated as a single column.'' Using <tt><nowiki>{{reflist|2}}</nowiki></tt> will create a two-column reference list, and <tt><nowiki>{{reflist|3}}</nowiki></tt> will create a three-column list. Using <tt><nowiki>{{reflist|colwidth=30em}}</nowiki></tt> will allow the browser to automatically choose the number of columns based on the width of the web browser. Choose a column width that's appropriate for the average width of the references on the page. ==References== This is a list of references from this page using the <code><nowiki>{{reflist}}</nowiki></code> template: {{reflist}} <noinclude>[[Category:Template documentation|R]]</noinclude>
Summary:
Please note that all contributions to Turing Complete are considered to be released under the Creative Commons Attribution-ShareAlike (see
TuringComplete: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)
Template used on this page:
Template:Reflist
(
edit
)