Modül:TeamCard/Qualifier
require('Module:Module wikitext'). _addText([[]]);
local Class = require('Module:Class')
local Variables = require('Module:Variables')
local Qualifier = {}
-- Returns the tuple (linkText, linkInternal, linkExternal)
-- Link internal and link external is mutually exclusive
function Qualifier. parseQualifier(rawQualifier) if not rawQualifier then return nil end local cleanQualifier = rawQualifier:gsub('%[', ):gsub('%]', ) if cleanQualifier:find(' ') then -- Internal link local qualifier = mw.