Difference between revisions of "Template:TemplateData header"

From BTAWiki
Jump to navigation Jump to search
m (dummy edit to enable new translation units; see phab:T221119)
(add parameter to override the {{int:lang}} language (this template may be used on untranslated as well as on translated templates), load the same documentation on all translations)
Line 8: Line 8:
 
</div><includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||[[Category:TemplateData documentation]]}}</includeonly>
 
</div><includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||[[Category:TemplateData documentation]]}}</includeonly>
 
| #default=
 
| #default=
   {{#invoke:Template translation|renderTranslatedTemplate|template=Template:TemplateData header|noshift=1|uselang={{int:lang}}}}
+
   {{#invoke:Template translation|renderTranslatedTemplate|template=Template:TemplateData header|noshift=1|uselang={{{uselang|{{int:lang}}}}}}}
 
}}<noinclude>
 
}}<noinclude>
{{Documentation}}
+
{{Documentation|Template:TemplateData header/doc}}
 
</noinclude>
 
</noinclude>

Revision as of 12:15, 6 July 2020

<languages /> Script error: No such module "Template translation". Script error: No such module "documentation".