Module:Sandbox/Wnt/TextMarkup: Difference between revisions

Content deleted Content added
m d
m Pppery moved page Module:TextMarkup to Module:Sandbox/Wnt/TextMarkup without leaving a redirect: Boldly userfying unused module by inactive user who has in the past asked for their abandoned modules to be userfied
 
(2 intermediate revisions by one other user not shown)
Line 39:
counter=counter+increment
if n1 then counter=tonumber(n1) end
output=mw.ustring.gsub(textoutput,"<inc([^>]*)>",tostring(counter),1) -- change one instance according to the one instance found
until false
return output