Editing Module:For
Appearance
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 25: | Line 25: | ||
function two (a, b) return a, b, 1 end --lets us run ipairs from 2 | function two (a, b) return a, b, 1 end --lets us run ipairs from 2 | ||
for k, v in two(ipairs(args)) do table.insert(pages, v) end | for k, v in two(ipairs(args)) do table.insert(pages, v) end | ||
return mHatnote._hatnote( | return mHatnote._hatnote( | ||
mHatlist.forSeeTableToString({{use = use, pages = pages}}), | mHatlist.forSeeTableToString({{use = use, pages = pages}}), | ||
{selfref = args.selfref} | {selfref = args.selfref} | ||
) .. ( | ) .. ( | ||
(use == 'other uses') and ( | (use == 'other uses') and yesNo(args.category) and | ||
'[[Category:Hatnote templates using unusual parameters]]' or '' | |||
) | ) | ||
end | end | ||
return p | return p |