"ഘടകം:Autotaxobox" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

Content deleted Content added
nanophylum and nanordo should be the lowest in their respective main levels, not the highest
updated taxonomyList function to tested sandbox version (correctly tracks anomalous ranks now)
വരി 126:
 
--[[========================== taxonomyList =================================
Returns the cells of the taxonomy table displayed on the right hand side of
"Template:Taxonomy...." pages.
pages.
Usage: {{#invoke:Autotaxobox|taxonomyList|TAXON}}
=============================================================================]]
വരി 149:
end
-- now return a row of the taxonomy table with anomalous ranks marked
local errorStr = ''
if orderOk then
if not orderOk then errorStr = 'true' end
res = res .. frame:expandTemplate{ title = 'Template:Taxonomy links', args = { taxonTable[i], error = errorStr } }
end
else
-- if the last row has an anomalous rank, put the page in the error-tracking category; category statements don't work
if i ~= 1 then
-- inside tables, so need to close the current table first and then open a dummy one (close is in Template:Taxonomy key)
res = res .. frame:expandTemplate{ title = 'Template:Taxonomy links', args = { taxonTable[i], error = 'true' } }
if not orderOk then
else
res = res .. '\n|}\n[[Category:Taxonomy templates showing anomalous ranks]]\n{|\n'
res = res .. frame:expandTemplate{ title = 'Template:Taxonomy links', args = { taxonTable[i], error = 'true', last_error = 'true' } }
end
end
end
return res
"https://ml.wikipedia.org/wiki/ഘടകം:Autotaxobox" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്