Module:Sandbox/User:Riblet15/Skill info: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "-------------------------- -- Module for Template:Skill info -------------------------- local p = {} local onmain = require('Module:Mainonly').on_main local paramtest = require('Module:Paramtest') local infobox = require('Module:Infobox') local yesno = require('Module:Yesno') local scp = require('Module:SCP')._main local qty = require('Module:Quantity box')._main local editbutton = require('Module:Edit button') local edit = editbutton("'''?''' (edit)") local preset...")
 
No edit summary
 
Line 6:
local onmain = require('Module:Mainonly').on_main
local paramtest = require('Module:Paramtest')
local infobox = require('Module:Infobox/sandbox')
local yesno = require('Module:Yesno')
local scp = require('Module:SCP')._main
Line 71:
{ name = 'time', func = 'hasContent' },
{ name = 'time_smw', func = { name = csv_to_multi, params = { 'time', true }, flag = { 'p', 'r' } } },
{ name = 'damage', func = 'hasContent' },
{ name = 'damagename', func = { name = paramtest.default_to, params = { 'damagename', "Damage" }, flag = { 'p', 'r' } } },
{ name = 'damage_smw', func = { name = csv_to_multi, params = { 'damage', true }, flag = { 'p', 'r' } } },
{ name = 'members', func = yesno },
{ name = 'dropversion', func = 'hasContent' },
Line 176 ⟶ 173:
addNamedRow(ret, 'tool', 'toolname', tblwidth, mand)
addNamedRow(ret, 'time', 'timename', tblwidth, mand)
addNamedRow(ret, 'damage', 'damagename', tblwidth, mand)
 
ret:pad(tblwidth)

Navigation menu