Template:Documentation subpage: Difference between revisions

Content deleted Content added
imported>ConradPino
comments in #if: are never included; noinclude is pointless
imported>ConradPino
merging: copy from sandbox; support any SUBJECTSPACE not NAMESPACE
Line 5:
</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 {{ #if: {{SUBJECTSPACE}} |{{lc:{{NAMESPACESUBJECTSPACE}}}} page|article}}.<br /><span style="font-size: 0.9em;">To view the {{ #if: {{SUBJECTSPACE}} |{{lc:{{NAMESPACESUBJECTSPACE}}}} page|article}} itself, see {{{1|[[{{ #if: {{SUBJECTSPACE}} |{{SUBJECTSPACE}}:}}{{BASEPAGENAME}}]]}}}.</span></div>{{DEFAULTSORT:{{PAGENAME}}}}{{
#if: {{{inhibit|}}}
| <!-- skip -->
| [[Category:Template{{ #if: {{SUBJECTSPACE}} |{{SUBJECTSPACE}}|Article}} documentation<noinclude>| </noinclude>]]
}}<includeonly>}}</includeonly><noinclude>
{{ #ifeq: {{FULLPAGENAME}} | Template:Documentation subpage |