Template:Category see also/Category pair check: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>BrownHairedGirl
working, so strip diagnostics
Ookami (talk | contribs)
m 13 revisions imported
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{{#ifeq: {{NAMESPACE}} | Category |<!--
<noinclude>{{pp-template|small=yes}}</noinclude><includeonly>{{#ifeq: {{NAMESPACE}} | Category |<!--
  -->{{#if: {{#invoke:String|match|{{BASEPAGENAME}}|%d+[snrt][tdh]%-century.+$|ignore_errors=true}}<!--
  -->{{#if: {{#invoke:String|match|{{BASEPAGENAME}}|%d+[snrt][tdh]%-century.+$|ignore_errors=true}}<!--
     -->|<!-- it's on a century category
     -->|<!-- it's on a century category
Line 7: Line 7:
         -->}}<!--
         -->}}<!--
     -->}}<!--
     -->}}<!--
-->}}</includeonly><noinclude>Check whether [[Template:Category see also]] has been used when [[Template:Category pair]] probably should be use.
-->}}</includeonly><noinclude>
{{doc|content=
Check whether [[Template:Category see also]] has been used when [[Template:Category pair]] probably should be use.


The test is:
The test is:
Line 14: Line 16:
#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]]</noinclude>
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>

Latest revision as of 15:24, 1 September 2020