1 124
modifications
m (16 revisions imported: Importing from localhost) |
Balise : Révoqué |
||
| Ligne 7 : | Ligne 7 : | ||
resource = string.lower(com.trim(resource)) | resource = string.lower(com.trim(resource)) | ||
resource = iconList[resource] | resource = iconList[resource] | ||
result = '' | |||
if resource ~= nil then | if resource ~= nil then | ||
-- Init link here, will be nil if resource is nil | -- Init link here, will be nil if resource is nil | ||
| Ligne 22 : | Ligne 22 : | ||
end | end | ||
-- result = result .. | |||
-- '[[file:' | |||
-- .. resource['file'] | |||
-- .. '|16px|link=' | |||
-- .. link ]]-- | |||
-- .. ']]' | |||
if com.exists(text) == true then | if com.exists(text) == true then | ||