Module Const
wikiggutil-specific constants.
Tables
| COLORS | Color constants. |
| MAP_LINKS | Maps strings (case-sensitive) to wiki page links. |
Fields
| ICON_SIZE_LARGE | Power/Gems icons in tables. |
| ICON_SIZE_MID | Constructables, Masteries, etc. |
| ICON_SIZE_SMALL | Ingredient icons. |
| ICON_SIZE_SMALLER | Keybind icons in strings. |
| INFO | Text prepended to any generated Wikitext content to inform wiki writers. |
Tables
- COLORS
-
Color constants.
Fields:
- MIRAGE Mirage equipment reward type (used in Wikitext.RewardToString)
- MASTERY Mastery references (small icon + name) (used in Wikitext.MiragePatternsTable)
- MAP_LINKS
-
Maps strings (case-sensitive) to wiki page links.
Indexed table, order matters, first mappings are processed first, so longer match strings should come first.
Fields:
- _
{[string]=string,[string]=string}
matchtodestWikitextBasic.Link mapping (see Usage for more details).
Usage:
Const.MAP_LINKS = { -- full form {match = "Text To Match", dest = "Destination Page"}, -- short form ("Text" will be linked to the page named "Text") {match = "Text"}, -- (notice that "Focus Hits" is mapped before "Focus Hit" and "Focus", the order matters) {match = "Critical Hits", dest = "Mechanics#Critical Hit"}, {match = "Critical Hit Chance", dest = "Mechanics#Critical Hit Chance"}, {match = "Critical Chance", dest = "Mechanics#Critical Hit"}, {match = "Critical Hit", dest = "Mechanics#Critical Hit"}, {match = "Critical", dest = "Mechanics#Critical Hit"}, } - _
{[string]=string,[string]=string}