Jump to content
Wikipedia The Free Encyclopedia

Template:If autoconfirmed

From Wikipedia, the free encyclopedia

You are autoconfirmed.You are not autoconfirmed.

Template documentation[view] [edit] [history] [purge]
This template should not be substituted .

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[Edit template data ]

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

Namespace and pagename-detecting templates
Namespace
Particular
More generic
Pagename
When on basepage
Detects and acts according to whether it is on a basepage or on any subpage (that is, a ../.. subpage).
When pagename is
For pattern matching on the pagename.
Module:Page
Can take apart and put together pagenames in several ways.
IP-talk
Returns IP-user talkpage, registered-user talkpage or non-user talkpage.
IP-user other
For detecting IP-user pages.
Subpage other
Pagename has an after-slash part (not in mainspace)
Sandbox other
Page is subpage /sandbox (template space)
Testcases other
Page is subpage /testcases (template space)
Rootpage other
Page is rootpage (vs. /subpage) (template space)
Others
Stub other
Detects whether it is on a page with a stub template or not.
Redirect other
Detects whether it is on a redirect or not.
If preview
Detects whether page is viewed as a preview or not.
If IP
Displays different content to IP users and logged-in users.
If autoconfirmed
Displays different content to autoconfirmed and non-autoconfirmed users.
If extended confirmed
Displays different content to extended confirmed and non-extended confirmed users.
If administrator
Displays content only to admins.
If mobile
Displays different content to mobile users and desktop users.
If dark
Displays different content to dark mode users and light mode users.
Noscript
Detects whether page is viewed with a JavaScript-capable client or not.
The above documentation is transcluded from Template:If autoconfirmed/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.

AltStyle によって変換されたページ (->オリジナル) /