"ഘടകം: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. 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 } } -- if the last row has an anomalous rank, put the page in the error-tracking category; category statements don't work
-- inside tables, so need to close the current table first and then open a dummy one (close is in Template:Taxonomy key)
res = res .. '\n|}\n[[Category:Taxonomy templates showing anomalous ranks]]\n{|\n'
▲ end
end
return res
|