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...") |
|||
(3 intermediate revisions by the same user not shown) | |||
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 Templates]</ref></nowiki> | |||
Then add {{tl|reflist}} to the end of your article for a single column of references | |||
or, | |||
:<nowiki>{{reflist|2}}</nowiki> for 2 columns | |||
:<nowiki>{{reflist|4}}</nowiki> for 4 columns | |||
::etc. | |||
== Example == | |||
It's so darn simple<ref>[http://wiki.talossa.com 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>[http://wiki.talossa.com Magna platea ornare duis malesuada venenatis himenaeos nullam rhoncus ullamcorper neque]</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> |
Latest revision as of 08:35, 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 Templates]</ref>
Then add {{reflist}} to the end of your article for a single column of references
or,
- {{reflist|2}} for 2 columns
- {{reflist|4}} for 4 columns
- etc.
Example
It's so darn 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
- ↑ 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