Module:Tables: Difference between revisions

From Exiled Kingdoms Wiki
(Created page with "local Comp = require( "Module:ValComp" ) p = {} function makeTable() pritbl = mw.html.create('table') end function makeRow() end local function areaTables(Se...")
 
mNo edit summary
 
Line 1: Line 1:
local Comp = require( "Module:ValComp" )
local Comp = require( "Module:ValComp" )
p = {}
p = {}
local data = mw.loadData( 'Module:Table/data' )
Headers = {'Icon', 'Name'}


function makeTable()
function makeTable()
     pritbl = mw.html.create('table')
     pritbl = mw.html.create('table')
      
     header = pritbl:tag('tr')
    head1 = header:tag('th')
    head1:wikitext('Description')
end
end


function makeRow()
function makeRow()
      
     prirow = mw.html.create('tr')
end
end


Line 17: Line 22:


return p
return p
--[[
|AreaDiffTbl=<table class="wikitable" style="text-align: center;">
<tr>
<th>Difficulty</th>
<th>Level L/H</th>
</tr>
|AreaDiffTblInput=<tr>
<td>{{{2|}}}</td>
<td>{{{3|}}}/{{{4|}}}</td>
</tr>
</table>
]]

Latest revision as of 06:32, 8 June 2017

local Comp = require( "Module:ValComp" ) p = {} local data = mw.loadData( 'Module:Table/data' )

Headers = {'Icon', 'Name'}

function makeTable()

   pritbl = mw.html.create('table')
   header = pritbl:tag('tr')
   head1 = header:tag('th')
   head1:wikitext('Description')

end

function makeRow()

   prirow = mw.html.create('tr')

end


local function areaTables(Sel)

end

return p