Template:I18n templates: Difference between revisions
Template page
More actions
+ed |
suggest widths |
||
| Line 2: | Line 2: | ||
|+ Help for choosing the right template for your use case | |+ Help for choosing the right template for your use case | ||
|- | |- | ||
|<small style="font-size:xx-small">[[Template:I18n templates|I18n templates]]</small> | |width="16%"|<small style="font-size:xx-small">[[Template:I18n templates|I18n templates]]</small> | ||
!{{tl|Multilingual description}} | !width="19%"|{{tl|Multilingual description}} | ||
!{{tl|en}}{{tl|fr}}… | !width="10%"|{{tl|en}}{{tl|fr}}… | ||
!{{tl|LangSwitch}} | !width="13%"|{{tl|LangSwitch}} | ||
!{{tl|Autotranslate}} | !width="22%"|{{tl|Autotranslate}} | ||
!{{tl|TNT}} | !width="19%"|{{tl|TNT}} | ||
|- | |- | ||
!Requires JavaScript enabled for folding | !Requires JavaScript enabled for folding | ||
Revision as of 21:57, 6 January 2015
| I18n templates | {{Multilingual description}} | {{En}}{{Fr}}… | {{LangSwitch}} | {{Autotranslate}} | {{TNT}} |
|---|---|---|---|---|---|
| Requires JavaScript enabled for folding | + | + | - | - | - |
| Folding can be disabled by user | + | + | - | - | - |
| Folding is done server-side | - | - | + | + | + |
| Folding when at least x languages are provided | 1 | 4 | 1 | 1 | 1 |
| Collation order of languages (when not folded) | Latin, Latin or Cyrillic, Cyrillic, Greek, Other simple LTR alphabets, Indic, Other South Asian, Syllabaries, Hangul, Japanese scripts, Sinograms, (RTL) Hebrew, (RTL) Arabic languages | as provided by the user in the wikitext | n/a | n/a | n/a |
| Search indexing issues | - | - | + | partially (where used; language subpages of templates are indexed) | - |
| Recommended use at | pages requiring JavaScript anyway | n/a | anything not needing more convoluted solutions | larger templates when used on pages that do not have language subpages (e.g. not having Main page/en, Main page/de) and where the language displayed will be automatically determined by the language set in user preferences
|
larger templates when used on pages that do have language subpages; most of the time these will be pages prepared with the Translate Extension |
| Contains expensive parser functions | - | - | - | + | + |