Module:TeamTotoSandbox: Difference between revisions

mNo edit summary
mNo edit summary
Line 117: Line 117:
     if arg == 'notxml' then
     if arg == 'notxml' then
         parsetype = 'notxml'
         parsetype = 'notxml'
      elseif arg == 'unbolded' then
        unbolded = true
       elseif arg == 'tildes are new lines' then
       elseif arg == 'tildes are new lines' then
         tildes = true
         tildes = true
Line 130: Line 128:
     returntext = p.linebreaks(returntext)
     returntext = p.linebreaks(returntext)
   end
   end
   if unbolded == true then
   return returntext
    return returntext
  else
  return '<b>' .. (returntext or '') .. '</b>'
  end
end
end


Line 202: Line 196:
     end
     end


     if (args['unbolded'] == 'true') then
     return output
      return output
    else
      return '<b>' .. (output or '') .. '</b>'
    end
end
end