Module:Coordinates and Module:Coordinates/sandbox: Difference between pages
(Difference between pages)
imported>Pppery Switch to template gadget category per request |
imported>Zackmann08 Testing an idea. |
||
| Line 762: | Line 762: | ||
return frame.args[1] | return frame.args[1] | ||
end | |||
function coordinates.forceinline(frame) | |||
mw.logObject(frame.args[1]) | |||
local text | |||
text = mw.ustring.gsub(frame.args[1], 'geo%-inline%-hidden', 'geo-inline') | |||
text = mw.ustring.gsub(text, 'style=\"display:none\"', '') | |||
return text | |||
end | end | ||
return coordinates | return coordinates | ||