Difference between pages "Template:Documentation subpage" and "Template:Documentation subpage/sandbox"

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
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)))
 
(Created page with "<!-- Add your experimental template code here. --><includeonly><!-- -->{{#ifeq:{{lc:{{SUBPAGENAME}}}} |{{{override|doc}}} | <!--(this template has been transcluded...")
 
Line 1: Line 1:
  +
<!--
<includeonly>{{#if:{{IsDocSubpage|override={{{override|doc}}}}}
 
  +
| <!--doc subpage--></includeonly>{{#ifeq:{{{doc-notice|show}}}|show
 
  +
Add your experimental template code here.
| {{Ombox|type=notice|image=[[File:Edit-copy green.svg|40px|link=]]
 
  +
|text='''This is a [[Help:Template documentation|documentation]] [[mw:Help:Subpages|subpage]] for {{#if:{{{1|}}}
 
 
--><includeonly><!--
| {{{1}}}
 
  +
-->{{#ifeq:{{lc:{{SUBPAGENAME}}}} |{{{override|doc}}}
| [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]
 
  +
| <!--(this template has been transcluded on a /doc or /{{{override}}} page)-->
}}.'''<br/> It contains usage information, [[Categorization|categories]], and other content that is not part of the original<!--
 
  +
</includeonly><!--
--> {{#if: {{{text2|}}}
 
  +
| {{{text2|}}}
 
| {{#if: {{{text1|}}}
+
-->{{#ifeq:{{{doc-notice|show}}} |show
| {{{text1|}}}
+
| {{Mbox
| {{#ifeq: {{SUBJECTSPACE}} | {{ns:User}}
+
| type = notice
| {{lc:{{SUBJECTSPACE}}}} template page
+
| style = margin-bottom:1.0em;
| {{#if: {{SUBJECTSPACE}}
+
| image = [[File:Edit-copy green.svg|40px|alt=|link=]]
| {{lc:{{SUBJECTSPACE}}}} page
+
| text =
  +
'''This is a [[Help:Template documentation|documentation]] [[Help:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.<br />It contains usage information, [[Help: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}}}}}}}}.
| article
 
 
}}
 
}}
}}
+
}}<!--
  +
}}
 
  +
-->{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}<!--
}}.
 
  +
}}
 
<!--If not on a doc subpage, do nothing-->}}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{#if: {{{inhibit|}}}
+
-->{{#if:{{{inhibit|}}} |<!--(don't categorize)-->
| <!--Skip-->
+
| <includeonly><!--
| <includeonly>{{#ifexist: {{NAMESPACE}}:{{BASEPAGENAME}}
+
-->{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}
| [[Category:{{#switch: {{SUBJECTSPACE}}
+
| [[Category:{{#switch:{{SUBJECTSPACE}} |Template=Template |Module=Module |User=User |#default=Wikipedia}} 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>
+
--><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!--></noinclude>
 
  +
--></includeonly><noinclude>
  +
{{Documentation}}
  +
</noinclude>