Module:Regionstyles

local p = {}

-- -- variable names --

function p.regionname(namevars) return namevars.long end

function p.regionmediumname(namevars) return namevars.medium end

function p.regionshortname(namevars) return namevars.short end

function p.regionadjectivename(namevars) return namevars.adjective end

-- -- image --

function p.onlyimage(namevars) return string.format(		' %s ',		namevars.hex,		namevars.short	) end

-- -- text to the right --

function p.rightshort(namevars) return string.format(		' %s %s ',		namevars.hex,		namevars.short,		namevars.short	) end

function p.rightmedium(namevars) return string.format(		' %s %s ',		namevars.hex,		namevars.short,		namevars.medium	) end

function p.rightlong(namevars) return string.format(		' %s %s ',		namevars.hex,		namevars.short,		namevars.long	) end

function p.rightadjective(namevars) return string.format(		' %s %s ',		namevars.hex,		namevars.short,		namevars.adjective	) end

-- -- text to the left --

function p.leftshort(namevars) return string.format(		' %s %s ',		namevars.short,		namevars.hex,		namevars.short	) end

function p.leftmedium(namevars) -- this one is default return string.format(		' %s %s ',		namevars.medium,		namevars.hex,		namevars.short	) end

function p.leftlong(namevars) return string.format(		' %s %s ',		namevars.long,		namevars.hex,		namevars.short	) end

function p.leftadjective(namevars) return string.format(		' %s %s ',		namevars.adjective,		namevars.hex,		namevars.short	) end

return p