Module:MOS intro: Difference between revisions

Ganaram inukshuk (talk | contribs)
m worked too well; moving category to different code
Ganaram inukshuk (talk | contribs)
"...deprecated features" --> "...deprecated parameters"
Line 53: Line 53:
if tamnams_names_list ~= "" and other_names_list ~= "" then
if tamnams_names_list ~= "" and other_names_list ~= "" then
-- There are both tamnams names and alternate names
-- There are both tamnams names and alternate names
sentence = sentence .. string.format(", named %s in [[TAMNAMS]] (also known as %s),", tamnams_names_list, other_names_list) .. "[[Category:Pages with deprecated template features]]"
sentence = sentence .. string.format(", named %s in [[TAMNAMS]] (also known as %s),", tamnams_names_list, other_names_list) .. "[[Category:Pages with deprecated template parameters]]"
elseif tamnams_names_list ~= "" and other_names_list == "" then
elseif tamnams_names_list ~= "" and other_names_list == "" then
-- There are only tamnams names
-- There are only tamnams names
Line 59: Line 59:
elseif tamnams_names_list == "" and other_names_list ~= "" then
elseif tamnams_names_list == "" and other_names_list ~= "" then
-- There are no tamnams names but there are alternate names
-- There are no tamnams names but there are alternate names
sentence = sentence .. string.format(", also called %s,", other_names_list) .. "[[Category:Pages with deprecated template features]]"
sentence = sentence .. string.format(", also called %s,", other_names_list) .. "[[Category:Pages with deprecated template parameters]]"
end
end