Template:Documentation subpage: Difference between revisions

br + span = div; do show the template at its own page (so that also the noinclude bit in the category makes sense)
m>TKD
m (Reverted edits by SnakeBot (talk) to last version by Cryptic)
m>Malyctenar
(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>
Anonymous user