Slightly different from Gaile's response, but the intent is to use the Template within a source citation.
As an example, using {{Ancestry Record|6224|32191164}}:
Ancestry.com. 1930 United States Federal Census [database on-line]. Provo, UT, USA: Ancestry.com Operations Inc, 2002. Year: 1930; Census Place: Liberty, Woodbury, Iowa; Page: 2B; Enumeration District: 0014; FHL microfilm: 2340424 {{Ancestry Record|6224|32191164}}
So the same would apply for an image, as an example:
Ancestry.com. 1930 United States Federal Census [database on-line]. Provo, UT, USA: Ancestry.com Operations Inc, 2002. Year: 1930; Census Place: Liberty, Woodbury, Iowa; Page: 2B; Enumeration District: 0014; FHL microfilm: 2340424 {{Ancestry Image|6224|32191164}}