Commons:TemplateData: Difference between revisions

Content deleted Content added
Created page with '{{TemplateDataInfo}} == Using Template:TemplateBox == <onlyinclude> Every entity, except '''inherit''' that is documented at :mw:Extension:TemplateData|...'
 
m +anchor
Line 9:
 
;Translation
{{anchor|Translation}}
* Avoid {{tl|LangSwitch}}. It doesn't work in TemplateData.
* Append [[:en:ISO 639-1|<code><nowiki>-langcode</nowiki></code>]] to any translatable parameter name. For example, adding the French translation of the description of parameter 1, you would write <code><nowiki>|1d-fr=C'est la description pour paramètre un.</nowiki></code>. Supplying only <code><nowiki>|1d-en=This is the description of parameter 1.</nowiki></code> instead of <code><nowiki>|1d=This is the description of parameter 1.</nowiki></code> will also work. It is recommended to be used if you want to ease the job for translators (because they then recognize the structure behind it without having to consult the documentation).