Difference between revisions of "Template:R from incorrect name"
Jump to navigation
Jump to search
Template documentation[create]
test>Petr Matas (Avoid code repetition. This edit should not change the template's behavior in any way) |
test>Petr Matas (Simplifying the code using the {{Bold link if not equal}} template. This edit should not change the template's behavior in any way) |
||
| Line 2: | Line 2: | ||
|embed={{{embed|}}} | |embed={{{embed|}}} | ||
|{{#ifeq:{{{embed}}}|yes|name}}=From incorrect name | |{{#ifeq:{{{embed}}}|yes|name}}=From incorrect name | ||
| − | |from=an {{ | + | |from=an {{Bold link if not equal|{{{embed}}}|yes|:Category:Redirects from incorrect names|erroneous name}}, i.e., either an incorrect name or a title that is unsuitable as a ''Wikipedia'' article title or other project page name |
|info=The correct name is {{#if:{{{1|}}}|<big>{{maroon|{{{1}}}}}</big>|given by the target of the redirect}}. Pages that use this link should be updated to link directly to the target without the use of a [[WP:piped link|piped link]] that hides the correct details. {{#ifeq:{{{embed}}}|yes||For more information follow the category link.}} | |info=The correct name is {{#if:{{{1|}}}|<big>{{maroon|{{{1}}}}}</big>|given by the target of the redirect}}. Pages that use this link should be updated to link directly to the target without the use of a [[WP:piped link|piped link]] that hides the correct details. {{#ifeq:{{{embed}}}|yes||For more information follow the category link.}} | ||
<includeonly> | <includeonly> | ||
Revision as of 00:35, 21 October 2014
- This is a redirect from an erroneous name, i.e., either an incorrect name or a title that is unsuitable as a Wikipedia article title or other project page name. The correct name is given by the target of the redirect. Pages that use this link should be updated to link directly to the target without the use of a piped link that hides the correct details. For more information follow the category link.
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |