Difference between revisions of "Template:Category redirect"
From CannaQAWiki
Jump to navigationJump to searchShawndouglas (talk | contribs) m (Protected "Template:Category redirect" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
Shawndouglas (talk | contribs) (Cleaned up initial import) |
||
Line 11: | Line 11: | ||
-->{{#ifexist:Category:{{{1}}} | -->{{#ifexist:Category:{{{1}}} | ||
| | | | ||
| [[Category: | | [[Category:CannaQAwiki category-redirect box parameter needs fixing|∃{{PAGENAME}}]] | ||
}}<!-- | }}<!-- | ||
Reporting circular redirects (of length 1): | Reporting circular redirects (of length 1): | ||
-->{{#ifeq:{{ucfirst:{{{1}}}}}|{{PAGENAME}}|[[Category: | -->{{#ifeq:{{ucfirst:{{{1}}}}}|{{PAGENAME}}|[[Category:CannaQAwiki category-redirect box parameter needs fixing|∞{{PAGENAME}}]]}} | ||
| :::::This template should only be used on category pages. | | :::::This template should only be used on category pages. | ||
}}{{category handler | }}{{category handler | ||
|all = {{#ifexpr:{{PAGESINCATEGORY:{{PAGENAME}}}} | |all = {{#ifexpr:{{PAGESINCATEGORY:{{PAGENAME}}}} | ||
|[[Category: | |[[Category:CannaQAwiki non-empty soft redirected categories]] | ||
}}[[Category: | }}[[Category:CannaQAwiki soft redirected categories]] | ||
|nocat={{{nocat|}}} | |nocat={{{nocat|}}} | ||
}}<noinclude> | }}<noinclude> |
Latest revision as of 16:34, 16 March 2019
This category is located at [[:Category:{{{1}}}]].
|
- This template should only be used on category pages.
[edit] [ ] Template documentation
Not to be confused with Template:Redirect category.
Instructions
Example: To redirect from Category:LIMS to Category:Laboratory information management systems, simply add the following to Category:LIMS:
{{Category redirect|Laboratory information management systems}}
Do not substitute this template.
This template adds category pages to Category:CannaQAwiki soft redirected categories.
Exceptions
- Non-empty categories will be listed at Category:CannaQAwiki non-empty soft redirected categories
- Infinite loops of length 1 will be listed at Category:CannaQAwiki category-redirect box parameter needs fixing under ∞.
- Redirects with non-existent targets will be listed at Category:CannaQAwiki category-redirect box parameter needs fixing under ∃.
See also
The above documentation is transcluded from Template:Category redirect/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |