Template:Documentation subpage: Difference between revisions

Jump to navigation Jump to search
m>Meno25
fix link
m>Rocket000
simplifying (while hopefully not breaking anything)
Line 1: Line 1:
<includeonly><!-- only show on documentation subpages -->
<includeonly>{{#ifeq:{{SUBPAGENAME}}|{{#ifeq:{{{2}}}|override|{{SUBPAGENAME}}|doc}}|</includeonly><!-- show on doc pages only
{{#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}} |
--><div class="messagebox" id="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 [[w:WP:DOC|documentation]], [[COM:C|categories]], or other content that is not part of the template.<br /><span style="font-size:0.9em">To view the template page itself, see [[{{{page|{{SUBJECTSPACE}}:{{BASEPAGENAME}}}}}]].</span>
This subpage contains [[w:Wikipedia:Template documentation|documentation]], [[w:Wikipedia:Categorization|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>
</div>{{{category|[[Category:Template documentation|<noinclude> </noinclude><includeonly>{{PAGENAME}}</includeonly>]]}}}
{{DEFAULTSORT:{{PAGENAME}}}}{{#if:{{{inhibit|}}}|<!-- skip -->|[[Category:Template documentation<noinclude>| </noinclude>]]}}
<includeonly>}}</includeonly><noinclude>
<includeonly>}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>