Template:Documentation subpage: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
__EXPECTED_UNCONNECTED_PAGE__
No edit summary
Line 1: Line 1:
<includeonly>{{#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}}
<includeonly>{{#if:{{IsDocSubpage|override={{{override|doc}}}}}
| <!--doc subpage--></includeonly>{{#ifeq:{{{doc-notice|show}}}|show
| <!-- doc page -->
| {{Ombox|type=notice|image=[[File:Edit-copy green.svg|40px|link=]]
</includeonly>{{
|text='''This is a [[Help:Template documentation|documentation]] [[mw:Help:Subpages|subpage]] for {{#if:{{{1|}}}
#ifeq: {{{doc-notice|show}}} | show
| {{ombox
| {{{1}}}
| [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]
| type = notice
}}.'''<br/> It contains usage information, categories, and other content that is not part of the original<!--
| image = [[File:Edit-copy green.svg|40px|link=]]
--> {{#if: {{{text2|}}}
| text = {{Documentation subpage/text/{{#ifexist:Template:Documentation subpage/text/{{int:lang}}|{{int:lang}}|en}}|1={{{1|}}}|text2={{{text2|}}}|text1={{{text1|}}}}}
}}
| {{{text2|}}}
}}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{
| {{#if: {{{text1|}}}
#if: {{{inhibit|}}}
| {{{text1|}}}
| {{#ifeq: {{SUBJECTSPACE}} | {{ns:User}}
| <!-- skip -->
| {{lc:{{SUBJECTSPACE}}}} template page
| <includeonly>__EXPECTED_UNCONNECTED_PAGE__ {{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}|[[Category:{{
#switch: {{SUBJECTSPACE}}
| {{#if: {{SUBJECTSPACE}}
| {{lc:{{SUBJECTSPACE}}}} page
| Template = Template
| Module = Module
| article
| User = User
}}
| #default = Template
}}
}}
}} documentation pages]]|[[Category:Documentation subpages without corresponding pages]]}}</includeonly>
}}.
}}<includeonly>
}}
| <nowiki /><!-- if not on a /doc subpage, do nothing -->
<!--If not on a doc subpage, do nothing-->}}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{#if: {{{inhibit|}}}
}}</includeonly><noinclude>
| <!--Skip-->
{{documentation}}
| <includeonly>{{#ifexist: {{NAMESPACE}}:{{BASEPAGENAME}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
| [[Category:{{#switch: {{SUBJECTSPACE}}
</noinclude>
|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>

Revision as of 01:08, 6 March 2024

TemplateStyles' src attribute must not be empty.

Template documentation