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

merging: copy from sandbox; support any SUBJECTSPACE not NAMESPACE
test0>ConradPino
(comments in #if: are never included; noinclude is pointless)
test0>ConradPino
(merging: copy from sandbox; support any SUBJECTSPACE not NAMESPACE)
Ligne 5 : Ligne 5 :
</noinclude><includeonly>{{
</noinclude><includeonly>{{
#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}} |
#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}} |
</includeonly><div class="messagebox" id="template_doc_page_viewed_directly" style="padding:1ex 1em;">'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for ''{{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}''.'''<br />It contains usage information, [[Wikipedia:Categories|categories]] and other content that is not part of the original {{lc:{{NAMESPACE}}}} page.<br /><span style="font-size: 0.9em;">To view the {{lc:{{NAMESPACE}}}} page itself, see {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}.</span></div>{{DEFAULTSORT:{{PAGENAME}}}}{{
</includeonly><div class="messagebox" id="template_doc_page_viewed_directly" style="padding:1ex 1em;">'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for ''{{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}''.'''<br />It contains usage information, [[Wikipedia:Categories|categories]] and other content that is not part of the original {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}.<br /><span style="font-size: 0.9em;">To view the {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}} itself, see {{{1|[[{{ #if: {{SUBJECTSPACE}} |{{SUBJECTSPACE}}:}}{{BASEPAGENAME}}]]}}}.</span></div>{{DEFAULTSORT:{{PAGENAME}}}}{{
   #if: {{{inhibit|}}}
   #if: {{{inhibit|}}}
   | <!-- skip -->
   | <!-- skip -->
   | [[Category:Template documentation<noinclude>| </noinclude>]]
   | [[Category:{{ #if: {{SUBJECTSPACE}} |{{SUBJECTSPACE}}|Article}} documentation<noinclude>| </noinclude>]]
   }}<includeonly>}}</includeonly><noinclude>
   }}<includeonly>}}</includeonly><noinclude>
{{ #ifeq: {{FULLPAGENAME}} | Template:Documentation subpage |
{{ #ifeq: {{FULLPAGENAME}} | Template:Documentation subpage |
Utilisateur anonyme