Content deleted Content added
Tom.Reding (talk | contribs) +Fossil taxa tree, with portals, from sandbox |
Tom.Reding (talk | contribs) biology -> science for 18th cent, since bio tree doesn't exist pre-1865 yet |
||
Line 509:
categories[iparent] = '[[Category:'..currYear..' in biology'..sortkey..']]' --if/when all biology cats exists, merge this elseif with 'paleontology'
end
elseif parent == 'environment' then▼
if isNilOrEmpty(sortkey) then sortkey = '' --default to none▼
else sortkey = '|'..sortkey end▼
categories[iparent] = '[[Category:'..currYear..' in the environment'..sortkey..']]'▼
elseif parent == 'paleontology' then
if isNilOrEmpty(sortkey) then sortkey = '' --default to none
else sortkey = '|'..sortkey end
categories[iparent] = '[[Category:'..currYear..' in '..parent..sortkey..']]'
▲ elseif parent == 'environment' then
▲ if isNilOrEmpty(sortkey) then sortkey = '' --default to none
▲ else sortkey = '|'..sortkey end
▲ categories[iparent] = '[[Category:'..currYear..' in the environment'..sortkey..']]'
elseif mw.ustring.match(parent, '^%u%l') then --e.g. Animals/Insects
if isNilOrEmpty(sortkey) then sortkey = '' --default to none
Line 552:
if isNilOrEmpty(sortkey) then sortkey = addOrd(currCent) end --default to currCent
categories[iparent] = '[[Category:'..currGroup..' by year of formal description|'..sortkey..']]'
elseif parent == 'biology
if isNilOrEmpty(sortkey) then sortkey = '' --default to none
else sortkey = '|'..sortkey end
if tonumber(currCent) < 19 then
categories[iparent] = '[[Category:'..addOrd(currCent)..' century in science'..sortkey..']]' --biology cat structure doesn't exist pre-1865, as of 10/2018
else
categories[iparent] = '[[Category:'..addOrd(currCent)..' century in biology'..sortkey..']]' --if/when all biology cats exists, merge this elseif with 'paleontology'
end
elseif parent == 'paleontology' then
if isNilOrEmpty(sortkey) then sortkey = '' --default to none
else sortkey = '|'..sortkey end
|