This function is intended to be used in for templates which wrap other citation templates. It outputs its argument unless configures a page-wide mode on the current page, in which case it outputs nothing. The effect of this is that templates invoking this module do not set a mode, allowing the parent template to obey the page-wide mode set in .
Wrapper templates should not attempt to access directly, because this would cause them to be incorrectly added to .
<nowiki>{{</nowiki>#invoke:Citation mode|main|mode<nowiki>}}</nowiki>
returns empty if mode is set on page, otherwise returns mode argument.