def help(template=nil)
template = template_for_plugintype unless template
template = File.join(@config.helptemplatedir, template) unless template.start_with?(File::SEPARATOR)
template = File.read(template)
meta = @meta
entities = @entities
unless template == "metadata-help.erb"
metadata_template = File.join(@config.helptemplatedir, "metadata-help.erb")
metadata_template = File.read(metadata_template)
metastring = ERB.new(metadata_template, 0, '%')
metastring = metastring.result(binding)
end
erb = ERB.new(template, 0, '%')
erb.result(binding)
end