Відмінності між версіями «Шаблон:Documentation/core»
Матеріал з Аероскан Сервіс
								
												
				|  (Tweak when and how to show the "Subpages" link. And adding a comment to the "cats and interwikis" text.) |  (Adding more debug-reporting.) | ||
| Рядок 109: | Рядок 109: | ||
|    | doc |    | doc | ||
|    | testcases = strange |    | 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 =  | ||
|    }} |    }} | ||