Module:Item Usage: Difference between revisions
From The Petit Planet Wiki
More actions
Created page with "local p = {} local lib = require('Module:Feature') local Parse = require('Module:Parser').getTemplateArgs local Rlib = require('Module:Recipe').param local Item = require('Module:Item')._main function p.main(frame) local args = require('Module:Arguments').getArgs(frame, { parentFirst = true, wrappers = {'Template:Item Usage'} }) local item = args[1] or mw.title.getCurrentTitle().rootText local count = 0 local craftType = args['type'] local out = mw.html.create..." |
fandom-table -> wikitable |
||
| Line 51: | Line 51: | ||
function p._main(valids, craftType) | function p._main(valids, craftType) | ||
local _table = mw.html.create('table'):addClass(' | local _table = mw.html.create('table'):addClass('wikitable article-table sortable') | ||
-- header row | -- header row | ||