Here is an example citation generated by Sourcer for a 1950 census. Of course it can be formatted many different ways depending on the Sourcer option settings.
In the 1950 census Harry (age 27), Letter Corrier, was the married head of household in Wilmington, New Castle, Delaware, United States.<ref>
'''1950 Census''':
"United States 1950 Census"<br/>
citing Page: 1; Line: 18;<br/>
{{FamilySearch Record|6XLW-3K73}} (accessed 9 November 2022)<br/>
{{FamilySearch Image|3QHK-9QH4-WFSG}}<br/>
Harry E Warren (27), married, Letter Corrier, head of household in Wilmington, New Castle, Delaware, United States. Born in Pennsylvania.
</ref>
The image template works correctly for me and will open the image.