Editing Module:TagDetails
From Eco - English Wiki
Your changes will be displayed to readers once an authorized user accepts them. (help)
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 3: | Line 3: | ||
local p = {} | local p = {} | ||
local Utils = require('Module:Utils') | local Utils = require('Module:Utils') | ||
local L = require('Module:Localization') | local L = require('Module:Localization') | ||
Line 31: | Line 30: | ||
local tagLink = L.t('%s Tag'):format(tagName) | local tagLink = L.t('%s Tag'):format(tagName) | ||
text = text .. ' | text = text .. '{{Icon|style=4}}' | ||
local tagCount = Utils.tableLen(itemList) | local tagCount = Utils.tableLen(itemList) | ||
Line 41: | Line 40: | ||
text = text .. '\n\n\n' .. string.format(L.t('Item with the %s Tag:', tagCount), tagName) .. '\n' | text = text .. '\n\n\n' .. string.format(L.t('Item with the %s Tag:', tagCount), tagName) .. '\n' | ||
for _, item in pairs(itemList) do | for _, item in pairs(itemList) do | ||
text = text .. '{{Icon|style=4}}' | |||
end | |||
return text | return text | ||
end | end | ||
return p | return p |