Difference between revisions of "Template:R from incorrect name"

From blackwiki
Jump to navigation Jump to search
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 {{#ifeq:{{{embed}}}|yes|erroneous name|'''[[: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
+
   |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.
Template documentation[create]