« Modèle:Documentation subpage Voir l’historique

(fixing pagename parsing when in template namespace)
(Fixing basepagename bug)
Ligne 10 : Ligne 10 :
             | image = [[File:Edit-copy green.png|40px|alt=|link=]]
             | image = [[File:Edit-copy green.png|40px|alt=|link=]]
             | text =
             | text =
'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.<br />It contains usage information, [[Wikipedia:Categorization|categories]] and other content that is not part of the original {{#if:{{{text2|}}} |{{{text2}}} |{{#if:{{{text1|}}} |{{{text1}}} |{{#ifeq:{{SUBJECTSPACE}} |{{ns:User}} |{{lc:{{SUBJECTSPACE}}}} template page |{{#if:{{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}.  
'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{#titleparts: {{PAGENAME}} | -1 }}]]}}}'''.<br />It contains usage information, [[Wikipedia:Categorization|categories]] and other content that is not part of the original {{#if:{{{text2|}}} |{{{text2}}} |{{#if:{{{text1|}}} |{{{text1}}} |{{#ifeq:{{SUBJECTSPACE}} |{{ns:User}} |{{lc:{{SUBJECTSPACE}}}} template page |{{#if:{{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}.  
             }}
             }}
         }}<!--
         }}<!--
Ligne 18 : Ligne 18 :
       -->{{#if:{{{inhibit|}}} |<!--(don't categorize)-->
       -->{{#if:{{{inhibit|}}} |<!--(don't categorize)-->
           |  <includeonly><!--
           |  <includeonly><!--
               -->{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}
               -->{{#ifexist:{{NAMESPACE}}:{{#titleparts: {{PAGENAME}} | -1 }}
                   | [[Category:{{#switch:{{SUBJECTSPACE}} |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                   | [[Category:{{#switch:{{SUBJECTSPACE}} |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                   | [[Category:Documentation subpages without corresponding pages]]
                   | [[Category:Documentation subpages without corresponding pages]]

Version du 15 février 2015 à 07:54

This is a documentation subpage for [[:Modèle:]].
It contains usage information, categories and other content that is not part of the original modèle page.
Documentation icon Template documentation[view] [edit] [history] [purge]

This template marks documentation subpages.

Use

{{Documentation subpage}}
 - or -
{{doc subpage}}
The above documentation is transcluded from Modèle:Documentation subpage/doc.
Please add categories to the /doc subpage.
Subpages of this template.