Difference between revisions of "Module:InfoboxforLigand"

From Cysteinome
Jump to: navigation, search
(Created page with "local p = {} function p.run() local capiunto = require 'capiunto' return capiunto.create( { title = tostring(mw.title.getCurrentTitle()) , top = 'Structure', topStyl...")
 
Line 9: Line 9:
 
bottom = '--'
 
bottom = '--'
 
} )
 
} )
:addImage([[frame.args[1]])
+
:addImage(frame.args[1])
 
end
 
end
 
   
 
   
 
return p
 
return p

Revision as of 06:23, 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[1])
end
 
return p