Template:Ref

From OniGalore

A shortcut for creating a reference in an article. Call this with the syntax {{ref|Text of your reference.}} to place a ref in an article, and then list the references at the end of the article using Template:Reflist.

If the text that you pass in contains a '=' or '|' (pipe), you need to escape them because they have special meanings in template calls. Equals signs can occur in URLs, so you will encounter this situation when writing citation references. The equals sign is escaped with the use of {{=}} and the pipe with {{!}}.

If you plan to list the article's references in separate groups at the bottom of the article, use the "group" parameter to assign refs to each group: {{ref|group=group_name|Text of your reference.}}. See Oni for an example of using Ref and Reflist to do this.

If you want your references to use letters instead of numbers, use {{ref|alpha=yes|Text of your reference.}}. See Quotes/Manual for an example of how to use Ref and Reflist to do this.