Difference between revisions of "Module:InfoboxforLigand"

From Cysteinome
Jump to: navigation, search
Line 9: Line 9:
 
bottom = '--'
 
bottom = '--'
 
} )
 
} )
:addImage(frame.args[1])
+
:addImage([[frame.args]])
 
end
 
end
 
   
 
   
 
return p
 
return p

Revision as of 06:33, 1 December 2018

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

local p = {}
 
function p.run()
	local capiunto = require 'capiunto'
	return capiunto.create( {
		title = tostring(mw.title.getCurrentTitle()) ,
		top = 'Structure',
		topStyle = 'background:#cfc;',
		bottom = '--'
	} )
	:addImage([[frame.args]])
end
 
return p