风声鹤唳是什么意思| 真菌感染吃什么药| 做眉毛有什么危害| roca是什么品牌| 3月3日是什么节| 变态反应是什么意思| 疏导是什么意思| 慢性胃炎伴胆汁反流是什么意思| 手麻是什么原因| 女命七杀代表什么| 流局是什么意思| 什么是对数| 降血糖喝什么茶好| 以马内利是什么意思| 老汉推车什么意思| 植物神经紊乱用什么药| 明天是什么生肖| 十二年义务教育什么时候实行| 护理考研考什么| 亚米是什么意思| 手掌上的三条线分别代表什么| 受孕是什么意思| 玉树临风是什么生肖| 乙肝需要检查什么项目| 认识是什么意思| 什么是耽美| 为什么姓张的不用说免贵| 固执的人是什么性格| 杏鲍菇炒什么好吃| 12月26日是什么星座| 霸道是什么意思| 安乐死是什么意思| 月子病是什么症状| 吃黑豆有什么好处| 二倍体是什么意思| 高血压吃什么| 灏字五行属什么| 硬金是什么意思| 来月经吃什么水果| 脑梗是什么原因造成的| 麻雀吃什么食物| 什么药可以止血| 免冠是什么意思| 饭前吃药和饭后吃药有什么区别| 关东煮是什么| 梦见自己和别人吵架是什么意思| 全血低切相对指数偏高什么意思| 产检挂什么科| 手抽筋是什么病的前兆| 情感和感情有什么区别| 9月24号什么星座| cd20阳性什么意思| joan什么意思| 船舷是什么意思| 丰富的近义词和反义词是什么| coa是什么| 高血压挂什么科室| 跑步后脸红是什么原因| 死库水是什么意思| 21三体临界风险是什么意思| 成双成对是什么数字| 什么情况下需要做肠镜| 戒备心是什么意思| 预防保健科是做什么的| 胆结石吃什么药可以化掉结石| ldh是什么| 什么是黄油| 乙肝45阳性什么意思| 很能睡觉是什么原因| 户籍是指什么| 卖淫是什么意思| 真菌是什么原因引起的| 弯是什么意思| 毛囊是什么样子图片| 窦骁父母是干什么的| 脑梗吃什么食物| cnb是什么意思| 亮剑是什么意思| 什么是鸡眼| 心影不大是什么意思| 红红的眼睛是什么生肖| 头麻是什么病的前兆| 肝火旺是什么意思| 用酒擦身体有什么好处| 尿液茶色是什么原因| tg医学上是什么意思| 吃什么消炎药可以喝酒| 痰湿瘀阻是什么症状| 湿疹是什么样子| 根有什么作用| 芝士和奶酪有什么区别| 小腹疼挂什么科| 雷诺综合征是什么病| dmf是什么溶剂| 左旋肉碱什么时候吃效果好| 吃党参有什么好处| sf什么意思| 间隔旁型肺气肿是什么| 什么事情只能用一只手去做| 长痘痘是什么原因| 吃人参果有什么好处| 旅行的意义是什么| 做绝育手术对女人有什么影响| 北京居住证有什么用| 为什么狱警离婚率高| 山东简称为什么是鲁不是齐| 鹿晗是什么星座| 铁锈红配什么颜色好看| 犹太人为什么有钱| 什么人容易得红斑狼疮| 经常打嗝是什么原因引起的| 喝铁观音茶有什么好处| 中焦湿热吃什么中成药| 消化不良大便什么颜色| 牛肉饺子配什么菜好吃| 风湿性心脏病是什么原因引起的| 1948年属鼠的是什么命| 什么是隐形矫正牙齿| 梦见爬山是什么预兆| 坚果补充什么营养成分| 禾花鱼是什么鱼| hbsag是什么意思| 一月15号是什么星座| 天灵盖是什么意思| 小米粥和什么搭配最好最养胃| 灼口综合症吃什么药| 上海是什么中心| 产奶速度慢是什么原因| 高铁动力来源是什么| 什么是血清| 前列腺增生吃什么药见效快| 80年属猴的是什么命| 头晕想睡觉是什么原因| 怀孕前三个月不能吃什么| 打耳洞去医院挂什么科| 人脱水了会有什么表现| 春天什么花会开| 肝病不能吃什么| 梦见自己拉了很多屎是什么意思| 莲雾是什么水果| 什么玉好| 大便颗粒状是什么原因造成的| 喷塑工是干什么的| 乾隆为什么长寿| 2023年属兔的是什么命| 日语八嘎是什么意思| 看脚趾头挂什么科| 为什么瘦不下来| 面部提升做什么项目最好| 二月一号是什么星座| 银五行属性是什么| 冰心原名什么| 五行是什么意思| 师姐是什么意思| 撒贝宁是什么族| 坐北朝南是什么意思| 肚子肥胖是什么原因引起的| 思维跳脱是什么意思| 蛇属什么五行| 说话声音小是什么原因| 天秤座和什么座最配| 护手霜什么牌子的效果好| 什么是行政职务| 杯弓蛇影告诉我们什么道理| 加码是什么意思| 心肌供血不足吃什么药| 咽喉发炎吃什么药| 前列腺炎吃什么食物好| 胃切除手术后吃什么好| 桂圆什么时候上市| 丙肝是什么| 糖链抗原高是什么原因| 下腹疼是什么原因| 小孩老是打嗝是什么原因| 白细胞2加号什么意思| 茶花什么时候开花| 为什么海螺里有大海的声音| 牛肉不能和什么一起吃| 念珠菌是什么病| 最贵的榴莲是什么品种| peace是什么牌子| 四月初八是什么日子| 视力s和c代表什么| 福禄寿什么意思| 八卦中代表雷的卦象叫什么| 乙肝五项245阳性是什么意思| 梦见看电影是什么意思| 在什么什么后面的英文| 治未病科是看什么病的| 刷脂是什么意思| 左侧卵巢内囊性回声是什么意思| usp是什么意思| 腰突然疼是什么原因| 喝大麦茶有什么好处| 水奶是什么| exm是什么意思| 男性生殖长水泡是什么原因| 什么争鸣成语| 金达莱是什么花| 人为什么打哈欠| 想起我叫什么了吗| maxrieny是什么品牌| 阳气是什么| 拟物是什么意思| 马子是什么意思| 梦见蛇被别人打死是什么兆头| 吃素是什么意思| 血糖高不能吃什么| 小孩瘦小不长肉是什么原因| 小孩一到晚上就发烧是什么原因| 什么是着相| 人山人海是什么生肖| rpe是什么意思| 尿路感染是什么引起的| 白猫进家有什么预兆| 62年属什么| 男人少一个睾丸有什么影响| ct和拍片有什么区别| 书香是什么意思| 上日下文念什么| 把脉把的是什么脉| 为什么感冒吃冰棒反而好了| abs是什么意思| 口真念什么| 3p 什么 感觉| 午时银花露有什么功效| 世界第一长河是什么河| 为什么老是想吐| 外交部发言人什么级别| 老是饿是什么原因| 脖子上长扁平疣是什么原因| 燕窝是什么| 98年虎是什么命| 喝椰子汁有什么好处| 小m是什么意思| 什么是物理| 63年属什么| 腿困是什么原因| 什么耳朵| 6月份种什么菜| 肋膈角锐利是什么意思| 翡翠跟玉有什么区别| 高血糖挂什么科室的号| 寒咳吃什么药| 宫颈癌是什么| 吃螃蟹不能喝什么饮料| 男生为什么会勃起| 益生菌的食物是什么| gary什么意思| 单侧耳鸣是什么原因引起的| 癞子是什么意思| 澳大利亚位于什么板块| 佝偻病缺少什么元素| 静脉曲张吃什么药好| 11点半是什么时辰| 8月23是什么星座的| 生殖器疱疹是什么| 红斑狼疮是什么原因引起的| 精神慰藉什么意思| 诗经是什么朝代的| 腋毛上有白色附着物是什么| 理工科是什么意思| 复三上坟是什么意思| 马齿苋有什么好处| 百度

