{{ safesubst:#invoke:Unsubst||date=__DATE__ |$B= {{#switch:¬
|¬={{#invoke:Category handler|main}} |SUBST=
}}{{#invoke:Category handler|main}}{{#if:citation needed
|[{{#if: |{{{pre-text}}} }}citation needed{{#if: | {{{post-text}}} }}]|
}}{{#invoke:Check for unknown parameters|check|unknown={{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template| | main | other }} }}
| main = | other | #default = }}|preview=Page using Template:Citation needed with unknown parameter "_VALUE_"|ignoreblank=y| date | name | reason }}}}