Difference between revisions of "Template:Ref/doc"

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
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]]

Revision as of 03:52, 21 May 2016

Template:Ref is used for single refs/citations.

Usage

{{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

Inline citation

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

References section

{{reflist|1}}

See also

Template:Reflist