« Modèle:Documentation subpage » : différence entre les versions
Only add Category:Template documentation on Template pages
test0>ExE Boss (Display on translated subpages) |
test0>ExE Boss (Only add Category:Template documentation on Template pages) |
||
Ligne 33 : | Ligne 33 : | ||
| <includeonly><!-- | | <includeonly><!-- | ||
-->{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}} | -->{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}} | ||
| [[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{{#translation:}}]]<!-- | ||
| [[Category:Documentation subpages without corresponding pages]] | -->{{#ifeq:{{SUBJECTSPACE}}|{{ns:10}}|[[Category:Template documentation{{#translation:}}]]}} | ||
| [[Category:Documentation subpages without corresponding pages{{#translation:}}]] | |||
}}<!-- | }}<!-- | ||
--></includeonly> | --></includeonly> | ||
Ligne 46 : | Ligne 47 : | ||
| #default= | | #default= | ||
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:Documentation subpage|noshift=1|uselang={{int:lang}}}} | {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Documentation subpage|noshift=1|uselang={{int:lang}}}} | ||
}} | }}<noinclude> | ||
{{Documentation|content= | {{Documentation|content= | ||