Module:DataDiagnostic: Difference between revisions

From Eco - English Wiki
[checked revision][checked revision]
No edit summary
No edit summary
Line 9: Line 9:
local Items = Utils.Translate("Items")
local Items = Utils.Translate("Items")
local WikiText = WikiText .. '[['.. Index .. '/' .. Items .. '|' .. Items .. ']]<br>'
local WikiText = WikiText .. '[['.. Index .. '/' .. Items .. '|' .. Items .. ']]<br>'
local Tags = Utils.Translate("Tags")
local WikiText = WikiText .. '[['.. Index .. '/' .. Tags .. '|' .. Tags .. ']]<br>'
local Skills = Utils.Translate("Skills")
local WikiText = WikiText .. '[['.. Index .. '/' .. Skills .. '|' .. Skills .. ']]<br>'
local Biomes = Utils.Translate("Biomes")
local WikiText = WikiText .. '[['.. Index .. '/' .. Biomes .. '|' .. Biomes .. ']]<br>'
local Animals = Utils.Translate("Animals")
local WikiText = WikiText .. '[['.. Index .. '/' .. Animals .. '|' .. Animals .. ']]<br>'
local Plants = Utils.Translate("Plants")
local WikiText = WikiText .. '[['.. Index .. '/' .. Plants .. '|' .. Plants .. ']]<br>'
local Trees = Utils.Translate("Trees")
local WikiText = WikiText .. '[['.. Index .. '/' .. Trees .. '|' .. Trees .. ']]<br>'
local Achievements = Utils.Translate("Achievements")
local WikiText = WikiText .. '[['.. Index .. '/' .. Achievements .. '|' .. Achievements .. ']]<br>'
return WikiText
return WikiText

Revision as of 13:13, 9 February 2026

Documentation for this module may be created at Module:DataDiagnostic/doc

local p = {}

local Utils = require('Module:Utils')
local Lang = Utils.getLanguageName()

function p.SubIndexPagesList()
		local WikiText =''
		local Index = Utils.Translate("Index")
		local Items = Utils.Translate("Items")
		local WikiText = WikiText .. '[['.. Index .. '/' .. Items .. '|' .. Items .. ']]<br>'
		
		local Tags = Utils.Translate("Tags")
		local WikiText = WikiText .. '[['.. Index .. '/' .. Tags .. '|' .. Tags .. ']]<br>'
		
		local Skills = Utils.Translate("Skills")
		local WikiText = WikiText .. '[['.. Index .. '/' .. Skills .. '|' .. Skills .. ']]<br>'
		
		local Biomes = Utils.Translate("Biomes")
		local WikiText = WikiText .. '[['.. Index .. '/' .. Biomes .. '|' .. Biomes .. ']]<br>'

		local Animals = Utils.Translate("Animals")
		local WikiText = WikiText .. '[['.. Index .. '/' .. Animals .. '|' .. Animals .. ']]<br>'
		
		local Plants = Utils.Translate("Plants")
		local WikiText = WikiText .. '[['.. Index .. '/' .. Plants .. '|' .. Plants .. ']]<br>'
		
		local Trees = Utils.Translate("Trees")
		local WikiText = WikiText .. '[['.. Index .. '/' .. Trees .. '|' .. Trees .. ']]<br>'
		
		local Achievements = Utils.Translate("Achievements")
		local WikiText = WikiText .. '[['.. Index .. '/' .. Achievements .. '|' .. Achievements .. ']]<br>'
		
		return WikiText
end

return p