Template:I18n templates: Difference between revisions
Template page
More actions
m fix |
No edit summary |
||
| Line 8: | Line 8: | ||
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> | ||
<tr><th><translate><!--T:2--> | <tr><th><translate><!--T:2--> | ||
Requires JavaScript enabled for folding</translate></th><td>+</td><td>+</td><td>-</td><td>-</td><td>-</td></tr> | |||
<tr><th><translate><!--T:3--> | <tr><th><translate><!--T:3--> | ||
Folding can be disabled by user</translate></th><td>+</td><td>+</td><td>-</td><td>-</td><td>-</td></tr> | |||
<tr><th><translate><!--T:4--> | <tr><th><translate><!--T:4--> | ||
Folding is done server-side</translate></th><td>-</td><td>-</td><td>+</td><td>+</td><td>+</td></tr> | |||
<tr><th><translate><!--T:5--> | <tr><th><translate><!--T:5--> | ||
Folding when at least x languages are provided</translate></th><td>1</td><td>4</td><td>1</td><td>1</td><td>1</td></tr> | |||
<tr><th><translate><!--T:6--> | <tr><th><translate><!--T:6--> | ||
Collation order of languages (when not folded)</translate></th><td><translate><!--T:18--> | |||
Latin, Latin or Cyrillic, Cyrillic, Greek, Other simple LTR alphabets, Indic, Other South Asian, Syllabaries, Hangul, Japanese scripts, Sinograms, (RTL) Hebrew, (RTL) Arabic languages</translate></td><td><translate><!--T:7--> | Latin, Latin or Cyrillic, Cyrillic, Greek, Other simple LTR alphabets, Indic, Other South Asian, Syllabaries, Hangul, Japanese scripts, Sinograms, (RTL) Hebrew, (RTL) Arabic languages</translate></td><td><translate><!--T:7--> | ||
as provided by the user in the wikitext</translate></td><td>//</td><td>//</td><td>//</td></tr> | as provided by the user in the wikitext</translate></td><td>//</td><td>//</td><td>//</td></tr> | ||
<tr><th><translate><!--T:8--> | <tr><th><translate><!--T:8--> | ||
Search indexing issues</translate></th><td>-</td><td>-</td><td>+</td><td><translate><!--T:9--> | |||
partially (where used; language subpages of templates are indexed)</translate></td><td>-</td></tr> | partially (where used; language subpages of templates are indexed)</translate></td><td>-</td></tr> | ||
<tr><th><translate><!--T:10--> | <tr><th><translate><!--T:10--> | ||
Recommended use at</translate></th><td><translate><!--T:11--> | |||
categories, galleries</translate></td><td><translate><!--T:12--> | categories, galleries</translate></td><td><translate><!--T:12--> | ||
file description pages</translate></td><td><translate><!--T:13--> | file description pages</translate></td><td><translate><!--T:13--> | ||
| Line 30: | Line 30: | ||
larger templates when used on pages that do have language subpages; most of the time these will be pages prepared with the [[<tvar|page>:mw:Help:Extension:Translate</>|Translate Extension]]</translate></td></tr> | larger templates when used on pages that do have language subpages; most of the time these will be pages prepared with the [[<tvar|page>:mw:Help:Extension:Translate</>|Translate Extension]]</translate></td></tr> | ||
<tr><th><translate><!--T:16--> | <tr><th><translate><!--T:16--> | ||
Contains expensive parser functions</translate></th><td>-</td><td>-</td><td>-</td><td>+</td><td>+</td></tr> | |||
</table></onlyinclude> | </table></onlyinclude> | ||
{{documentation}} | {{documentation}} | ||
Revision as of 20:46, 17 May 2014
Help for choosing the right template for your use case:
| 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 | categories, galleries | file description pages | small templates, whenever the previous options are not suitable | 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 | - | - | - | + | + |
This documentation is transcluded from Template:I18n templates/doc.
This template is used as info in i18n template documentations and has no parameters
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||