Module:InfoboxforTarget

From Cysteinome
Revision as of 06:01, 5 December 2018 by Wu3857 (talk | contribs) (Created page with "local p = {} function p.run(frame) local capiunto = require 'capiunto' return capiunto.create( { title = tostring(mw.title.getCurrentTitle()) , top = 'Basic informatio...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Documentation for this module may be created at Module:InfoboxforTarget/doc

local p = {}
 
function p.run(frame)
	local capiunto = require 'capiunto'
	return capiunto.create( {
		title = tostring(mw.title.getCurrentTitle()) ,
		top = 'Basic informations',
		topStyle = 'background:#cfc;'
	} )
	:addRow('Short Name', frame.args[1])
	:addRow('UNP ID', frame.args[2])
        :addRow('Organism', frame.args[3])
        :addRow('Cys Site', frame.args[4])
end
 
return p