Difference between revisions of "Module:InfoboxforTarget"
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[ | + | :addRow('Family/Domain', frame.args[5]) |
end | end | ||
return p | return p |
Revision as of 06:39, 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[5]) end return p