Purpose

edit

This template is used to show translatable templates in the language of the current page. Templates, like all other MediaWiki pages, can be translated using the Translate extension, which creates subpages with the form "pagename/language code". The template first checks if the name of the page contains a language code. If it does, it then checks if the template name given as a first parameter has a translation in that language. If the page name does not contain a language code, or if the navigation template doesn't exist in that language, it will display the English template.

Help for choosing the right template for your use case:
I18n templates: {{Multilingual description|lang=
|de,en,default=Deutsch/English
|fr=fran?ais
|...
}}
{{de|Deutsch}}
{{en|English}}
{{fr|fran?ais}}
...
{{LangSwitch|lang=
|de,en,default=Deutsch/English
|fr=fran?ais
|...
}}
{{Autotranslate}} {{TNT}}
Recommended use at Categories, galleries File description pages (deprecated, can be safely replaced by {{Multilingual description}}) Small templates, whenever the previous options are not suitable (removes the visual indication of the language before each translated text) Data tables with translated cells or 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 Data tables with translated cells or larger templates, when used on pages that do have language subpages; most of the time these will be pages prepared with the Translate Extension
Requires JavaScript enabled for folding Yes No
Folding can be disabled by user Yes No
Folding is done server-side No Yes
Folding when at least n languages are provided 1 (all translations are shown without folding if the preferred language selected by the user has no matching translation) 4 1
Detection of duplicate, incorrect, or unsupported language codes Yes No Yes
Allows the same translation to be used for several languages Yes No Yes
Supports language fallbacks No Yes No Yes
Collation order of languages (when not folded) Consistent order by native language name, languages grouped by script:
  • 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 (any inconsistent order may be difficult to lookup visually) N/A
