Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:I18n templates: Difference between revisions

Template page
m :
centre minus
Line 4: Line 4:
|width="16%"|<small style="font-size:xx-small">[[Template:I18n templates|I18n templates]]:</small>
|width="16%"|<small style="font-size:xx-small">[[Template:I18n templates|I18n templates]]:</small>
!width="19%"|{{tl|Multilingual description}}
!width="19%"|{{tl|Multilingual description}}
!width="10%"|{{tl|en}}{{tl|fr}}
!width="10%"|{{tl|en}}{{tl|fr}}&hellip;
!width="13%"|{{tl|LangSwitch}}
!width="13%"|{{tl|LangSwitch}}
!width="22%"|{{tl|Autotranslate}}
!width="22%"|{{tl|Autotranslate}}
Line 10: Line 10:
|-
|-
!Requires JavaScript enabled for folding
!Requires JavaScript enabled for folding
||+||+||-||-||-
|align="center"|'''+'''
|align="center"|'''+'''
|align="center"|&minus;
|align="center"|&minus;
|align="center"|&minus;
|-
|-
!Folding can be disabled by user
!Folding can be disabled by user
||+||+||-||-||-
|align="center"|'''+'''
|align="center"|'''+'''
|align="center"|&minus;
|align="center"|&minus;
|align="center"|&minus;
|-
|-
!Folding is done server-side
!Folding is done server-side
||-||-||+||+||+
|align="center"|&minus;
|align="center"|&minus;
|align="center"|'''+'''
|align="center"|'''+'''
|align="center"|'''+'''
|-
|-
!Folding when at least x languages are provided
!Folding when at least ''n'' languages are provided
||1||4||1||1||1
|align="center"|'''1'''
|align="center"|'''4'''
|align="center"|'''1'''
|align="center"|'''1'''
|align="center"|'''1'''
|-
|-
!Collation order of languages (when not folded)
!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
|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
|align="center"|&minus;
|align="center"|&minus;
|align="center"|&minus;
|-
|-
!Search indexing issues
!Search indexing issues
||-
|align="center"|&minus;
||-
|align="center"|&minus;
||+
|align="center"|'''+'''
||partially (where used; language subpages of templates are indexed)
|partially (where used; language subpages of templates are indexed)
||-
|align="center"|&minus;
|-
|-
!Recommended use at
!Recommended use at
|pages requiring JavaScript anyway
|pages requiring JavaScript anyway
|n/a
|align="center"|&minus;
|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
Line 41: Line 59:
|-
|-
!Contains expensive parser functions
!Contains expensive parser functions
||-||-||-||+||+
|align="center"|&minus;
|align="center"|&minus;
|align="center"|&minus;
|align="center"|'''+'''
|align="center"|'''+'''
|}
|}

Revision as of 22:20, 6 January 2015

Help for choosing the right template for your use case
I18n templates: {{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 n 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 + +
Cookies help us deliver our services. By using our services, you agree to our use of cookies.