Difference between revisions of "Commons:TemplateData"
← Older edit
Newer edit →
Commons:TemplateData (edit)
Revision as of 17:39, 17 August 2013
96 BYTES ADDED
,  8 YEARS AGO
m
→‎Using TemplateBox: +marker
;Translation
* Avoid {{tl|LangSwitch}}. It doesn't work in TemplateData.
* Append [[:en:ISO 639-1|<code><nowiki>-langcode</nowiki></code>]] to the name of any translatable parameter, namemarked by {{TemplateBox/use suffix}} in [[Template:TemplateBox#Parameters|TemplateBox]]​. 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).
* The language code must be the last element. Valid: <code><nowiki>|1d-td-en=</nowiki></code>. Invalid: <s><code><nowiki>|1d-en-td=</nowiki></code></s>
 
Rillke
FILE MOVERS, PATROLLERS, ROLLBACKERS
77,359
EDITS
Wikimedia Commons
Privacy policy
Terms of Use
Desktop
HomeRandom Nearby Log in Settings DonateAbout Wikimedia CommonsDisclaimers