Template:Documentation subpage: Difference between revisions

From Test Wiki
Content deleted Content added
No edit summary
m 1 revision imported
Tags: Mobile edit Mobile web edit
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{IsDocSubpage|override={{{override|doc}}}}}
<includeonly><!--
-->{{#ifeq:{{SUBPAGENAME}}|{{#ifeq:{{{1|}}}|override|{{SUBPAGENAME}}|doc}}|</includeonly><!-- show on doc pages only
| <!--doc subpage--></includeonly>{{#ifeq:{{{doc-notice|show}}}|show
-->{{#invoke:Autotranslate | autotranslate
| {{Ombox|type=notice|image=[[File:Edit-copy green.svg|40px|link=]]
|base = Documentation subpage
|text='''This is a [[Help:Template documentation|documentation]] [[mw:Help:Subpages|subpage]] for {{#if:{{{1|}}}
| {{{1}}}
|lang = {{{lang|}}}
| [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]
|page = {{#if:{{{page|}}}|{{{page|}}}|{{SUBJECTSPACE}}:{{BASEPAGENAME}}}}
}}<!--
}}.'''<br/> It contains usage information, categories, and other content that is not part of the original<!--
--><includeonly>{{{category|[[Category:{{#switch:{{SUBJECTSPACE}}
--> {{#if: {{{text2|}}}
| {{{text2|}}}
| Template = Template
| {{#if: {{{text1|}}}
| Module = Module
| {{{text1|}}}
| User = User
| {{#ifeq: {{SUBJECTSPACE}} | {{ns:User}}
| #default = Template
}} documentation|{{PAGENAME}}]]__EXPECTED_UNCONNECTED_PAGE__}}}</includeonly><!--
| {{lc:{{SUBJECTSPACE}}}} template page
--><includeonly>}}</includeonly><!-- show on doc pages only
| {{#if: {{SUBJECTSPACE}}
--><noinclude>{{documentation}}</noinclude>
| {{lc:{{SUBJECTSPACE}}}} page
| article
}}
}}
}}
}}.
}}
<!--If not on a doc subpage, do nothing-->}}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{#if: {{{inhibit|}}}
| <!--Skip-->
| <includeonly>{{#ifexist: {{NAMESPACE}}:{{BASEPAGENAME}}
| [[Category:{{#switch: {{SUBJECTSPACE}}
|Template=Template
|Module=Module
|User=User
|#default=Template
}} documentation pages]]
| [[Category:Documentation subpages without corresponding pages]]
}}</includeonly>
}}<includeonly>
}}</includeonly><noinclude>{{Documentation}}<!--Add categories and interwikis to the /doc subpage, not here!--></noinclude>