Thread:Project:Support desk/ How to use within parser function?/reply (6)

yes you could hack the cite extension. Most clean way i think would be to introduce a magic word which would be allowed in the #if test.

if you just want to add the header for all pages pn your wiki, you could try editing the page mediawiki:cite_references_prefix on your wiki.