Template:If checkuser
Revision as of 02:57, 15 February 2022 by Wikipedia>Mz7 (removing second parameter—it will not work because there is no "noncheckuser-show" CSS class in MediaWiki:Group-checkuser.css: see also discussion at MediaWiki talk:Common.css#Interface-protected edit request on 14 February 2022)
You are a checkuser.
| This template should not be substituted. |
Usage
Example: {{If checkuser|text for checkusers}} will display the content "text for checkusers" to checkusers but will hide the text from non-checkusers.
By default, <span>...</span> tags are used to wrap the specified content. |tag=div can be used if the content contains block-level elements.
TemplateData
Displays wikitext based on whether or not a user is a checkuser.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| If checkuser | 1 | Wikitext to display if user is a checkuser | Content | suggested |
| tag | tag | Changes the HTML tag used
| Unknown | optional |