TemplateStyles' src attribute must not be empty.

TemplateStyles' src attribute must not be empty.

TemplateStyles' src attribute must not be empty.

TemplateStyles' src attribute must not be empty.

Galat: tidak ada pintasan yang ditentukan |msg= parameter tidak ditentukan.

Instructions

beccè'

Example: To redirect from Category:Authors to Category:Writers, simply add the following to Category:Authors:

{{Category redirect|Writers}} or
{{Category redirect|Category:Writers}} with optional namespace prefix

This template adds category pages to Category:Wikipedia soft redirected categories.

If a category redirect exists but is not likely to be useful (see criteria in WP:Category redirects that should be kept), start a discussion at WP:CFD.

In the case of redirects that are resolved or otherwise used by other templates, consider also adding the template {{R from category navigation}} and/or {{R from template-generated category}} as the unnamed second parameter. For example, on Category:16th-century Czech people:

{{Category redirect | 16th-century people from Bohemia | {{R from category navigation}} }}

If more than one "R from" templates are applicable, as on Category:Years of the 19th century in Sri Lanka, do not use a pipe between the two. They should both be included in the second parameter:

{{Category redirect | Years of the 19th century in Ceylon | {{R from category navigation}} {{R from template-generated category}} }}

If a category redirect is intended to be kept when the above templates are not applicable, e.g. for alternative spellings, then add |keep=yes to suppress a deletion link that is usually displayed to administrators. It is not necessary to specify this when using the "R from" templates, because this function is switched on by their presence. It is not automatically enabled when a Wikidata item is attached to the category (see the next section), because caching issues often prevent the link from showing up when the category redirect was a temporary addition. If such a redirect should be kept, add |keep=yes.

Redirects with Wikidata items

beccè'

Redirects with Wikidata items are automatically categorized as such; there is no need to manually add {{soft redirect with Wikidata item}}. For an example, see Category:Fictional schoolchildren.

Templates in the target name

beccè'

Note that the use of multiple templates in the target name, or templates with any parameters, will prevent the redirect from being resolved by {{Resolve category redirect}}, as will the character |. Category redirects which cannot be resolved are tracked in Category:Wikipedia soft redirected categories which are not resolved correctly.

For more information, see Template:Resolve category redirect#Templates.

Errors

beccè'

Non-empty categories will be listed at TemplateStyles' src attribute must not be empty.

.

Additionally, Category:Wikipedia category-redirect box parameter needs fixing tracks five different errors with the category redirect box itself:

  • Infinite loops of length one will be listed at TemplateStyles' src attribute must not be empty.
  • Redirects with non-existent targets will be listed at TemplateStyles' src attribute must not be empty.
  • Templates with unknown parameters will be listed at TemplateStyles' src attribute must not be empty.
  • Category redirects which are not correctly resolved via {{resolve category redirect}} will be listed at TemplateStyles' src attribute must not be empty.
  • Double category redirects will be listed at TemplateStyles' src attribute must not be empty.

TemplateData

beccè'
Ariya dokumenna TemplateData ka'angghuy template nèka èghuna'aghi bi' VisualEditor tor alat laènna; see a monthly parameter usage report for this template in articles.

TemplateData untuk Category redirect

Marks category as a soft-redirect

Parameter templat

Templat ini lebih menyukai format parameter dalam satu baris.

ParameterKeteranganJenisStatus
Destination category1

Category that this category should redirect to (Category: prefix is optional)

Contoh
Category:Writers
Nama halamanwajib diisi
Redirect categories2

This parameter is for various {{redirect template}}s

Contoh
{{R from category navigation}}
Kataopsional
nocatnocat

If "true", suppresses categorization. This should only be used for examples.

Baku
false
Contoh
yes
Booleanopsional
keepkeep

If "true", hides the link for admins to delete the category if empty. This feature is automatically enabled if any {{redirect templates}} are supplied.

Baku
false
Booleanopsional

See also

beccè'