Difference between revisions of "Template:Documentation subpage"

From D&D 5e
Jump to: navigation, search
m (Reverted edits by SnakeBot (talk) to last version by Cryptic)
(br + span = div; do show the template at its own page (so that also the noinclude bit in the category makes sense))
Line 1: Line 1:
<!-- only show on documentation subpages -->
+
<includeonly><!-- only show on documentation subpages -->
{{#ifeq:{{lc:{{SUBPAGENAME}}}}|{{{override|doc}}}|
+
{{#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}} |
<div class="messagebox" id="template_doc_page_viewed_directly" style="text-align: center">
+
</includeonly><div class="messagebox" id="template_doc_page_viewed_directly" style="text-align: center">
This subpage contains [[Wikipedia:Template documentation|documentation]], [[Wikipedia:Categories|categories]] and other content that is not part of the template. <br/> <span style="font-size: 88%">To view the {{lc:{{NAMESPACE}}}} page itself, see {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}.</span></div>
+
This subpage contains [[Wikipedia:Template documentation|documentation]], [[Wikipedia:Categories|categories]] and other content that is not part of the template.
 +
<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>]]}}
 
{{DEFAULTSORT:{{PAGENAME}}}}{{#if:{{{inhibit|}}}|<!-- skip -->|[[Category:Documentation subpages<noinclude>| </noinclude>]]}}
}}<noinclude>
+
<includeonly>}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 02:48, 11 October 2007

This subpage contains documentation, categories and other content that is not part of the template.

To view the template page itself, see Template:Documentation subpage.

{{#if:||}}

50px Template documentation[create]