Modul:Lang: Perbezaan antara semakan

Kandungan dihapus Kandungan ditambah
Mencipta laman baru dengan kandungan '--[=[ Lua support for the {{lang}}, {{lang-xx}}, and {{transl}} templates and replacement of various supporting templates. ]=] require('Module:No global...'
 
Tiada ringkasan suntingan
Baris 495:
end
if language_name:find ('languagesbahasa') then
return table.concat ({'[[Category:Articles with text from the ', language_name, ' collective]]'});
end
Baris 554:
if not is_set (std) and not is_set (tscript) then -- when neither standard nor script specified
table.insert (tout, language_name); -- write a generic tool tip
if not language_name:find ('languagesbahasa') then -- collective language names (plural 'languages' is part of the name)
table.insert (tout,'bahasa '-language', tout) -- skip this text (individual and macro languages only)
end
table.insert (tout, 'transliterasi transliteration', tout); -- finish the tool tip
elseif is_set (std) and is_set (tscript) then -- when both are specified
if title_table[std] then -- and if standard is legitimate
Baris 584:
else
if is_set (tscript) then
table.insert (tout, table.concat ({language_name, '-scripttransliterasi skrip bahasa transliteration', language_name})); -- write a script tool tip
elseif is_set (code) then
if not language_name:find ('languagesbahasa') then -- collective language names (plural 'languages' is part of the name)
table.insert (tout,'bahasa '-language', tout) -- skip this text (individual and macro languages only)
end
table.insert (tout, 'transliterasi transliteration', tout); -- finish the tool tip
else
table.insert (tout, 'transliterasi transliteration', tout); -- generic tool tip (can we ever get here?)
end
end
Baris 914:
table.insert (out, language_name); -- language name without wikilink
else
if language_name:find ('languagesbahasa') then
table.insert (out, make_wikilink (language_name)); -- collective language name uses simple wikilink
else
table.insert (out, make_wikilink (language_name'bahasa ' .. ' language'language_name, language_name)); -- language name with wikilink
end
end
Baris 936:
translit_script_name = language_name; -- fall back on language name
end
translit_title = mw.title.makeTitle (0, table.concat ({'RomanizationPerumian ofuntuk ', translit_script_name})); -- make a title object
if translit_title.exists and ('no' ~= args.link) then
table.insert (out, make_wikilink ('Romanization ofPerumian ' .. translit_script_name or language_name, 'translit.')); -- make a wikilink if there is an article to link to
else
table.insert (out, '<abbr title="transliterationtransliterasi">translit.</abbr>'); -- else define the abbreviation
end
table.insert (out, '&nbsp;</small>'); -- close the small tag
Baris 958:
table.insert (out, '<small>');
if 'no' == args.link then
table.insert (out, '<abbr title="literalterjemahan translationsecara literal">lit.</abbr>');
else
table.insert (out, make_wikilink ('LiteralTerjemahan translationliteral', 'lit.'));
end
table.insert (out, "&nbsp;</small>");