Template:Reflist: Difference between revisions

From TalossaWiki
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
Include references in your article text by adding ref links after the word or sentence to be referenced:
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>
  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 single column of references.
Then add {{tl|reflist}} to the end of your article for a single column of references


or  
or,
:<nowiki>{{reflist|2}}</nowiki> for 2 columns
:<nowiki>{{reflist|2}}</nowiki> for 2 columns
:<nowiki>{{reflist|4}}</nowiki> for 4 columns
:<nowiki>{{reflist|4}}</nowiki> for 4 columns
Line 17: Line 17:


== Example ==
== 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>&mdash;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>
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>&mdash;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}}
{{reflist|4}}
[[Category:Structural templates|{{PAGENAME}}]]</noinclude>
[[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]

  1. Porta vulputate condimentum eget est sociosqu enim felis ultricies quisque mollis tristique class
  2. Aenean eget praesent mauris nullam donec ornare amet tempor lacinia congue dolor aliquam id
  3. Diam nullam aptent nec ac feugiat, aptent velit urna tincidunt dictumst, augue magna vestibulum nisl
  4. Magna platea ornare duis malesuada venenatis himenaeos nullam rhoncus ullamcorper neque
  5. Quis laoreet nostra dapibus ultrices sociosqu praesent suscipit condimentum aliquam
  6. Nisl ultrices libero amet elit pharetra purus ut
  7. Maecenas vitae habitant sagittis etiam porta id orci odio, pulvinar sagittis vehicula nec porta porttitor