Template:Documentation subpage: Difference between revisions

Content deleted Content added
imported>Da monster under your bed
m Reverted edits by 1user2user3 to last version by Malyctenar (using Huggle)
Pgehres (WMF) (talk | contribs)
 
(7 intermediate revisions by 6 users not shown)
Line 1:
<includeonly>{{ #ifeq:{{SUBPAGENAME}}|{{ #ifeq: {{{1}}}|override|{{SUBPAGENAME}}|doc}}|</includeonly><!-- show on doc pages only
<includeonly>{{
--><div class="messagebox" style="text-align:center">
#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}}
This [[template:documentation|documentation subpage]] contains instructions, categories, or other information for [[w:Project:Transclusion costs and benefits|technical reasons]].<br /><small>To view the {{SUBJECTSPACE}} page itself, see {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}.</small>
| <!-- doc page -->
</div>{{{category|[[Category:Template documentation|<noinclude> </noinclude><includeonly>{{PAGENAME}}</includeonly>]]}}}
</includeonly>{{
<includeonly>}}</includeonly><noinclude><!--
#ifeq: {{{doc-notice|show}}} | show
---->
| <div class="messagebox" id="template_doc_page_viewed_directly" style="padding-left:1ex;">'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}''' <small>(see that page for the {{ #if: {{SUBJECTSPACE}} | {{lc:{{SUBJECTSPACE}}}} | article }} itself)</small>.<br />It contains usage information, [[Wikipedia:Categories|categories]] and other content that is not part of the original {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}. </div>
{{documentation}}<!--
}}{{DEFAULTSORT:{{PAGENAME}}}}{{
<!--
#if: {{{inhibit|}}}
| <!-- skip -->
| [[Category:{{
#if: {{SUBJECTSPACE}}
| {{SUBJECTSPACE}}
| Article
}} documentation<noinclude>| </noinclude>]]
}}<includeonly>
|<!-- if not on a /doc subpage, do nothing -->
}}</includeonly><noinclude>
 
{{pp-semi-template|small=yes}}
----
{{documentation}}<!--
Add categories and interwikis to the /doc subpage, not here!
--></noinclude>