Template:Ref/doc

From comp.tf
< Template:Ref
Revision as of 03:49, 21 May 2016 by Garlic (talk | contribs) (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>}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

How it works

<ref name="name">[link name]</ref>

See also

Template:Reflist