Difference between revisions of "Module:InfoboxforTarget"

From Cysteinome
Jump to: navigation, search
 
Line 13: Line 13:
 
         :addRow('Family/Domain', frame.args[5])
 
         :addRow('Family/Domain', frame.args[5])
 
         :addRow('Known Ligand', frame.args[6])
 
         :addRow('Known Ligand', frame.args[6])
         :addRow("Type", frame.args[7])
+
         :addRow("Function Type", frame.args[7])
 
end
 
end
 
   
 
   
 
return p
 
return p

Latest revision as of 20:31, 29 July 2019

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[5])
        :addRow('Known Ligand', frame.args[6])
        :addRow("Function Type", frame.args[7])
end
 
return p