Template:If autoconfirmed/doc

From "PTTLink Wiki"
Jump to navigation Jump to search

Usage

Example: {{If autoconfirmed|text for autoconfirmed users|text for non-autoconfirmed users}}

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 autoconfirmed.

Template parameters

ParameterDescriptionTypeStatus
If autoconfirmed1

Wikitext to display if user is autoconfirmed

Contentsuggested
If not autoconfirmed2

Wikitext to display if user is not autoconfirmed (includes IPs)

Contentsuggested
Tagtag

Changes the HTML tag used

Default
span
Example
div
Unknownoptional

See also