模组:Language-zh/doc
这是Module:Language-zh的文档页面
![]() | 此模块文档已评为beta版,可广泛使用。因其新近完成,请谨慎使用,以确保输出结果符合预期。 |
使用
编辑该模块是Module:Language的本地化版本,其数据库中以英文表示的语言被翻译为了中文。
该模块受到Wiktionary上的模板 {{m}}和 {{l}}及其关联模块的调控。它具有维基词典链接功能,链接到维基词典的正确部分,并应用正确的语言格式和斜体。语言格式化函数完成{{{2}}}所做的大部分工作,以及将字体修改成适当的斜体。
举例
编辑* {{#invoke:Language-zh|wikt|en|language}} * {{#invoke:Language-zh|wikt|en|language|languages}} * {{#invoke:Language-zh|wikt|fr|bourguignon}} * {{#invoke:Language-zh|wikt|la|homō}} * {{#invoke:Language-zh|wikt|grc|δημοκρατίᾱ}} * {{#invoke:Language-zh|wikt|ru|язы́к}} * {{#invoke:Language-zh|lang|ru|язы́к}} * {{#invoke:Language-zh|wikt|ar|العَرَبِيَّة}} * {{#invoke:Language-zh|wikt|fa|فارسی}}
无效的代码
编辑* {{#invoke:Language-zh|wikt|EN|language}} * {{#invoke:Language-zh|wikt|En|language|languages}} * {{#invoke:Language-zh|wikt|La|homō}} * {{#invoke:Language-zh|wikt|Grc|δημοκρατίᾱ}} * {{#invoke:Language-zh|wikt|Ru|язы́к}} * {{#invoke:Language-zh|lang|Ru|язы́к}} * {{#invoke:Language-zh|wikt|Ar|العَرَبِيَّة}} * {{#invoke:Language-zh|wikt|Fa|فارسی}}
错误
编辑* {{#invoke:Language-zh|wikt|en-Latin|language}}
- language [
Latin
is not a valid script code.]
Subpages
“Language”前缀的页面在“Module”和“Module talk”命名空间:
Module:
Language |
- Language/data
- Language/data/ISO 639-1
- Language/data/ISO 639-2
- Language/data/ISO 639-2B
- Language/data/ISO 639-3
- Language/data/ISO 639-3/doc
- Language/data/ISO 639-3/make
- Language/data/ISO 639-3/make/doc
- Language/data/ISO 639-3/sandbox
- Language/data/ISO 639-5
- Language/data/ISO 639 deprecated
- Language/data/ISO 639 override
- Language/data/iana languages
- Language/data/iana languages/doc
- Language/data/iana languages/make
- Language/data/iana languages/sandbox
- Language/data/iana regions
- Language/data/iana scripts
- Language/data/iana suppressed scripts
- Language/data/iana variants
- Language/data/iso 15924
- Language/data/iso 3166-1
- Language/data/iso 3166-1/doc
- Language/data/names
- Language/data/sandbox
- Language/data/un m.49
- Language/data/un m.49/doc
- Language/data/wp languages
- Language/data/wp languages/doc
- Language/doc
- Language/external links
- Language/external links/doc
- Language/name
- Language/name/data
- Language/name/data/ISO 639 synonym extraction tool
- Language/name/data/doc
- Language/name/data/iana data extraction tool
- Language/name/data/iana data extraction tool/doc
- Language/name/doc
- Language/sandbox
- Language/scripts
- Language/scripts/codepoints
- Language/scripts/codepoints/doc
- Language/scripts/codepoints adjacent merged
- Language/scripts/codepoints verbatim
- Language/scripts/data
- Language/scripts/data/doc
- Language/scripts/doc
- Language/scripts/testcases
- Language/testcases
- Language/text
- Language/text/doc