Difference between revisions of "Template:Documentation"

From W9CR
Jump to navigation Jump to search
(use titleparts to transclude Template:Foo/doc instead of Template:Foo/sandbox/doc when called from Template:Foo/sandbox)
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude>{{Autotranslate/clone_5
+
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}<noinclude>
|base    = Documentation
+
<!-- Add categories to the /doc subpage -->
|lang    = {{{lang|{{int:Lang}} }}}
 
|1      = {{#if:{{{1|}}}
 
            |{{{1}}}
 
            |{{#if:{{#titleparts:{{SUBJECTPAGENAME}}|-1}}
 
            |{{#titleparts:{{SUBJECTPAGENAME}}|-1}}/doc
 
            |{{SUBJECTPAGENAME}}/doc
 
            }}
 
            }}
 
|2      = {{{heading|{{{2|}}} }}}
 
|content = {{{content|}}}
 
}}</onlyinclude><noinclude>
 
<!-- {{Autotranslate/clone_5}} is identical to {{Autotranslate}} and it is used to avoid "Warning: This page calls Template:Autotranslate which causes a template loop (an infinite recursive call). "-->
 
 
 
{{Documentation}}
 
 
 
 
</noinclude>
 
</noinclude>

Latest revision as of 20:07, 31 July 2022

{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}