Template:I18n templates: Difference between revisions
Template page
More actions
disable T:17 translation of the caption for now, the template has to work as is |
disable all translation, because this template has to work as is, get rid of HTML table while at it |
||
| Line 1: | Line 1: | ||
< | <!-- disabled for now, c.f. [[Commons:Requests for comment/How Commons should deal with TemplateData]] --> | ||
{| class="wikitable" | |||
|+ Help for choosing the right template for your use case | |||
|- | |||
!Criterion \\ Template | |||
!{{tl|Multilingual description}} | |||
Criterion \\ Template | !{{tl|en}}{{tl|fr}}… | ||
!{{tl|LangSwitch}} | |||
Requires JavaScript enabled for folding | !{{tl|Autotranslate}} | ||
!{{tl|TNT}} | |||
Folding can be disabled by user | |- | ||
!Requires JavaScript enabled for folding | |||
Folding is done server-side | ||+||+||-||-||- | ||
|- | |||
Folding when at least x languages are provided | !Folding can be disabled by user | ||
||+||+||-||-||- | |||
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 | !Folding is done server-side | ||
as provided by the user in the wikitext | ||-||-||+||+||+ | ||
|- | |||
Search indexing issues | !Folding when at least x languages are provided | ||
partially (where used; language subpages of templates are indexed) | ||1||4||1||1||1 | ||
|- | |||
Recommended use at | !Collation order of languages (when not folded) | ||
pages requiring JavaScript anyway | |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 | |||
anything not needing more convoluted solutions | ||//||//||// | ||
larger templates when used on pages that do not have language subpages (e.g. not having | |- | ||
larger templates when used on pages that do have language subpages; most of the time these will be pages prepared with the [[ | !Search indexing issues | ||
||- | |||
Contains expensive parser functions | ||- | ||
||+ | |||
||partially (where used; language subpages of templates are indexed) | |||
||- | |||
|- | |||
!Recommended use at | |||
|pages requiring JavaScript anyway | |||
|// | |||
|anything not needing more convoluted solutions | |||
|larger templates when used on pages that do not have language subpages (e.g. not having <code><nowiki>Main page/en</nowiki></code>, <code><nowiki>Main page/de</nowiki></code>) 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 [[mw:Help:Extension:Translate|Translate Extension]] | |||
|- | |||
!Contains expensive parser functions | |||
||-||-||-||+||+ | |||
|} | |||
Revision as of 21:11, 6 January 2015
| Criterion \\ Template | {{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 | // | // | // |
| Search indexing issues | - | - | + | partially (where used; language subpages of templates are indexed) | - |
| Recommended use at | pages requiring JavaScript anyway | // | 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 | - | - | - | + | + |