Template:Redirect other/doc

Usage
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:

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

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

will display  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
{	"params": { "1": {			"label": "On redirect", "description": "The text that's shown when the template is used on a redirect.", "type": "unbalanced-wikitext" },		"2": {			"label": "On non-redirect", "description": "The text that's shown when the template is used on a non-redirect.", "type": "unbalanced-wikitext" }	},	"description": "Displays different content based on whether it is used on a redirect or not.", "format": "inline" }