Template:Documentation/core: Difference between revisions

Content deleted Content added
imported>Davidgothberg
Tweak when and how to show the "Subpages" link. And adding a comment to the "cats and interwikis" text.
imported>Davidgothberg
Adding more debug-reporting.
Line 109:
| doc
| testcases = strange
}}
 
{{#switch: {{SUBJECTSPACE}}
| {{ns:0}}
| {{ns:File}}
| {{ns:MediaWiki}}
| {{ns:Category}} =
<!--Check if there are /doc, /sandbox and /testcases
in subject space when they should be in talk space-->
{{#ifexist:
{{SUBJECTSPACE}}:{{PAGENAME:{{{template page|}}}}}/doc
| strange
}}{{#ifexist:
{{SUBJECTSPACE}}:{{PAGENAME:{{{template page|}}}}}/sandbox
| strange
}}{{#ifexist:
{{SUBJECTSPACE}}:{{PAGENAME:{{{template page|}}}}}/testcases
| strange
}}
 
| #default =
}}