« Modèle:Documentation » : différence entre les versions
not every template with documentation should go in Category:Template documentation; beautify code
test0>Shirayuki m (dummy edit to update translation pages; see phab:T221119) |
test0>Tacsipacsi (not every template with documentation should go in Category:Template documentation; beautify code) |
||
Ligne 1 : | Ligne 1 : | ||
<languages /> | <languages /> | ||
< | <onlyinclude><includeonly>{{#switch:<translate></translate> | ||
| = | | = {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}} | ||
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}} | | #default = {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Documentation|noshift=1}} | ||
| #default= | }}</includeonly></onlyinclude> | ||
}}</includeonly>< | |||
{{documentation|content= | {{documentation|content= | ||
Ligne 37 : | Ligne 34 : | ||
}} | }} | ||
[[Category:Formatting templates{{#translation:}}|Template documentation]] | [[Category:Formatting templates{{#translation:}}|Template documentation]] | ||
[[Category:Template documentation{{#translation:}}| ]] | [[Category:Template documentation{{#translation:}}| ]] | ||