ATLAS Wiki

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 73: Line 73:
 
local fileName = string.gsub(item[1],':',' ')
 
local fileName = string.gsub(item[1],':',' ')
 
if commas then
 
if commas then
βˆ’
table.insert(output, ', '..(item[2] ~= nil and item[2]..quantitySign or '')..'<span style="white-space:nowrap;">[[File:'..fileName..'.png|'..iconsize..']] '..'[['..(item[1])..']]</span>')
+
table.insert(output, ', '..(item[2] ~= nil and item[2]..quantitySign or '')..'[[File:'..fileName..'.png|'..iconsize..']] '..'[['..(item[1])..']]')
 
else
 
else
 
table.insert(output, '<li>'..(item[2] ~= nil and item[2]..quantitySign or '')..'[[File:'..fileName..'.png|'..iconsize..']] '..'[['..(item[1])..']]'..'</li>')
 
table.insert(output, '<li>'..(item[2] ~= nil and item[2]..quantitySign or '')..'[[File:'..fileName..'.png|'..iconsize..']] '..'[['..(item[1])..']]'..'</li>')
Line 94: Line 94:
 
if commas then
 
if commas then
 
output[1] = output[1]:sub(3, #output[1])
 
output[1] = output[1]:sub(3, #output[1])
βˆ’
return '<div'..(extrastyle ~= '' and ' style="'..extrastyle..'"' or '')..'>'..table.concat(output, '')..'</div>'
+
return '<div'..(extrastyle ~= '' and ' style="'..extrastyle..'"' or '')..'>'..'<span style="white-space:nowrap;>'..table.concat(output, '')..'</span></div>'
 
else
 
else
 
return '<'..listtype..(extrastyle ~= '' and ' style="'..extrastyle..'"' or '')..'>'..table.concat(output, '')..'</'..listtype..'>'
 
return '<'..listtype..(extrastyle ~= '' and ' style="'..extrastyle..'"' or '')..'>'..table.concat(output, '')..'</'..listtype..'>'

Please note that all contributions to the ATLAS Wiki are considered to be released under the CC BY-NC-SA 3.0

Cancel Editing help (opens in new window)

Template used on this page:

  • Module:Sandbox/Vemsvims/doc (edit)