Difference between revisions of "Template:Ref"

From comp.tf
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<includeonly><ref name="{{{1|}}}">[<noinclude>http://</noinclude>{{{2|}}}<noinclude>/</noinclude> {{{1|}}}]</ref></includeonly><noinclude>[[Category:Template]][[Category:Templates]]{{documentation}}</noinclude>
+
<includeonly><ref name="{{{1|}}}"><nowiki>[</nowiki><noinclude>http://</noinclude>{{{2|}}}<noinclude>/</noinclude> {{{1|}}}<nowiki>]</nowiki></ref></includeonly><noinclude>[[Category:Template]][[Category:Templates]]{{documentation}}</noinclude>

Revision as of 04:37, 21 May 2016

(view - edit) Documentation

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/}}
abc[1]

References section

{{reflist|1}}

See also

Template:Reflist