Module:languages/data/documentation
< Module:languages | data
This is the documentation page for Module:languages/data
This module houses data about the Laenkean languages. Be careful when editing! You must keep to Lua's format or it could break a lot of things.
To add a language, just place a new line along with the others of the following format:
["cod"] = {name = "My language", code = "cod", link = "Appendix:World/My_language", proto = false},
name
- The name of the language
code
- The language's code. This should be three letters and representative of the language's name. Middle, Old and Proto-languages should have
-m
,-o
or-pro
respectively tacked onto the end of their three-letter code. If you have multiple forms of a language, e.g Old Language and modern Language, the first three letter code should be the same with differing endings. For example,lng-o
andlng
.
link
- This should be the Laenktionary page you want to be linked to when your language name appears as a link. Often this will be a world encyclopedia page about your language, though if you don't have one you can consider setting it to a link to your language's lemma category. Remember that category links need to start with a colon, e.g
:Category:My language lemmas
.
proto
- This is a
true
orfalse
value. It should be set to true if your language is a proto-language (i.e reconstructed), and false if not. This determines whether an asterisk will appear next to terms in the language, and whether words in the language will have regular links or links via e.g. Appendix:Proto-Language.