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