Template:Documentation subpage: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Fix
m (Changed protection settings for "Template:Documentation subpage": High-risk template or module (more info) ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(Fix)
Line 1:
<includeonly>{{#if:{{IsDocSubpage|override={{{override|doc}}}}}<!--
| <! --doc subpage--></includeonly>{{#ifeq:{{lc:{doc-notice|show{SUBPAGENAME}}}} |show{{{override|doc}}}
| <!--(this template has been transcluded on a /doc or /{{{override}}} 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|}}}
 
| {{{1}}}
| [[:-->{{SUBJECTSPACE}}#ifeq:{{BASEPAGENAME{doc-notice|show}}]]} |show
| {{{1}}}Mbox
}}.'''<br/> It contains usage information, [[Categorization|categories]], and other content that is not part of the original<!--
--> {{#if: {{{text2 |}}} type = notice
| style = margin-bottom:1.0em;
| {{{text2|}}}
| {{Ombox|type=notice | image = [[File:Edit-copy green.svg|40px|alt=|link=]]
| {{#if: {{{text1|}}}
| {{{text1 |}}} text =
'''This is a [[:wikipedia:Wikipedia:Template documentation|documentation]] [[:wikipedia:Wikipedia:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.<br />It contains usage information, [[Wikipedia:Categorization|categories]] and other content that is not part of the original {{#if:{{{text2|}}} |{{{text2}}} |{{#if:{{{text1|}}} |{{{text1}}} |{{#ifeq:{{SUBJECTSPACE}} |{{ns:User}} |{{lc:{{SUBJECTSPACE}}}} template page |{{#if:{{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}.
| {{#ifeq: {{SUBJECTSPACE}} | {{ns:User}}
| {{lc:{{SUBJECTSPACE}}}} template page
| {{#if: {{SUBJECTSPACE}}
| {{lc:{{SUBJECTSPACE}}}} page
| article
}}
}}<!--
 
}}
-->{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}<!--
}}.
 
}}
<!--If not on a doc subpage, do nothing-->}}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{#if: {{{inhibit|}}} |<!--(don't categorize)-->
| <includeonly><!--Skip-->
| <includeonly -->{{#ifexist: {{NAMESPACE}}:{{BASEPAGENAME}}
| [[Category:{{#switch: {{SUBJECTSPACE}} |Template=Template |Module=Module |User=User |#default=Meta}} documentation pages]]
| [[Category:Documentation subpages without corresponding pages]]
|Template=Template
|Module=Module }}<!--
|User=User --></includeonly>
|#default=Template }}<!--
 
}} documentation pages]]
(completing initial #ifeq: at start of template:)
| [[Category:Documentation subpages without corresponding pages]]
}}--></includeonly>
| <!--(this template has not been transcluded on a /doc or /{{{override}}} page)-->
}}<includeonly>
}}<!--
}}--></includeonly><noinclude>{{Documentation}}<!--Add categories and interwikis to the /doc subpage, not here!-->[[Category:Templates]]</noinclude>
0

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu