Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 TemplateData  





3 See also  














Template:If IP






تۆرکجه

Bosanski
الدارجة
Ελληνικά
فارسی

Hrvatski
Bahasa Indonesia

 / کٲشُر
Kurdî
Кыргызча

Македонски
Bahasa Melayu


پښتو

Русский

Simple English
Slovenščina
 

Tiếng Vit


 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


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

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

ParameterDescriptionTypeStatus
If IP1 yes

Wikitext to display if user is not logged in

Contentsuggested
If user2 no

Wikitext to display if user is logged in

Contentsuggested
tagtag

Changes the HTML tag used

Default
span
Example
div
Unknownoptional

See also


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:If_IP&oldid=1028110815"

Category: 
If-then-else templates
Hidden categories: 
Wikipedia template-protected templates
Wikipedia never substituted templates
Navboxes using background colours
 



This page was last edited on 11 June 2021, at 22:40 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki