Template:Category see also/Category pair check: Difference between revisions
Jump to navigation
Jump to search
>Mifter Adding {{pp-template}} (TW) |
ww>BrownHairedGirl {{!}} |
||
Line 13: | Line 13: | ||
The test is: | The test is: | ||
#Is this page in the Category namespace? | #Is this page in the Category namespace? | ||
#Does this page's title end in "nn(st | #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? | #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]] | 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]] | ||
}}</noinclude> | }}</noinclude> |
Revision as of 02:12, 5 April 2021
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