Difference between revisions of "Template:Ref/doc"

From comp.tf
Jump to navigation Jump to search
m
m (Undo revision 30810 by Garlic (talk))
 
Line 6: Line 6:
 
==Example==
 
==Example==
 
===Inline citation===
 
===Inline citation===
<code><nowiki>abc{{ref|name=ETF2L announces Season 24|link=http://www.teamfortress.tv/33407/}}</nowiki></code><br />
+
<code><nowiki>abc{{ref|ETF2L announces Season 24|http://www.teamfortress.tv/33407/}}</nowiki></code><br />
abc{{ref|name=ETF2L announces Season 24|link=http://www.teamfortress.tv/33407/}}
+
abc{{ref|ETF2L announces Season 24|http://www.teamfortress.tv/33407/}}
 
===References section===
 
===References section===
 
<code><nowiki>{{reflist|1}}</nowiki></code>
 
<code><nowiki>{{reflist|1}}</nowiki></code>

Latest revision as of 03:59, 21 May 2016

Template:Ref is used for single refs/citations.

Usage[edit]

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

Inline citation[edit]

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

References section[edit]

{{reflist|1}}

See also[edit]

Template:Reflist