Template:I18n templates/en: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<languages/> | <languages/> | ||
<onlyinclude>''Help for choosing the right template for your use case:'' | <onlyinclude>''Help for choosing the right template for your use case:'' | ||
<table class="wikitable"> | <table class="wikitable" style="text-align:center"> | ||
<tr><th>Criterion \\ Template</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>Criterion \\ Template</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>Requires JavaScript enabled for folding</th><td>+</td><td>+</td><td>-</td><td>-</td><td>-</td></tr> | <tr><th>Requires JavaScript enabled for folding</th><td>+</td><td>+</td><td>-</td><td>-</td><td>-</td></tr> | ||
| Line 7: | Line 7: | ||
<tr><th>Folding is done server-side</th><td>-</td><td>-</td><td>+</td><td>+</td><td>+</td></tr> | <tr><th>Folding is done server-side</th><td>-</td><td>-</td><td>+</td><td>+</td><td>+</td></tr> | ||
<tr><th>Folding when at least x languages are provided</th><td>1</td><td>4</td><td>1</td><td>1</td><td>1</td></tr> | <tr><th>Folding when at least x languages are provided</th><td>1</td><td>4</td><td>1</td><td>1</td><td>1</td></tr> | ||
<tr><th>Supports language fallbacks</th><td> | <tr><th>Supports language fallbacks</th><td colspan="2" style="background:#CCC">—</td><td>yes</td><td>no</td><td>yes</td></tr> | ||
<tr><th>Collation order of languages (when not folded)</th><td>Latin, Latin or Cyrillic, Cyrillic, Greek, | <tr><th>Collation order of languages (when not folded)</th><td>LTR scripts: Latin, Latin or Cyrillic, Cyrillic, Greek, other simple LTR alphabets (Armenian, Georgian, etc.), abugidas (North Indian, South Indian, other South-East Asian, etc.), syllabaries (European, American, African, Asian), Korean alphabets (basic Jamos, Hangul including some sinograms), Japanese syllabaries (including some sinograms), sinograms (including some syllabaries); RTL scripts: Hebrew, Arabic, other RTL abjads (Divehi, etc.), RTL syllabaries (N'ko)</td><td>as provided by the user in the wikitext.</td><td colspan="3" style="background:#CCC">—</td></tr> | ||
<tr><th>Search indexing issues</th><td>-</td><td>-</td><td>+</td><td>partially (where used; language subpages of templates are indexed)</td><td>-</td></tr> | <tr><th>Search indexing issues</th><td>-</td><td>-</td><td>+</td><td>partially (where used; language subpages of templates are indexed)</td><td>-</td></tr> | ||
<tr><th>Recommended use at</th><td>categories, galleries</td><td>file description pages</td><td>small templates, whenever the previous options are not suitable</td><td>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</td><td>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]]</td></tr> | <tr><th>Recommended use at</th><td>categories, galleries</td><td>file description pages</td><td>small templates, whenever the previous options are not suitable</td><td>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</td><td>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]]</td></tr> | ||
<tr><th>Contains expensive parser functions</th><td> | <tr><th>Contains expensive parser functions</th><td colspan="3">no</td><td colspan="2">yes</td></tr> | ||
</table></onlyinclude> | </table></onlyinclude> | ||
{{documentation}} | {{documentation}} | ||
Revision as of 15:10, 4 May 2020
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 |
| Supports language fallbacks | — | yes | no | yes | |
| Collation order of languages (when not folded) | LTR scripts: Latin, Latin or Cyrillic, Cyrillic, Greek, other simple LTR alphabets (Armenian, Georgian, etc.), abugidas (North Indian, South Indian, other South-East Asian, etc.), syllabaries (European, American, African, Asian), Korean alphabets (basic Jamos, Hangul including some sinograms), Japanese syllabaries (including some sinograms), sinograms (including some syllabaries); RTL scripts: Hebrew, Arabic, other RTL abjads (Divehi, etc.), RTL syllabaries (N'ko) | 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 | no | yes | |||
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 | ||||||