Module:Language/doc
Jump to navigation
Jump to search
This is the documentation page for Module:Language
This module is rated as beta, and is ready for widespread use. It is still new and should be used with some caution to ensure the results are as expected. |
Language templates |
---|
Languages (ISO 639) |
|
Scripts (ISO 15924) |
|
Wiktionary links |
|
Other |
|
Data |
Usage[edit source]
This module is used by {{wikt-lang}}
and {{wt}}
. It is inspired by the templates {{m}} and {{l}} and their associated modules on Wiktionary. It has a Wiktionary link function that links to the correct section of the Wiktionary entry, and applies correct language formatting and italics. The language-tagging function does most of what {{lang}} does, except that italics can't be customized and categories aren't added.
Examples[edit source]
* {{#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|ine-x-proto|*h₂enǵʰ-}}
Invalid codes[edit source]
* {{#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|فارسی}}
Errors[edit source]
* {{#invoke:Language|wikt|en-Latin|language}}
- language [
Latin
is not a valid script code.]
Subpages[edit source]
Subpages
Pages with the prefix 'Language' in the 'Module' and 'Module talk' namespaces:
Module:
Language |
- Language/data
- Language/data/ISO 639-1
- Language/data/ISO 639-1/doc
- Language/data/ISO 639-1/make
- Language/data/ISO 639-1/make/doc
- Language/data/ISO 639-2
- Language/data/ISO 639-2/doc
- Language/data/ISO 639-2/make
- Language/data/ISO 639-2/make/doc
- 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-5
- Language/data/ISO 639-5/doc
- Language/data/ISO 639-5/make
- Language/data/ISO 639-5/make/doc
- Language/data/ISO 639 name to code
- Language/data/ISO 639 name to code/doc
- Language/data/ISO 639 name to code/make
- Language/data/ISO 639 name to code/make/doc
- Language/data/ISO 639 override
- Language/data/ISO 639 override/doc
- Language/data/doc
- Language/data/iana
- Language/data/iana/doc
- Language/data/iana/make
- Language/data/iana/make/doc
- Language/data/iana languages
- Language/data/iana regions
- Language/data/iana scripts
- Language/data/iana suppressed scripts
- Language/data/iana variants
- Language/data/iso 15924
- Language/data/iso 15924/doc
- Language/data/wp languages
- Language/data/wp languages/doc
- Language/doc
- Language/name/data
- Language/name/data/doc
Module talk:
Language |
External links[edit source]
- Module:Language/doc at Wikipedia, the free Terran-based encyclopedia that anyone can edit.