Template:Documentation subpage: Difference between revisions
Jump to navigation
Jump to search
metawikimedia>Verdy p m drop some invisible blanks that uses resources in some pages where we need to save some |
|||
Line 1: | Line 1: | ||
<includeonly | <includeonly>{{#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}} | ||
| <!--doc subpage--></includeonly>{{#ifeq:{{{doc-notice|show}}}|show | |||
| {{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|}}} | ||
| {{{1}}} | |||
| [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]] | |||
}}.'''<br/> It contains usage information, [[Categorization|categories]], and other content that is not part of the original<!-- | |||
--> {{#if: {{{text2|}}} | |||
| {{{text2|}}} | |||
| {{#if: {{{text1|}}} | |||
| {{{text1|}}} | |||
'''This is a [[ | | {{#ifeq: {{SUBJECTSPACE}} | {{ns:User}} | ||
| {{lc:{{SUBJECTSPACE}}}} template page | |||
| {{#if: {{SUBJECTSPACE}} | |||
| {{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> | |||