Module:mg-noun: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 136: | Line 136: | ||
return table.concat(ret) | return table.concat(ret) | ||
end | end | ||
local navframe = [=[ | local navframe = [=[ | ||
Line 165: | Line 163: | ||
return gsub(navframe .. ( | return gsub(navframe .. (data.nopl and sgwik or wikicode), "{{{([a-z0-9_]+)}}}", repl) | ||
.. (not data.nocat and m_utils.format_categories(data.categories, lang) or "") | .. (not data.nocat and m_utils.format_categories(data.categories, lang) or "") | ||
end | end |