Template:If checkuser/doc

From MOASSpedia
Jump to navigation Jump to search

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.

Template parameters

ParameterDescriptionTypeStatus
If checkuser1

Wikitext to display if user is a checkuser

Contentsuggested
tagtag

Changes the HTML tag used

Default
span
Example
div
Unknownoptional

See also