Module:government/data: Difference between revisions
Jump to navigation
Jump to search
TheNightAvl (talk | contribs) (Created page with "local data = { -- base cases ["nominative"] = {["label"] = "nominative", ["colour"] = "ffb3ba"}, ["accusative"] = {["label"] = "accusative", ["colour"] = "ffdfba"}, ["dative"] = {["label"] = "dative", ["colour"] = "ffffba"}, ["genitive"] = {["label"] = "genitive", ["colour"] = "baffc9"}, ["locative"] = {["label"] = "locative", ["colour"] = "bae1ff"}, ["instrumental"] = {["label"] = "instrumental", ["colour"] = "f1b3ff"}, } -- LAEFEVIAN CASES data["inessive"] = {[...") |
No edit summary |
||
Line 12: | Line 12: | ||
data["inessive"] = {["label"] = "inessive", ["colour"] = data["locative"].colour} | data["inessive"] = {["label"] = "inessive", ["colour"] = data["locative"].colour} | ||
data["illative"] = {["label"] = "illative", ["colour"] = data["accusative"].colour} | data["illative"] = {["label"] = "illative", ["colour"] = data["accusative"].colour} | ||
data["translative"] = {["label"] = "translative", ["colour"] = data["instrumental"].colour} | |||
-- ALIASES | -- ALIASES | ||
Line 23: | Line 24: | ||
data["ill"] = data["illative"] | data["ill"] = data["illative"] | ||
data["ine"] = data["inessive"] | data["ine"] = data["inessive"] | ||
data["trans"] = data["translative"] | |||
return data | return data |
Revision as of 21:27, 27 October 2023
Documentation for this module may be created at Module:government/data/documentation
local data = {
-- base cases
["nominative"] = {["label"] = "nominative", ["colour"] = "ffb3ba"},
["accusative"] = {["label"] = "accusative", ["colour"] = "ffdfba"},
["dative"] = {["label"] = "dative", ["colour"] = "ffffba"},
["genitive"] = {["label"] = "genitive", ["colour"] = "baffc9"},
["locative"] = {["label"] = "locative", ["colour"] = "bae1ff"},
["instrumental"] = {["label"] = "instrumental", ["colour"] = "f1b3ff"},
}
-- LAEFEVIAN CASES
data["inessive"] = {["label"] = "inessive", ["colour"] = data["locative"].colour}
data["illative"] = {["label"] = "illative", ["colour"] = data["accusative"].colour}
data["translative"] = {["label"] = "translative", ["colour"] = data["instrumental"].colour}
-- ALIASES
data["nom"] = data["nominative"]
data["acc"] = data["accusative"]
data["dat"] = data["dative"]
data["gen"] = data["genitive"]
data["loc"] = data["locative"]
data["ins"] = data["instrumental"]
data["inst"] = data["instrumental"]
data["ill"] = data["illative"]
data["ine"] = data["inessive"]
data["trans"] = data["translative"]
return data