Template:Ref

==Examples== For a chapter with an excerpt,  gives this.

To include a direct link to the chapter, prefix the chapter name with a hash. For example,  gives this. Note that, for this to work: (a) DPL must be enabled; (b) the referenced chapter's article must have a Infobox chapter with the  parameter set; and (c) the value of that   parameter must be a bare URL (i.e.   instead of  ).

For a chapter without an excerpt,  gives this. (Note the first argument is blank.)

For an external link with an excerpt,  gives this.

For an external link without an excerpt,  gives this. (Note the first argument is blank.)

Names are automatically generated for each reference. Duplicates of the above give these.

To override the generated name, pass a non-empty  as a template parameter. To suppress the generated name, pass an empty. For example,  gives this.

To reuse a manually named reference,  gives this.

Sub-templates

 * Template:Ref/Content
 * Template:Ref/Name