Template:I18n templates: Difference between revisions
Template page
More actions
needs no documentation |
disable T:17 translation of the caption for now, the template has to work as is |
||
| Line 2: | Line 2: | ||
<onlyinclude> | <onlyinclude> | ||
<table class="wikitable"> | <table class="wikitable"> | ||
<caption><!-- translate --><!--T:17-->Help for choosing the right template for your use case</caption><!-- /translate --> | |||
<tr><th><translate><!--T:1--> | <tr><th><translate><!--T:1--> | ||
Criterion \\ Template</translate></th><th>{{tl|Multilingual description}}</th><th>{{tl|en}}{{tl|fr}}…</th><th>{{tl|LangSwitch}}</th><th>{{tl|Autotranslate}}</th><th>{{tl|TNT}}</th></tr> | Criterion \\ Template</translate></th><th>{{tl|Multilingual description}}</th><th>{{tl|en}}{{tl|fr}}…</th><th>{{tl|LangSwitch}}</th><th>{{tl|Autotranslate}}</th><th>{{tl|TNT}}</th></tr> | ||
Revision as of 20:37, 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 | 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 | - | - | - | + | + |