using OliverBooth.Data;
using OliverBooth.Markdown.Template;
namespace OliverBooth.Services;
///
/// Represents a service that renders MediaWiki-style templates.
///
public interface ITemplateService
{
///
/// Renders the specified global template with the specified arguments.
///
/// The global template to render.
/// The rendered global template.
///
/// is .
///
string RenderGlobalTemplate(TemplateInline templateInline);
///
/// Renders the specified global template with the specified arguments.
///
/// The global template to render.
/// The database template object.
/// The rendered global template.
///
/// is .
///
string RenderTemplate(TemplateInline templateInline, ITemplate? template);
}