Editing Module:PageRefGive feedback
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 = { | ||
["Amber Hand"] = true, | |||
["Sapphire Flame"] = true, | |||
["Shopkeeper"] = true, | |||
["Newscaster"] = true, | ["Newscaster"] = true, | ||
} | } | ||
| Line 28: | Line 22: | ||
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 | ||