Template:Documentation subpage: Difference between revisions

Content deleted Content added
imported>ConradPino
comments in #if: are never included; noinclude is pointless
Pgehres (WMF) (talk | contribs)
 
(21 intermediate revisions by 11 users not shown)
Line 1:
<includeonly>{{ #ifeq:{{SUBPAGENAME}}|{{ #ifeq: {{{1}}}|override|{{SUBPAGENAME}}|doc}}|</includeonly><!-- show on doc pages only
<noinclude>
--><div class="messagebox" style="text-align:center">
<!-- only show on documentation subpages -->
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>
<!-- Need noinclude here to support future full protection. -->
</div>{{{category| [[Category:Template documentation|<noinclude>| </noinclude><includeonly>{{PAGENAME}}</includeonly>]]}}}
{{ #ifeq: {{SUBPAGENAME}} | sandbox | {{Template sandbox notice}} }}
</noincludeincludeonly>}}</includeonly>{{<noinclude><!--
-->
#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}} |
</includeonly><div class="messagebox" id="template_doc_page_viewed_directly" style="padding:1ex 1em;">'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for ''{{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}''.'''<br />It contains usage information, [[Wikipedia:Categories|categories]] and other content that is not part of the original {{lc:{{NAMESPACE}}}} page.<br /><span style="font-size: 0.9em;">To view the {{lc:{{NAMESPACE}}}} page itself, see {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}.</span></div>{{DEFAULTSORT:{{PAGENAME}}}}{{
#if: {{{inhibit|}}}
| <!-- skip -->
| [[Category:Template documentation<noinclude>| </noinclude>]]
}}<includeonly>}}</includeonly><noinclude>
{{ #ifeq: {{FULLPAGENAME}} | Template:Documentation subpage |
{{mergingfrom|Template doc page|date=November 2007}}
{{mergingfrom|Template doc page transcluded|date=November 2007}}
{{mergingfrom|Template doc page viewed directly|date=November 2007}}
{{documentation}}
<!--
}}
--></noinclude>
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>