Template:I18n templates: Difference between revisions
Template page
More actions
disable all translation, because this template has to work as is, get rid of HTML table while at it |
get rid of weird slash + backslash pairs, remove XML comment explaining the lost translations, this is now plain English |
||
| Line 1: | Line 1: | ||
{| class="wikitable" | {| class="wikitable" | ||
|+ Help for choosing the right template for your use case | |+ Help for choosing the right template for your use case | ||
|- | |- | ||
! | ! | ||
!{{tl|Multilingual description}} | !{{tl|Multilingual description}} | ||
!{{tl|en}}{{tl|fr}}… | !{{tl|en}}{{tl|fr}}… | ||
| Line 25: | Line 24: | ||
|Latin, Latin or Cyrillic, Cyrillic, Greek, Other simple LTR alphabets, Indic, Other South Asian, Syllabaries, Hangul, Japanese scripts, Sinograms, (RTL) Hebrew, (RTL) Arabic languages | |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 | |as provided by the user in the wikitext | ||
||/ | ||n/a||n/a||n/a | ||
|- | |- | ||
!Search indexing issues | !Search indexing issues | ||
| Line 36: | Line 35: | ||
!Recommended use at | !Recommended use at | ||
|pages requiring JavaScript anyway | |pages requiring JavaScript anyway | ||
|/ | |n/a | ||
|anything not needing more convoluted solutions | |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 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 | ||
Revision as of 21:19, 6 January 2015
| {{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 | - | - | - | + | + |