« Modèle:Documentation subpage » : différence entre les versions

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.
test0>Davidgothberg
(Changed to "{{pp-template|small=yes}}" since this template is fully protected.)
test0>Davidgothberg
(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.)
Ligne 19 : Ligne 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 -->
Ligne 29 : Ligne 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>


Utilisateur anonyme