Difference between revisions of "Template:Documentation subpage"

From D&D 5e
Jump to: navigation, search
(Changed to "{{pp-template|small=yes}}" since this template is fully protected.)
(Update to use the {{mbox}} so it looks good on top of other mboxes on documentation pages. And using mbox and not ombox since this template is used on several types of pages.)
Line 19: Line 19:
 
</includeonly>{{
 
</includeonly>{{
 
     #ifeq: {{{doc-notice|show}}} | show
 
     #ifeq: {{{doc-notice|show}}} | show
     | <div class="messagebox" id="template_doc_page_viewed_directly" style="padding-left:1ex;">'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}''' <small>(see that page for the {{ #if: {{SUBJECTSPACE}} | {{lc:{{SUBJECTSPACE}}}} | article }} itself)</small>.<br />It contains usage information, [[Wikipedia:Categories|categories]] and other content that is not part of the original {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}. </div>
+
     | {{mbox
  }}{{DEFAULTSORT:{{PAGENAME}}}}{{
+
      | type = notice
 +
      | image = none
 +
      | text =  
 +
'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}''' <small>(see that page for the {{ #if: {{SUBJECTSPACE}} | {{lc:{{SUBJECTSPACE}}}} | article }} itself)</small>.<br />It contains usage information, [[Wikipedia:Categories|categories]] and other content that is not part of the original {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}.  
 +
      }}
 +
    }}{{DEFAULTSORT:{{PAGENAME}}}}{{
 
     #if: {{{inhibit|}}}
 
     #if: {{{inhibit|}}}
 
     | <!-- skip -->
 
     | <!-- skip -->
Line 29: Line 34:
 
     }} documentation<noinclude>| </noinclude>]]
 
     }} documentation<noinclude>| </noinclude>]]
 
   }}<includeonly>
 
   }}<includeonly>
|<!-- if not on a /doc subpage, do nothing -->
+
| <!-- if not on a /doc subpage, do nothing -->
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
  

Revision as of 23:57, 5 October 2008

{{#if: |

40px This is the template documentation page for Template:Documentation subpage.
This page may not be intended to be viewed directly.
Links using variables may appear broken; do not replace these with hardcoded page names or URLs.
{{#if:x||

}} |{{

   #ifeq: show | show
   | Template:Mbox
   }}{{
   #if: 
   | 
   | [[Category:{{
     #if: Template
     | Template
     | Article
   }} documentation| ]]
 }}

Template:Pp-template

50px Template documentation[create]

}}