Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Auxiliary functions

From ProleWiki, the proletarian encyclopedia
-- Carries functions which are used in a lot of modules
-- Collecting them here for easier reusability
function is_set (var)
	return not (var == nil or var == '');
end

function italics (var)
	return "<i>" .. var .. "</i>"
end