Module:Vital article: Difference between revisions

Content deleted Content added
reduce the icon size to 11px, as 16px gets overbearing if used multiple times in a paragraph
it's better to always return the proper link to the article itself (in all exceptional cases), because otherwise it will look very bad when it was used in the previous discussions and then the page gets removed from the vital list
Line 33:
local page = frame.args.page~='' and frame.args.page or mw.title.getCurrentTitle().subjectPageTitle.text
local link, level = getLink(page)
return link and '[[' .. page .. ']]' .. (link and ' [[File:Círculos Concéntricos.svg|11px|link=|alt=]] [[' .. link .. '|' .. level .. ']]' or '')
end