Module:head: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 31: Line 31:
if data.head then
if data.head then
head = data.head
head = data.head
head = mw.ustring.gsub(head, "%*([^%*%|]+)%|([^%*%|]+)%*", "[[%1#" .. data.language.name .. "|%2]]")
head = mw.ustring.gsub(head, "%*([^%*:]+):([^%*:]+)%*", "[[%1#" .. data.language.name .. "|%2]]")
head = mw.ustring.gsub(head, "%*([^%*]+)%*", "[[%1#" .. data.language.name .. "|%1]]")
head = mw.ustring.gsub(head, "%*([^%*]+)%*", "[[%1#" .. data.language.name .. "|%1]]")
elseif mw.ustring.find(head, " ") then
elseif mw.ustring.find(head, " ") then

Navigation menu