Template:R from incorrect name: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>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
Ookami (talk | contribs)
m 47 revisions imported
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Redirect template
<noinclude>{{This is a redirect/rcat}}
  |embed={{{embed|}}}
</noinclude>{{Redirect template
   |{{#ifeq:{{{embed}}}|yes|name}}=From incorrect name
   |name=From an incorrect 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
   |from=an erroneous name either an incorrect name or a title that is unsuitable as a Wikipedia article title or other project page name – that serves readers because it is a good search term
   |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|{{{1}}}}}'''|given by the target of the redirect}}.
<includeonly>
** ''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.
  |all category=Redirects from incorrect names</includeonly>
  |all category={{#ifeq:{{{demo}}}|yes||Redirects from incorrect names}}
}}<includeonly>
  |printworthy={{#ifeq:{{{2}}}|printworthy|yes|no}}
{{Main other|{{{category|[[category:{{#ifeq:{{{2}}}|printworthy||un}}printworthy redirects]]}}}}}</includeonly><noinclude>
}}<noinclude>
<!-- Place categories on /doc subpage; interwikis go to Wikidata. -->
{{Documentation}}
{{Documentation}}
<!-- this is Template:R from incorrect name -->
</noinclude>
</noinclude>

Latest revision as of 14:39, 3 September 2020

When used with the "Redirect category shell" (Rcat shell) template:

Template {{Redirect category shell}} may be used to add one or more rcat templates, along with their parameters and categories, to a redirect. For more information see the documentation page below.

When used by itself:

  • From an incorrect name: This is a redirect from an erroneous name – either an incorrect name or a title that is unsuitable as a Wikipedia article title or other project page name – that serves readers because it is a good search term. 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.