Difference between revisions of "Module:InfoboxforTarget"
(9 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
local capiunto = require 'capiunto' | local capiunto = require 'capiunto' | ||
return capiunto.create( { | return capiunto.create( { | ||
− | top = 'Basic | + | top = 'Basic Information', |
topStyle = 'background:#cfc;' | topStyle = 'background:#cfc;' | ||
} ) | } ) | ||
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[5]) | ||
+ | :addRow('Known Ligand', frame.args[6]) | ||
+ | :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