|
|
Line 4: |
Line 4: |
|
| |
|
| -- COLOUR DATA | | -- COLOUR DATA |
| local data = { | | local data = mw.loadData("Module:government/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}
| |
| | |
| -- 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"]
| |
|
| |
|
| function export.generate(frame) | | function export.generate(frame) |