Template:Documentation/core: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
imported>Davidgothberg
Using the heading "Summary" instead of "Documentation" when in File space. Adding "Add categories and interwikis to the /doc". Adding link "Subpages of this template". Adding debug-reporting to a cat.
imported>Davidgothberg
Removed most of the debug check. Silly me, this also reported redirects from the talkpages. Will make a smarter check function.
Line 90: Line 90:
Detect and report strange usage:
Detect and report strange usage:
-->{{#if:
-->{{#if:

<!--Check if there are /doc, /sandbox and /testcases in talk space
when they should be in subject space, and the other way around-->
{{#ifexist:
{{{not-docspace|}}}:{{PAGENAME:{{{template page|{{FULLPAGENAME}}}}}}}/doc
| strange
}}{{#ifexist:
{{{not-docspace|}}}:{{PAGENAME:{{{template page|{{FULLPAGENAME}}}}}}}/sandbox
| strange
}}{{#ifexist:
{{{not-docspace|}}}:{{PAGENAME:{{{template page|{{FULLPAGENAME}}}}}}}/testcases
| strange
}}
<!--Check if {{documentation}} is transcluded
<!--Check if {{documentation}} is transcluded
on a /doc or /testcases page-->
on a /doc or /testcases page-->

Revision as of 18:27, 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