Typecraft v2.5
Jump to: navigation, search

Difference between revisions of "Template:Documentation subpage"

(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 07:57, 6 October 2008

[create] 50px Template documentation