Jump to content

Module:Wikt-lang/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Erutuon (talk | contribs) at 04:29, 10 October 2016 (Usage: not a good example because Wiktionary doesn't recognize it as distinct from Persian). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


Usage

This module is inspired by the templates {{m}} and {{l}} and their associated modules on Wiktionary. It should eventually do what Template:Lang does, but without the huge number of small templates, like {{ISO 639 name fr}}. And it should also be able to generate the text in numerous {{lang-xx}} templates, such as {{lang-fr}}. (Or even more ambitious, it could generate automatic transliteration and IPA for some languages, to be used in templates like {{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|فارسی}}
  • Script error: The function "wikt" does not exist.
  • Script error: The function "wikt" does not exist.
  • Script error: The function "wikt" does not exist.
  • Script error: The function "wikt" does not exist.
  • Script error: The function "wikt" does not exist.
  • Script error: The function "wikt" does not exist.
  • Script error: The function "lang" does not exist.
  • Script error: The function "wikt" does not exist.
  • Script error: The function "wikt" does not exist.