Content deleted Content added
m Protected "Module:GetPartInfo/Testing": No one should be able to edit module pages ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 153: | Line 153: | ||
if entryType == "number" then |
if entryType == "number" then |
||
formatted = formatted .. "\n |
formatted = formatted .. " \n* "..entryName.."<sup>(number)[" .. range[1] .. " - " .. range[2] .. "]</sup>" |
||
elseif entryType == "boolean" then |
elseif entryType == "boolean" then |
||
formatted = formatted .. "\n |
formatted = formatted .. " \n* "..entryName.."<sup>(boolean)</sup> " |
||
elseif entryType == "string" then |
elseif entryType == "string" then |
||
formatted = formatted .. "\n |
formatted = formatted .. " \n* "..entryName.."<sup>(string)</sup> " |
||
elseif entryType == "Selection" then |
elseif entryType == "Selection" then |
||
formatted = formatted .. "\n |
formatted = formatted .. " \n* "..entryName.."<sup>(selection)</sup> " |
||
elseif entryType == "Coordinate" then |
elseif entryType == "Coordinate" then |
||
formatted = formatted .. "\n |
formatted = formatted .. " \n* "..entryName.."<sup>(coordinate)</sup> " |
||
elseif entryType == "NumberRange" then |
elseif entryType == "NumberRange" then |
||
formatted = formatted .. "\n |
formatted = formatted .. " \n* "..entryName.."<sup>(numberRange)["..default[1].." - "..default[2] .. "]</sup>" |
||
end |
end |
||
end |
end |