Modul:Lang: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan |
-require('Module:No globals') |
||
(9 revisi perantara oleh 3 pengguna tidak ditampilkan) | |||
Baris 1:
--[=[
Lua support for the {{lang}}, {{lang-xx}}, and {{transl}} templates and replacement of various supporting templates.
]=]
local getArgs = require ('Module:Arguments').getArgs;
Baris 611 ⟶ 607:
if mw.ustring.find (language_name, 'languages', 1, true) then
return table.concat ({'[[Category:
end
table.insert (cat, '[[Category:
if this_wiki_lang_tag == code then
table.insert (cat, '
else
table.insert (cat, language_name);
end
table.insert (cat, '
return table.concat (cat);
Baris 1.213 ⟶ 1.209:
translit_title = mw.title.makeTitle (0, table.concat ({'Romanization of ', translit_script_name})); -- make a title object
if translit_title.exists and ('no' ~= args.link) then
table.insert (out, make_wikilink ('Romanization of ' .. translit_script_name or language_name, '
else
table.insert (out, '
end
table.insert (out, ' </small>'); -- close the small tag
|