Lua is a programming language that is available, via the Scribunto MediaWiki extension. Lua code can now be embedded into wiki templates by employing the "{{#invoke:}}" functionality of Scribunto. The Lua source is stored in pages called modules (e.g., Module:Skill). These individual modules are then invoked (by code {{#invoke:}}
) on template page. Modules are used when more advanced functions with high performance are required.
For more information see: Wikipedia:Help:Module
For editors[]
- Items
- Module:Item - Responsible for the item info boxes and lists.
- Module:Item2 - The long-term replacement for Module:Item. Defines and stores Cargo tables. The game data can be exported with PyPoE.
- Module:Skill - Skill related templates; also included by Module:Item2 for skill gem support. The game data can be exported with PyPoE.
- Module:Item table - Item related tables.
- Module:Item link - Links for items.
- Modifiers
- Module:Mod - Defines modifier related templates. The game data can be exported with PyPoE.
- Module:Modifier table - Modifier related tables.
- Module:Data tables - Various infoboxes that defines and stores cargo tables.
- Module:Quest - Quest related templates.
- Module:QuestReward - Quest reward related templates and data.
- Module:Miscellaneous - Minor templates that don't need their own module.
For other modules[]
- Module:Util - Various utility functions to simplify coding new modules.
- Module:Arguments - Parses arguments passed to module calls.
- Module:Game - Contains various game-related constants and data.
- Module:Table - Extended Table functionality.