Template:Category see also/Category pair check: Difference between revisions
From Vigyanwiki
(Created page with "<noinclude>{{pp-template|small=yes}}</noinclude><includeonly>{{#ifeq: {{NAMESPACE}} | Category |<!-- -->{{#if: {{#invoke:String|match|{{BASEPAGENAME}}|%d+[snrt][tdh]%-century...") |
m (1 revision imported from alpha:Template:Category_see_also/Category_pair_check) |
(One intermediate revision by one other user not shown) | |
(No difference)
|
Latest revision as of 13:56, 15 December 2022
Template documentation
Check whether Template:Category see also has been used when Template:Category pair probably should be use.
The test is:
- Is this page in the Category namespace?
- Does this page's title end in "nn(st|nd|rd|th)-century something"
- does the first linked cat's title end in the same "-century something" as the title of the page it is used on?
If the answer to all 3 is yes, then categorise the page in the hidden tracking category Category:Template Category see also used when Template Category pair probably should be
[[Category:Template documentation pages{{#translation:}}]]