Template:If IP
You are not logged in.You are currently logged in.
Template:Documentation subpage Template:Never substitute
Usage
Example: Template:Tlx
By default, Template:Tag tags are used to wrap the specified content. |tag=div
can be used if the content contains block-level elements.
TemplateData
<templatedata> { "params": { "1": { "label": "If IP", "description": "Wikitext to display if user is not logged in", "type": "content", "suggested": true, "aliases": [ "yes" ] }, "2": { "label": "If user", "description": "Wikitext to display if user is logged in", "type": "content", "suggested": true, "aliases": [ "no" ] }, "tag": { "description": "Changes the HTML tag used", "example": "div", "default": "span" } }, "description": "Displays wikitext based on whether or not a user is logged in." } </templatedata>
See also
- Template:IsIPAddress
- Template:Must log in – wrapper that instructs logged out users that they must log in to proceed
- Template:T
- Template:T
- Wikipedia:User access levels
The above documentation is transcluded from Template:If IP/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |