Editing Module:PageRefGive feedback
Jump to navigation
Jump to search
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 2: | Line 2: | ||
-- referred pages that should not use the icon file | -- referred pages that should not use the icon file | ||
local no_file_list = { | local no_file_list = { | ||
["Newscaster"] = true, | ["Newscaster"] = true, | ||
| Line 28: | Line 27: | ||
local should_use_file = no_file_list[file_name] | local should_use_file = no_file_list[file_name] | ||
if should_use_file then | if should_use_file == false or should_use_file == nil then | ||
return "" | return "" | ||
end | end | ||
| Line 36: | Line 35: | ||
return file_name | return file_name | ||
end | |||
p.test = function(frame) | |||
return no_file_list["Amber Hand"] | |||
end | end | ||
return p | return p | ||