Difference between revisions of "Template:Documentation subpage"

From D&D 5e
Jump to: navigation, search
(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:{{NAMESPACE}}}} page.<br /><span style="font-size: 0.9em;">To view the {{lc:{{NAMESPACE}}}} page itself, see {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}.</span></div>{{DEFAULTSORT:{{PAGENAME}}}}{{
+
</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:Template documentation<noinclude>| </noinclude>]]
+
   | [[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 }}

This is a documentation subpage for Template:Documentation subpage.
It contains usage information, categories and other content that is not part of the original {{ #if: Template |template page|article}}.
To view the {{ #if: Template |template page|article}} itself, see [[{{ #if: Template |Template:}}Documentation subpage]].
{{
 #if: 
 | 
 | [[Category:{{ #if: Template |Template|Article}} documentation| ]]
 }}

{{ #ifeq: Template:Documentation subpage | Template:Documentation subpage | Template:Mergingfrom Template:Mergingfrom Template:Mergingfrom

50px Template documentation[create]

}}