Difference between revisions of "Template:Documentation subpage"

From BTAWiki
Jump to navigation Jump to search
(comments in #if: are never included; noinclude is pointless)
Line 1: Line 1:
<div class="messagebox" id="template_doc_page_viewed_directly" style="text-align: center">
+
<noinclude>
This subpage contains [[w:Wikipedia:Template documentation|documentation]], [[Wikipedia:Categories|categories]] and other content that is not part of the template.<br /><span style="font-size:0.9em;">To view the {{lc:{{NAMESPACE}}}} page itself, see {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}.</span></div>
+
<!-- only show on documentation subpages -->
{{DEFAULTSORT:{{PAGENAME}}}}{{#if:{{{inhibit|}}}|<!-- skip -->|[[Category:Documentation subpages<noinclude>| </noinclude>]]}}<noinclude>[[Category:Templates]]</noinclude>
+
<!-- Need noinclude here to support future full protection. -->
 +
{{ #ifeq: {{SUBPAGENAME}} | sandbox | {{Template sandbox notice}} }}
 +
</noinclude><includeonly>{{
 +
#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}}
 +
}}
 +
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 +
</noinclude>

Revision as of 23:52, 8 November 2007


This is a documentation subpage for Template:Documentation subpage.
It contains usage information, categories and other content that is not part of the original template page.
To view the template page itself, see Template:Documentation subpage.

Template:Mergingfrom Template:Mergingfrom Template:Mergingfrom Script error: No such module "documentation".