Difference between revisions of "Template:If checkuser/doc"

From "PTTLink Wiki"
Jump to navigation Jump to search
Mediawiki>TheresNoTime
(c)
 
m (1 revision imported)
 

Latest revision as of 19:13, 21 January 2022

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