Module:Test
Documentation for this module may be created at Module:Test/doc
--
-- Module:SubstanceBox implements {{SubstanceBox}}
-- PJosepherum, 24/05/2014 - [email protected]
--
--
-- Main table properties;
-- | Title, MaxWidth
-- | Modules (Source, Combo, Structure, Nomenclature, ROA)
-- | imgPhotoFile, imgPhotoWidth, imgPhotoCaption
-- | imgComboFile, imgComboWidth, imgComboCaption
-- | captionStructure, imgSkeletalFile, imgSkeletalWidth, img3DFile, img3DWidth
-- | nameCommon, nameSusbtitutive, nameSystematic
local p = {}
local HtmlBuilder = require('Module:HtmlBuilder')
local Navbar = require('Module:Navbar')
local args
local frame
local tableRowAdded = false
local border
local listnums = {}
local function trim(s)
return (mw.ustring.gsub(s, "^%s*(.-)%s*$", "%1"))
end
local function addNewline(s)
if s:match('^[*:;#]') or s:match('^{|') then
return '\n' .. s ..'\n'
else
return s
end
end
local function getActiveModules()
end
local function buildSubstanceBox()
end
function p.hello(frame)
local HtmlBuilder = require('Module:HtmlBuilder')
local root = HtmlBuilder.create()
root
.tag('table')
.css('border', 'red')
.attr('ID', 'MaterialTable')
.done()
.tag('tr')
.done()
tag('td')
.wikitext('Test')
.done()
local s = tostring(root)
return s
end
return p