Difference between revisions of "Module:InfoboxforTarget"

From Cysteinome
Jump to: navigation, search
Line 11: Line 11:
 
         :addRow('Organism', frame.args[3])
 
         :addRow('Organism', frame.args[3])
 
         :addRow('Cys Site', frame.args[4])
 
         :addRow('Cys Site', frame.args[4])
 +
        :addRow('Family/Domain', frame.args[4])
 
end
 
end
 
   
 
   
 
return p
 
return p

Revision as of 06:37, 5 December 2018

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

local p = {}
 
function p.run(frame)
	local capiunto = require 'capiunto'
	return capiunto.create( {
		top = 'Basic information',
		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])
        :addRow('Family/Domain', frame.args[4])
end
 
return p