模組: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/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