Wikipedia:Training/tour/citations5

That code will create a footnote. Now you need to make a section for footnotes to be displayed. (Most Wikipedia articles already have a section like this, so if you are adding references to an existing article that already has some, this step won't be necessary.)

At the end of the page, add a new section titled "References", and then put in the special reflist code, like this:

==References==
{{reflist}}