Module:pollasena-roots

From Linguifex
Revision as of 22:08, 2 May 2023 by Sware (talk | contribs) (Created page with "local gsub = mw.ustring.gsub local PAGENAME = gsub(mw.title.getCurrentTitle().text, "%s", " ") local match = mw.ustring.match local gmatch = mw.ustring.gmatch local lang = require("Module:languages").getByCode("socl") local export = {} local function link(term) return "" .. term .. "" end function export.getLink(text) -- WIP return require("Module:utilities").format_categories(pass.categories, lang) end return export")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This module implemented inherited templates for Pollasena languages: {{qsc-inh}}, {{gwax-wasc}}. It was generalized to also include other non-Pollasena languages: {{guim-inh}}.
local gsub = mw.ustring.gsub
local PAGENAME = gsub(mw.title.getCurrentTitle().text, "%s", " ")
local match = mw.ustring.match
local gmatch = mw.ustring.gmatch

local lang = require("Module:languages").getByCode("socl")

local export = {}

local function link(term)
	return "[[Contionary:" .. term .. "|" .. term .. "]]"	
end

function export.getLink(text)
	
	-- WIP
	
	return require("Module:utilities").format_categories(pass.categories, lang)
end


return export