« Modèle:Documentation subpage » : différence entre les versions
Aller à la navigation
Aller à la recherche
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= | ||
Version du 24 mai 2021 à 16:09
<languages/> {{#switch:<translate></translate> | = {{#ifeq:show |show
| Modèle:Mbox }}{{#if: | | }}
| #default=
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:Documentation subpage|noshift=1|uselang=⧼lang⧽}}
}} {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}{{#if:<translate>
Usage
Use this template on Template Documentation subpage (/doc).
See also
</translate>
[[Category:Template documentation pages{{#translation:}}]] }}