Template:Documentation/core: Difference between revisions

Content deleted Content added
imported>Davidgothberg
Removed most of the debug check. Silly me, this also reported redirects from the talkpages. Will make a smarter check function.
imported>Davidgothberg
Tweak when and how to show the "Subpages" link. And adding a comment to the "cats and interwikis" text.
Line 82:
| testcases <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&preload=Template:Documentation/preload-testcases }} create])</small>
}} pages. <br>
}}<!--
}}{{#if: {{{content|}}} {{{docname fed|}}}
Show the cats and interwiki text, but not
if "content" fed or "docname fed" since then it is
unclear where to add the cats and interwikis.
}} -->{{#if: {{{content|}}} {{{docname fed|}}}
|
| Add categories and interwikis to the /doc subpage.
}}<!--
}} [[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|Subpages of this template]].
Show the "Subpages" link:
-->{{#switch: {{SUBJECTSPACE}}
| {{ns:File}} = <!--Don't show it-->
| {{ns:Template}} =
}} [[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|Subpages of this template]].
| #default =
[[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|Subpages of this page]].
}}
}}
}}<!--
 
Detect and report strange usage:
-->{{#if: