Module:also: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
No edit summary
Line 90: Line 90:
if toAdd then
if toAdd then
mw.log("possibility found: " .. check_key)
mw.log("possibility found: " .. check_key)
return "<div class=\"noprint maintenance-box maintenance-box-yellow\" style=\"background:#FFFFDD; width:{{{width|90}}}%; margin: 0.75em auto; border:1px dashed #888822; padding: 0.25em; \">\n{|\n| rowspan=\"2\" | [[File:Nuvola apps important yellow.svg|50px]]\n! style=\"text-align: left;\" | Possible <code>{{[[Template:also|also]]}}</code> group detected!\n|-\n| Please add this term to the [[Module:also/data|data set]].\n|}</div>"
return "<div class=\"noprint maintenance-box maintenance-box-yellow\" style=\"background:#FFFFDD; width:{{{width|90}}}%; margin: 0.75em auto; border:1px dashed #888822; padding: 0.25em; \">\n{|\n| rowspan=\"2\" | [[File:Nuvola apps important yellow.svg|50px]]\n! style=\"text-align: left;\" | Possible <code>{{[[Template:also|also]]}}</code> group detected!\n|-\n| Please add this term to the [[Module:also/data|data set]].\n|}</div>[[Category:Terms which require adding to also data]]"
else
else
return nil
return nil