Template:Ref/doc: Difference between revisions

From comp.tf
Jump to navigation Jump to search
Created page with "'''Template:Ref''' is used for single refs/citations. ==Usage== <code><nowiki>{{ref|</nowiki>'''<nowiki>name</nowiki>'''<nowiki>|</nowiki>'''<nowiki>link</nowiki>'''<nowiki>}}..."
 
m Undo revision 30810 by Garlic (talk)
 
(4 intermediate revisions by the same user not shown)
Line 11: Line 11:
<code><nowiki>{{reflist|1}}</nowiki></code>
<code><nowiki>{{reflist|1}}</nowiki></code>
{{reflist|1}}
{{reflist|1}}
==How it works==
<code><nowiki><ref name="</nowiki>'''<nowiki>name</nowiki>'''<nowiki>">[</nowiki>'''<nowiki>link</nowiki>''' '''<nowiki>name</nowiki>'''<nowiki>]</ref></nowiki></code>
==See also==
==See also==
[[Template:Reflist]]
[[Template:Reflist]]

Latest revision as of 03:59, 21 May 2016

Template:Ref is used for single refs/citations.

Usage[edit source]

{{ref|name|link}}

  • name - The text to be displayed when the ref is referred to in the references section.
  • link - The desired URL for the ref.

Example[edit source]

Inline citation[edit source]

abc{{ref|ETF2L announces Season 24|http://www.teamfortress.tv/33407/}}
abchttp://www.teamfortress.tv/33407/

References section[edit source]

{{reflist|1}}

See also[edit source]

Template:Reflist