Module:TagInfoCard

From Eco - English Wiki
Revision as of 16:16, 16 July 2025 by StalEF (talk | contribs) (Created page with "local p = {} local Utils = require('Module:Utils') local IconUtils = require('Module:IconUtils') local L = require('Module:Localization') local Lang = Utils.getLanguageName() function p.main(frame) local PageName = frame.args[1] if (Lang == 'English') then TagName = PageName else TagName = Utils.TagSearch(PageName) end local TagData = require( "Module:TagData" ) local Tag = TagData.tags[TagName] local WikiText ='' WikiText = WikiText ..'page name get test:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

local p = {}

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

function p.main(frame)
	local PageName = frame.args[1]
	if (Lang == 'English') then TagName = PageName else TagName = Utils.TagSearch(PageName) end
	local TagData = require( "Module:TagData" )
    local Tag = TagData.tags[TagName]
	local WikiText =''
	
	WikiText =  WikiText ..'page name get test: ' .. PageName ..'</br>'
	WikiText =  WikiText ..'Item name get test: ' .. TagName ..'</br>'
	
	return WikiText
end

return p