Template:Documentation subpage: Difference between revisions

Content deleted Content added
imported>Meno25
fix link
imported>Rocket000
simplifying (while hopefully not breaking anything)
Line 1:
<includeonly>{{#ifeq:{{SUBPAGENAME}}|{{#ifeq:{{{2}}}|override|{{SUBPAGENAME}}|doc}}|</includeonly><!-- show on doc pages only
<includeonly><!-- only show on documentation subpages -->
</includeonly--><div class="messagebox" id="template_doc_page_viewed_directlydoc_page_viewed_directly" style="text-align: center">
{{#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}} |
This subpage contains [[w:WikipediaWP:Template documentationDOC|documentation]], [[w:WikipediaCOM:CategorizationC|categories]], andor other content that is not part of the template.<br /><span style="font-size:0.9em;">To view the {{lc:{{NAMESPACE}}}}template page itself, see [[{{{1page|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}]].</span></div>
</includeonly><div class="messagebox" id="template_doc_page_viewed_directly" style="text-align: center">
</div>{{{category|[[Category:Template documentation|<noinclude> </noinclude><includeonly>{{PAGENAME}}</includeonly>]]}}}
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>
{{DEFAULTSORT:{{PAGENAME}}}}{{#if:{{{inhibit|}}}|<!-- skip -->|[[Category:Template documentation<noinclude>| </noinclude>]]}}
<includeonly>}}</includeonly><noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>