Editing Module:TagsList
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 4: | Line 4: | ||
local Utils = require('Module:Utils') | local Utils = require('Module:Utils') | ||
-- Main entry point for the Module | -- Main entry point for the Module | ||
Line 19: | Line 18: | ||
-- load lists | -- load lists | ||
local itemData = | local itemData = require("Module:ItemData") | ||
local tagsList = '' | local tagsList = '' | ||
Line 40: | Line 39: | ||
table.sort(a) | table.sort(a) | ||
for i, n in ipairs(a) do | for i, n in ipairs(a) do | ||
tagsList = tagsList .. '* [[' .. n .. 'Tag|' .. n .. ']]\n' | |||
tagsList = tagsList .. '* [[' .. | |||
end | end | ||
tagsList = tagsList .. ' | tagsList = tagsList .. '</div>' | ||
end | end | ||