ਫਰਮਾ:Category redirect/doc
ਇਹ ਇੱਕ ਫਰਮਾ:Category redirect ਲਈ documentation ਉਪ ਸਫ਼ਾ ਹੈ। ਇਸ ਵਿੱਚ ਵਰਤੋਂ ਦੀ ਜਾਣਕਾਰੀ, ਸ਼੍ਰੇਣੀਆਂ ਅਤੇ ਹੋਰ ਸਮੱਗਰੀ ਜੋ ਮੂਲ ਦਾ ਹਿੱਸਾ ਨਹੀਂ ਹੈ, ਸ਼ਾਮਲ ਹੈ। ਫਰਮਾ page. |
This template is used on approximately 89,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template should not be substituted. |
Instructions
[ਸੋਧੋ]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), tag it with {{db-c1}} for deletion.
If a category redirect is intended to be kept, then add |keep=yes
to suppress a deletion link that is usually displayed to administrators.
In the case of redirects that are resolved or otherwise used by other templates, consider also adding the template {{R from category navigation}} within an {{Rcat shell}}.
Templates in the target name
[ਸੋਧੋ]Note that the use of templates in the target name will prevent the redirect from being resolved by {{Resolve category redirect}}, as will the characters |
or !
.
For more info, see Template:Resolve category redirect#Templates.
Exceptions
[ਸੋਧੋ]- Non-empty categories will be listed at ਸ਼੍ਰੇਣੀ:Wikipedia non-empty soft redirected categories ( 0 ).
- Infinite loops of length 1 will be listed at ਸ਼੍ਰੇਣੀ:Wikipedia category-redirect box parameter needs fixing ( 26 ) under ∞.
- Redirects with non-existent targets will be listed at ਸ਼੍ਰੇਣੀ:Wikipedia category-redirect box parameter needs fixing ( 26 ) under ∃.
TemplateData
[ਸੋਧੋ]TemplateData for Category redirect
Marks category as a soft-redirect
ਮਾਪਦੰਡ | ਵੇਰਵਾ | ਕਿਸਮ | ਦਰਜਾ | |
---|---|---|---|---|
Destination category | 1 | Category that this category should redirect to
| Page name | required |
nocat | nocat | no description | Unknown | optional |