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

De wiki-spl
Aller à la navigation Aller à la recherche
test0>Shirayuki
(use translation aware transclusion)
test0>Tacsipacsi
(Undo revision 4425885 by Shirayuki (talk): translation aware transclusion is not aware of the fact that this template should use UI language rather than page language)
Ligne 1 : Ligne 1 :
<noinclude>
<noinclude>
<languages/>
<languages/>
</noinclude><includeonly><!--
</noinclude>{{#switch:<translate></translate>
| =
<includeonly><!--
  -->{{#ifeq:{{lc:{{SUBPAGENAME}}}} |{{{override|doc}}}
  -->{{#ifeq:{{lc:{{SUBPAGENAME}}}} |{{{override|doc}}}
     | <!--(this template has been transcluded on a /doc or /{{{override}}} page)-->
     | <!--(this template has been transcluded on a /doc or /{{{override}}} page)-->
Ligne 31 : Ligne 33 :
     | <!--(this template has not been transcluded on a /doc or /{{{override}}} page)-->
     | <!--(this template has not been transcluded on a /doc or /{{{override}}} page)-->
     }}<!--
     }}<!--
--></includeonly><includeonly>[[Category:Template documentation]]</includeonly><noinclude>
--></includeonly>
| #default=
  {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Documentation subpage|noshift=1|uselang={{int:lang}}}}
}}<includeonly>[[Category:Template documentation]]</includeonly><noinclude>
{{Documentation|content=
{{Documentation|content=



Version du 26 février 2021 à 23:39

<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:}}]] }}