模板:Languages/Lang

来自SINO云课堂
< 模板:Languages
TeCHiScy讨论 | 贡献2018年5月5日 (六) 10:01的版本 (创建页面,内容为“{{#ifexist: {{#if:{{{2|}}}|{{{2}}}|{{translatable}}}}/{{{1|}}} | • <bdi lang="{{{1|}}}">{{#if:{{{2|}}} |[[:{{{2|}}}/{{{1|}}}|{{#language:{{{1|}}}}}]] |:…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
Documentation icon Template documentation[view] [edit] [history] [purge]

Template

This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.

Usage

This template is designed to simplify Template:Languages, by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template.