Template:If checkuser/doc

From "PTTLink Wiki"
Jump to navigation Jump to search

Usage

Example: {{If checkuser|text for checkusers|text for 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
If not checkuser2

Wikitext to display if user is not a checkuser

Contentsuggested
Tagtag

Changes the HTML tag used

Default
span
Example
div
Unknownoptional

See also