Difference between revisions of "Template:Documentation subpage"
From D&D 5e
(comments in #if: are never included; noinclude is pointless) |
(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 | |
Revision as of 03:02, 9 November 2007
{{ #ifeq: Documentation subpage | sandbox | Template:Template sandbox notice }}
{{#if: | | [[Category:{{ #if: Template |Template|Article}} documentation| ]] }}
{{ #ifeq: Template:Documentation subpage | Template:Documentation subpage | Template:Mergingfrom Template:Mergingfrom Template:Mergingfrom
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
}}