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

De wiki-spl
Aller à la navigation Aller à la recherche
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>



Version du 6 octobre 2008 à 08:57

{{#if: |

Edit-paste.svg This is the template documentation page for Modèle: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
   | Modèle:Mbox
   }}{{
   #if: 
   | 
   | [[Category:{{
     #if: Modèle
     | Modèle
     | Article
   }} documentation| ]]
 }}

Modèle:Pp-template {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}{{#if:| [[Category:Template documentation pages{{#translation:}}]] }}

}}