Template:Voidd/doc
This is a documentation subpage for Template:Voidd. It contains usage information, categories, and other content that is not part of the original template page. |
This template consists of an if-construct without then- or else-part, where the evaluation of the condition involves the evaluation of the parameter 1. Thus it does not return any result, but it forces the evaluation of the parameter.
Usage
editA call of this template with the call of another template as parameter has a functionality that is similar to that of a hidden category. Regardless of existence and content of the template, nothing is returned, but nevertheless the calling page is listed in Whatlinkshere applied to the target page, even if that does not exist. Also, in a preview of the calling page the target template is listed in the "Templates used" list.
This template can for example be used for monitoring parameter usage.
"{{voidd|{{voidd/demo}}}}"
gives "" [1]
Special:Whatlinkshere/Template:Voidd/demo
See also
edit- Template:Void
- w:Template:Voidd
- Template:T optional parameter demo - demo of the usage of this template