Path of Exile Wiki

Please consider helping keep the wiki up to date. Check the to-do list of updates needed for version 3.14.0.

Game data exports will becoming later as the technical changes in addition to regular changes take some more time.

READ MORE

Path of Exile Wiki
m
Line 1: Line 1:
  +
[[wikipedia:Lua (programming language)|Lua]] is a programming language that is available, via the [[mw:Extension:Scribunto|Scribunto]] MediaWiki extension. Lua code can now be embedded into wiki templates by employing the "<nowiki>{{#invoke:}}</nowiki>" functionality of Scribunto. The Lua source is stored in pages called '''modules''' (e.g., [[Module:Skill]]). These individual modules are then invoked (by code <code><nowiki>{{#invoke:}}</nowiki></code>) on template page. Modules are used when more advanced functions with high performance are required.
Overview of custom modules used on this wiki.
 
  +
  +
''For more information see: [[Wikipedia:Help:Module]]''
   
 
==For editors==
 
==For editors==

Revision as of 09:17, 29 September 2016

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

  • Module:Item responsible for the item info boxes and lists
  • Module:Item2 the long-term replacement for Module:Item that incorporates SMW and game-data exports with PyPoE
  • Module:Mod for modifier related templates
  • Module:Skill for skill related templates; also included by Module:Item2 for skill gem support
  • Module:Quest for quest related templates
  • Module:QuestReward for quest reward related templates and data
  • Module:SMW query for implementing complicated smw queries and result formatting in lua
  • Module:SMW data tables for implementing input templates for semantic data
  • Module:SMW result formats for implementing row-wise formatting templates for semantic queries
  • Module:Miscellaneous for minor templates that don't need their own module.

For other modules

See also