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  














Template:Redirect other







Add links
 









Template
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



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




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 



This template determines whether the page it is used on is a redirect or not. If it is used on a redirect, it returns its first parameter. Otherwise, it returns its second parameter. Either could be absent or empty.

For example:

{{Redirect other|yes|no}}

will display yes on a redirect and no on a non-redirect (test: on this page, it says "no");

{{Redirect other|text}}

will display text on a non-redirect, and nothing on a redirect (test: on this page, it says "text");

{{Redirect other|text}}

will display text on a redirect, and nothing on a non-redirect (test: on this page, it says "").

Remember to place a "1=" and/or "2=" prefix on the arguments if they contain equals signs.

TemplateData[edit]

Displays different content based on whether it is used on a redirect or not.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
On redirect1

The text that's shown when the template is used on a redirect.

Unbalanced wikitextoptional
On non-redirect2

The text that's shown when the template is used on a non-redirect.

Unbalanced wikitextoptional

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

Categories: 
Wikipedia metatemplates
Template namespace templates
Hidden category: 
Navboxes using background colours
 



This page was last edited on 22 July 2022, at 00:18 (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