Template:Reflist: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<div class="references-small" {{#if: {{{colwidth|}}}| style="-moz-column-width:{{{colwidth}}}; -webkit-column-width:{{{colwidth}}}; column-width:{{{colwidth}}};" | {{#if: {{{1...") |
No edit summary |
||
Line 1: | Line 1: | ||
<div class="references-small" {{#if: {{{colwidth|}}}| style="-moz-column-width:{{{colwidth}}}; -webkit-column-width:{{{colwidth}}}; column-width:{{{colwidth}}};" | {{#if: {{{1|}}}| style="-moz-column-count:{{{1}}}; -webkit-column-count:{{{1}}}; column-count:{{{1}}} }};" |}}> | <div class="references-small" {{#if: {{{colwidth|}}}| style="-moz-column-width:{{{colwidth}}}; -webkit-column-width:{{{colwidth}}}; column-width:{{{colwidth}}};" | {{#if: {{{1|}}}| style="-moz-column-count:{{{1}}}; -webkit-column-count:{{{1}}}; column-count:{{{1}}} }};" |}}> | ||
<references /></div> | <references /></div><noinclude> | ||
An easy reference list, with optional multi-columns. | |||
==Usage== | |||
Include references in your article text by adding ref links after the word or sentence to be referenced: | |||
He makes a lot of wiki tools.<nowiki><ref>[http://somenews.com/article/43873459870 Man Creates Wiki Template]</ref></nowiki> | |||
Then add {{tl|reflist}} to the end of your article for single column of references. | |||
or | |||
:<nowiki>{{reflist|2}}</nowiki> for 2 columns | |||
:<nowiki>{{reflist|4}}</nowiki> for 4 columns | |||
::etc. | |||
== Example == | |||
It's so simple<ref>Porta vulputate condimentum eget est sociosqu enim felis ultricies quisque mollis tristique class</ref> that everyone<ref>Aenean eget praesent mauris nullam donec ornare amet tempor lacinia congue dolor aliquam id</ref> can use it<ref>Diam nullam aptent nec ac feugiat, aptent velit urna tincidunt dictumst, augue magna vestibulum nisl</ref>—even your dog<ref>[Magna platea ornare duis malesuada venenatis himenaeos nullam rhoncus ullamcorper neque Main Page]</ref>. Can your dog type?<ref>Quis laoreet nostra dapibus ultrices sociosqu praesent suscipit condimentum aliquam</ref> Mine can!<ref>Nisl ultrices libero amet elit pharetra purus ut</ref> One hundred and eighty words-per-minute!<ref>Maecenas vitae habitant sagittis etiam porta id orci odio, pulvinar sagittis vehicula nec porta porttitor</ref> | |||
{{reflist|4}} | |||
[[Category:Structural templates|{{PAGENAME}}]]</noinclude> |
Revision as of 08:31, 6 June 2014
An easy reference list, with optional multi-columns.
Usage
Include references in your article text by adding ref links after the word or sentence to be referenced:
He makes a lot of wiki tools.<ref>[http://somenews.com/article/43873459870 Man Creates Wiki Template]</ref>
Then add {{reflist}} to the end of your article for single column of references.
or
- {{reflist|2}} for 2 columns
- {{reflist|4}} for 4 columns
- etc.
Example
It's so simple[1] that everyone[2] can use it[3]—even your dog[4]. Can your dog type?[5] Mine can![6] One hundred and eighty words-per-minute![7]
- ↑ Porta vulputate condimentum eget est sociosqu enim felis ultricies quisque mollis tristique class
- ↑ Aenean eget praesent mauris nullam donec ornare amet tempor lacinia congue dolor aliquam id
- ↑ Diam nullam aptent nec ac feugiat, aptent velit urna tincidunt dictumst, augue magna vestibulum nisl
- ↑ [Magna platea ornare duis malesuada venenatis himenaeos nullam rhoncus ullamcorper neque Main Page]
- ↑ Quis laoreet nostra dapibus ultrices sociosqu praesent suscipit condimentum aliquam
- ↑ Nisl ultrices libero amet elit pharetra purus ut
- ↑ Maecenas vitae habitant sagittis etiam porta id orci odio, pulvinar sagittis vehicula nec porta porttitor