Module:Team bracket tracking

De Bibliothèque Lucas Lhardi
Révision datée du 17 septembre 2018 à 14:02 par Maximilià Macià (discussion | contributions) (1 révision importée)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à la navigation Aller à la recherche

local p = {}

function p.tracking(frame) local args = frame:getParent().args for k, v in pairs(args) do if tostring(k):match('%-team[0-9]') then if tostring(v):match('[Bb][Rr][^<>]*>[%s]*.[Nn][Bb][Ss][Pp]') then return end if tostring(v):match('[Bb][Rr][^<>]*>[%s]*<span[^<>]*>[%s]*.[Nn][Bb][Ss][Pp]') then return end end end return end

return p