Template:If checkuser/doc
Jump to navigation
Jump to search
![]() | This is a documentation subpage for Template:If checkuser. It contains usage information, categories and other content that is not part of the original template page. |
![]() | 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 |
See also