Difference between revisions of "Module:InfoboxforLigand"
Line 6: | Line 6: | ||
title = 'Basic Information', | title = 'Basic Information', | ||
} ) | } ) | ||
− | : | + | :addRow('Molecular Formula', frame.args[1]) |
− | : | + | :addRow('Molecular Weight', frame.args[2]) |
− | : | + | :addRow('PubChem CID', frame.args[3]) |
− | : | + | :addRow('SMILES', frame.args[4]) |
end | end | ||
return p | return p |
Revision as of 18:32, 24 July 2019
Documentation for this module may be created at Module:InfoboxforLigand/doc
local p = {} function p.run() local capiunto = require 'capiunto' return capiunto.create( { title = 'Basic Information', } ) :addRow('Molecular Formula', frame.args[1]) :addRow('Molecular Weight', frame.args[2]) :addRow('PubChem CID', frame.args[3]) :addRow('SMILES', frame.args[4]) end return p