"विभाग:Documentation" च्या विविध आवृत्यांमधील फरक

Calling /core2 for more parameter preprocessing, it in turn calls /core. Since adding smarter namespace handling, and stuff for debug-reporting to a category. See talk, "Subject space vs talk space".
(Adding the "link box = off" parameter.)
(Calling /core2 for more parameter preprocessing, it in turn calls /core. Since adding smarter namespace handling, and stuff for debug-reporting to a category. See talk, "Subject space vs talk space".)
}}<!--
Start of green doc box.
-->{{documentation/corecore2
| heading = {{{heading|¬}}} <!--Empty but defined means no header-->
| heading-style = {{{heading-style|}}}
| content = {{{content|}}}
| link box = {{{link box|}}} <!--So "link box=off" works-->
| docpage =
 
{{#if: {{{1|}}}
<!--Some namespaces must have the /doc, /sandbox and /testcases
| {{{1|}}}
in talk space-->
| {{#switch: {{SUBPAGENAME}}
| docspace =
| sandbox
| {{#switch: {{SUBPAGENAMESUBJECTSPACE}}
| testcases = {{#rel2abs: ../doc }}
| {{{1|}ns:0}}
| #default = {{SUBJECTPAGENAME}}/doc
| {{ns:File}}
| {{ns:MediaWiki}}
| {{ns:Category}} = {{TALKSPACE}}
| #default = {{SUBJECTPAGENAMESUBJECTSPACE}}/doc
}}
 
| doc exist =
<!--For debug purposes-->
{{#ifexist:
| not-docspace =
{{#if: {{{1|}}}
{{#switch: | {{{1|}SUBJECTSPACE}}
| {{#switchns: {{SUBPAGENAME0}}
| sandbox{{ns:File}}
| testcases = {{#rel2absns: ../doc MediaWiki}}
| #default{{ns:Category}} = {{SUBJECTPAGENAMESUBJECTSPACE}}/doc
| #default = {{TALKSPACE}}
}}
| yes
}}
 
| sandbox =
| 1 = {{{1|}}} <!--Other docname, if fed-->
 
<!--The namespace is added in /core2-->
| template page =
{{#switch: {{SUBPAGENAME}}
| sandbox
| testcases = {{#rel2abs: ../sandbox BASEPAGENAME}}
| #default = {{FULLPAGENAMEPAGENAME}}/sandbox
}}
 
| testcases =
{{#switch: {{SUBPAGENAME}}
| sandbox
| testcases = {{#rel2abs: ../testcases }}
| #default = {{FULLPAGENAME}}/testcases
}}
| link box = {{{link box|}}} <!--So "link box=off" works-->
}}<!--End of green doc box--><noinclude>
 

संपादन