Difference between revisions of "Module:InfoboxforTarget"

From Cysteinome
Jump to: navigation, search
Line 4: Line 4:
 
local capiunto = require 'capiunto'
 
local capiunto = require 'capiunto'
 
return capiunto.create( {
 
return capiunto.create( {
title = 'Basic informations',
+
top = 'Basic information',
 +
topStyle = 'background:#cfc;'
 
} )
 
} )
 
:addRow('Short Name', frame.args[1])
 
:addRow('Short Name', frame.args[1])

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