Module:Qhm

From AmericanGovSim
Revision as of 20:07, 3 April 2018 by Butterlands (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

local p = {}

function p.main(frame) local out = mw.ustring.gsub(frame:getParent().args[1] or "","%[%[ *([%?-]) *%]%]","%1") out = mw.ustring.gsub(out,"%[%[ *[%?-] *| *(.-) *%]%]","%1") return out end

return p