Search indexing issues No (all translations are included on the same page, however search results may be less relevant with many languages mixed) Yes (may not index all languages depending on search engines, unless there's a list of links for visiting other languages) Partially (where used; language subpages of templates are indexed) No (translated pages should include a <languages/> navigation bar for visiting other languages)
Page size issues Yes (may exhaust size or time limits in the wiki parser if many languages are included; larger pages to download for all visitors; slower navigation for visitors with slow Internet access; may be costly for visitors with limited data plans) No (only the content for the selected language or a suitable fallback language is present in the generated page)
Contains expensive parser functions No Yes (unless there's an editable /lang subpage listing all the existing translations selected with a {{LangSwitch}})

How to use

edit
  • {{Translatable template|name of template|parameters....}}
  • {{TNT|name of template|parameters....}}
  • {{tnt|name of template|parameters....}}

The above simplied syntax cannot work if the named template also needs to be transcluded in other translatable templates, because it would cause self-recursion of {{Translatable template}}. An alternative is to use {{Translatable template name}} which does not expand the template with its parameters, but only returns the resolved template name, which can then be transcluded normally:

  • {{{{Translatable template name|name of template}}|parameters....}}
  • {{{{TNTN|name of template}}|parameters....}}
  • {{{{tntn|name of template}}|parameters....}}

Example (from Commons:Privacy policy):

{{Translatable template|Commons policies and guidelines}} or {{TNT|Commons policies and guidelines}}

which includes translated versions of {{Commons policies and guidelines}} if it exists, or the English version if translations don't exist.

Parameters

edit

The current version of the template may now include any kind of named or numbered parameters, whose values will be transferred into the called template (with the exception of parameter 1 containing the basename of the translatable template to transclude). Numbered parameters will be shifted down by one position, all named parameters will be passed unchanged.

One named parameter is treated specially:

  • {{Translatable template|namespace=:somename:|page name|parameters....}}
  • {{TNT|namespace=:somename:|page name|parameters....}}
  • {{tnt|namespace=:somename:|page name|parameters....}}

This namespace will be used to specify another namespace from which the translatable pagename will be transcluded, instead of referencing the page name from the default :Template: namespace. Note that this parameter is also passed (without modification) within the parameters of the transclusion.

Example with one parameter (from meta:Global sysops):

  • {{TNT|:Special global permissions/Seealso|Global sysops}}

where "Global sysops" - is value of first unnamed parameter, transferred into called page meta:Special global permissions/Seealso.

See also

edit
什么是三位一体 蛟龙是什么 梦见吵架是什么预兆 失去抚养权意味着什么 狗狗气喘吃什么药
癌胚抗原偏高说明什么 倾注是什么意思 肛塞有什么用 脸基尼是什么意思 心率高吃什么药
蜘蛛属于什么类动物 嘴咸是什么原因 厉兵秣马是什么意思 尿酸高的人吃什么食物好 男朋友发烧该说些什么
肌酐偏低是什么原因 血红蛋白低说明什么 鱼精是什么 安全期是什么时候 肢体拘挛是什么意思
看舌头应该挂什么科hcv8jop9ns7r.cn 锁阳泡酒有什么功效hcv7jop6ns4r.cn 手心红是什么原因96micro.com 血余炭是什么制成的xianpinbao.com 9.9号是什么星座hcv9jop4ns4r.cn
什么是白条hcv8jop0ns9r.cn 下午4点到5点是什么时辰hcv7jop9ns2r.cn 管型尿是什么意思hcv8jop5ns6r.cn 什么止痛药效果最好hcv8jop2ns5r.cn 做梦梦到鬼是什么意思hcv8jop4ns5r.cn
脾肾阴虚有什么症状hcv8jop9ns1r.cn 什么蔬菜是温性的hcv9jop1ns2r.cn 龟粮什么牌子的好hcv9jop6ns7r.cn 糖尿病能吃什么主食hcv8jop2ns1r.cn fsh是什么意思hcv8jop7ns1r.cn
小孩智力发育迟缓挂什么科hcv8jop5ns1r.cn 屁股出血是什么原因hcv8jop8ns2r.cn 戳什么意思hcv8jop1ns1r.cn 舅舅的爸爸叫什么hcv8jop8ns3r.cn 三个七念什么hcv8jop8ns4r.cn
百度