Module:Reftag

--[[ -- This module exists as a helper for using references  formerly a substitute for frame:extensionTag, which is not in Wikia's Scribunto library, but is now available

--]] return function(...) local ref_attr = ... local opts = {} local content if ref_attr.name then opts.name = ref_attr.name end if ref_attr.group then opts.group = ref_attr.group end if ref_attr.text then content = ref_attr.text end return mw.getCurrentFrame:extensionTag{ name='ref', content = content, args = opts } end