模组:Language/doc
外观
这是Module:Language的文档页面
此模块文档已评为beta版,可广泛使用。因其新近完成,请谨慎使用,以确保输出结果符合预期。 |
使用
[编辑]该模块受到Wiktionary上的模板 {{m}}和 {{l}}及其关联模块的调控。它具有维基词典链接功能,链接到维基词典的正确部分,并应用正确的语言格式和斜体。语言格式化函数完成{{{2}}}所做的大部分工作,以及将字体修改成适当的斜体。
它最终应该能够在许多{{lang-xx}}模板中直接生成文本,例如{{lang-fr}}(甚者,它将可以为某些语言生成自动音译和IPA,以供在像{{lang-rus}}这样的模板中使用)。
举例
[编辑]* {{#invoke:language|wikt|en|language}} * {{#invoke:language|wikt|en|language|languages}} * {{#invoke:Language|wikt|fr|bourguignon}} * {{#invoke:Language|wikt|la|homō}} * {{#invoke:Language|wikt|grc|δημοκρατίᾱ}} * {{#invoke:Language|wikt|ru|язы́к}} * {{#invoke:Language|lang|ru|язы́к}} * {{#invoke:Language|wikt|ar|العَرَبِيَّة}} * {{#invoke:Language|wikt|fa|فارسی}}
无效的代码
[编辑]* {{#invoke:language|wikt|EN|language}} * {{#invoke:language|wikt|En|language|languages}} * {{#invoke:Language|wikt|La|homō}} * {{#invoke:Language|wikt|Grc|δημοκρατίᾱ}} * {{#invoke:Language|wikt|Ru|язы́к}} * {{#invoke:Language|lang|Ru|язы́к}} * {{#invoke:Language|wikt|Ar|العَرَبِيَّة}} * {{#invoke:Language|wikt|Fa|فارسی}}
错误
[编辑]* {{#invoke:Language|wikt|en-Latin|language}}
- language [
Latin
is not a valid script code.]
Subpages
“Language”前缀的页面在“Module”和“Module talk”命名空间:
Module:
Language |
- 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