Module:DungeonBox: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

21 October 2023

  • curprev 07:0507:05, 21 October 2023ShuBen1630 talk contribs 468 bytes −1 No edit summary
  • curprev 06:5506:55, 21 October 2023ShuBen1630 talk contribsm 469 bytes −4 tbh I have no idea what I am doing
  • curprev 06:5306:53, 21 October 2023ShuBen1630 talk contribs 473 bytes +473 Created page with "local p = {} function p.NodeID(frame) -- Get the table name and key from the template call local id = frame.args[1] local key = frame.args[2] -- Define a list of tables local enemyData = mw.loadData ('Module:DungeonBox/data') -- Get the table corresponding to the provided name local enemyName = enemyData[id] -- Check if the key exists in the selected table if enemyName[key] then return enemyName[key] else return nil end end return p"