Template:Category redirect: Difference between revisions

From OpenStreetMap Wiki
Jump to navigation Jump to search
mNo edit summary
(Only prefix Category: namespace if not already provided)
 
Line 27: Line 27:
| ja = このカテゴリは移動したか、他のカテゴリに統合されたかしたため、ページを含めておくべきではありません。このカテゴリに所属しているページはすべて、以下のカテゴリに移動してください。
| ja = このカテゴリは移動したか、他のカテゴリに統合されたかしたため、ページを含めておくべきではありません。このカテゴリに所属しているページはすべて、以下のカテゴリに移動してください。
| ru = Эта категория была переименована или перенесена, и больше не должна содержать любых страниц-членов или подкатегорий. Все страницы, которые могут по-прежнему относиться к этой категории, должны быть помещены в:
| ru = Эта категория была переименована или перенесена, и больше не должна содержать любых страниц-членов или подкатегорий. Все страницы, которые могут по-прежнему относиться к этой категории, должны быть помещены в:
}}<br /> '''[[:Category:{{{1}}}]]'''
}}<br /> '''[[:{{#ifeq:{{NAMESPACE:{{{1}}}}}|Category||Category:}}{{{1}}}]]'''
}}<!--
}}<!--
-->{{#ifeq:{{NAMESPACE}}|Category|<!--
-->{{#ifeq:{{NAMESPACE}}|Category|<!--
-->{{#ifexist:Category:{{{1}}}||[[Category:Soft-redirected categories with missing target category|{{PAGENAME}}]]}}<!--
-->{{#ifexist:{{#ifeq:{{NAMESPACE:{{{1}}}}}|Category||Category:}}{{{1}}}||[[Category:Soft-redirected categories with missing target category|{{PAGENAME}}]]}}<!--
-->{{#ifexpr:{{PAGESINCATEGORY:{{#sub:{{#titleparts:{{FULLPAGENAME}}}}|9}}|R}}>0<!--
-->{{#ifexpr:{{PAGESINCATEGORY:{{#sub:{{#titleparts:{{FULLPAGENAME}}}}|9}}|R}}>0<!--
-->|[[Category:Soft-redirected categories still containing pages|{{PAGENAME}}]][[Category:{{{1}}}|←]]<!--
-->|[[Category:Soft-redirected categories still containing pages|{{PAGENAME}}]][[{{#ifeq:{{NAMESPACE:{{{1}}}}}|Category||Category:}}{{{1}}}|←]]<!--
-->|[[Category:Soft-redirected categories no longer containing pages|{{PAGENAME}}]]<!--
-->|[[Category:Soft-redirected categories no longer containing pages|{{PAGENAME}}]]<!--
-->}}<!--
-->}}<!--

Latest revision as of 17:00, 12 August 2023

Redirect arrow without text.svg

Redirected category edit
This category has been renamed or merged into another one and should no longer contain any member pages. All member pages which may still belong to this category should now be placed into:
[[:Category:{{{1}}}]]

[Edit] [Purge] Template-info.svg Template documentation

Template used to soft redirect a category page without content to another category page. (No automatic redirection.)

Template parameters

ParameterDescriptionTypeStatus
11

redirection target in Category: namespace

Example
France
Page namerequired
langlang

language code, use if the language inferred from the page title is not correct

Default
en
Example
uk
Stringoptional

Usage

This template should be used as the only content remaining in the category page that has been renamed or merged into another one indicated in parameter.

Syntax

{{Category redirect|target}}
Replace target with the bare target category name (without the implied "Category:" prefix).

Outcome

Tagged categories will appear in subcategories of Category:Soft-redirected categories:

Example

A category page like Category:Frankreich containing: {{Category redirect|France}} will render as:
Redirect arrow without text.svg

Redirected category edit
This category has been renamed or merged into another one and should no longer contain any member pages. All member pages which may still belong to this category should now be placed into:
Category:France