Template:Documentation subpage: Difference between revisions
From Test Wiki
Content deleted Content added
m>Pppery m Protected "Template:Documentation subpage" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
m 1 revision imported Tags: Mobile edit Mobile web edit |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> |
<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|}}} |
|||
| {{{ |
|lang = {{{lang|}}} |
||
| |
|page = {{#if:{{{page|}}}|{{{page|}}}|{{SUBJECTSPACE}}:{{BASEPAGENAME}}}} |
||
| ⚫ | |||
}}.'''<br/> It contains usage information, [[Categorization|categories]], and other content that is not part of the original<!-- |
|||
| ⚫ | |||
--> {{#if: {{{text2|}}} |
|||
| Template = Template |
|||
| |
| Module = Module |
||
| User = 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}} |
|||
| ⚫ | |||
|Template=Template |
|||
|Module=Module |
|||
|User=User |
|||
|#default=Template |
|||
}} documentation pages{{#translation:}}]] |
|||
| [[Category:Documentation subpages without corresponding pages{{#translation:}}]] |
|||
}}</includeonly> |
|||
}}<includeonly> |
|||
}}</includeonly><noinclude>{{Documentation}}<!--Add categories and interwikis to the /doc subpage, not here!--></noinclude> |
|||