Help:FootnoteWithCitation

Introduction
Sometimes, it may be helpful to include a citation within the text of a footnote. The citation would then point to an entry in the "References" section of the page. With the default syntax described in Help:Citations, References, and Footnotes, this is not possible. However, there is a way to accomplish this goal, though the syntax is not simple. Template:FootnoteWithCitation is intended to streamline the process of creating this type of footnote.

Usage
Calls to this template should be made at the location where the footnote's citation will appear. It requires two parameters (the contents of the footnote and the name of the reference that will be inserted into the "References" section). The template assumes that footnotes use "Note" as their group name and regular references have no group attribute. Note: After calling this template, please do not forget to insert the reference text in the "References" section.

Parameters

 * footnoteText
 * The text content that appears in the footnote.


 * citationName
 * The name of the reference that will be added to the "References" section

Example
First, here is the planned example without any template evaluation or formatting applied: This sentence has a footnote at the end.

...

Reference
That text will result in the following:

This sentence has a footnote at the end.

...