Template:If IP

From blackwiki
Revision as of 13:46, 11 January 2021 by imported>Samsara (Protected "Template:If IP": cascading protection from Template:TFA-editnotice per request at RfPP ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

You are not logged in.You are currently logged in.

Template documentation[view] [edit] [history] [purge]

Usage

Example: {{If IP|text for IP users|text for logged in 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 logged in.

Template parameters

ParameterDescriptionTypeStatus
If IP1

Wikitext to display if user is not logged in

Contentsuggested
If user2

Wikitext to display if user is logged in

Contentsuggested
Tagtag

Changes the HTML tag used

Default
span
Example
div
Unknownoptional

See also