Template:Documentation/core: Difference between revisions

From Donate
Jump to navigation Jump to search
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: Line 82:
| testcases <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&preload=Template:Documentation/preload-testcases }} create])</small>
| testcases <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&preload=Template:Documentation/preload-testcases }} create])</small>
}} pages. <br>
}} 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.
| 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:
Detect and report strange usage:
-->{{#if:
-->{{#if:

Revision as of 20:35, 11 February 2010

[edit] [Purge] Template documentation

Template:Documentation/core/doc

The above documentation is transcluded from Template:Documentation/core/doc. (edit | history)
Editors can experiment in this template's sandbox (create) and testcases (create) pages.
Add categories and interwikis to the /doc subpage.Subpages of this template.

Template:Pp-template