Template:Documentation subpage: Difference between revisions

Content deleted Content added
imported>Malyctenar
br + span = div; do show the template at its own page (so that also the noinclude bit in the category makes sense)
Pgehres (WMF) (talk | contribs)
 
(35 intermediate revisions by 15 users not shown)
Line 1:
<includeonly>{{ #ifeq:{{SUBPAGENAME}}|{{ #ifeq: {{{1}}}|override|{{SUBPAGENAME}}|doc}}|</includeonly><!-- show on doc pages only
<includeonly><!-- only show on documentation subpages -->
</includeonly--><div class="messagebox" id="template_doc_page_viewed_directly" 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>
</includeonly><div class="messagebox" id="template_doc_page_viewed_directly" style="text-align: center">
</div>{{{category|[[Category:Template documentation|<noinclude> </noinclude><includeonly>{{PAGENAME}}</includeonly>]]}}}
This subpage contains [[Wikipedia:Template documentation|documentation]], [[Wikipedia:Categories|categories]] and other content that is not part of the template.
<includeonly>}}</includeonly><noinclude><!--
<div style="font-size: 88%">To view the {{lc:{{NAMESPACE}}}} page itself, see {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}.</div></div>
-->
{{DEFAULTSORT:{{PAGENAME}}}}{{#if:{{{inhibit|}}}|<!-- skip -->|[[Category:Documentation subpages<noinclude>| </noinclude>]]}}
<includeonly>}}</includeonly><noinclude>
{{documentation}}
<!--
<!-- Add categories and interwikis to the /doc subpage, not here! -->
--></noinclude>