Content deleted Content added
Tom.Reding (talk | contribs) m tonumber() |
Tom.Reding (talk | contribs) m Sync from live |
||
Line 256:
},
},
--[[==================== "Fossil taxa described in"-level ====================]]
['Species'] = {
['year'] = { --[[Category:Species described in 1901]]
['parent1'] = 'century', --[[Category:Species described in the 20th century]]
['sortkey1'] = ' ',
['parent2'] = 'Taxa', --[[Category:Taxa described in 1901]]
['parent3'] = 'environment', --[[Category:1901 in the environment]]
['description'] = '', --Year description tbd
},
['century'] = { --[[Category:Species described in the 20th century]]
['parent1'] = 'formal', --[[Category:Species by year of formal description]]
['parent2'] = 'Taxa', --[[Category:Taxa described in the 20th century]]
['parent3'] = 'environment', --[[Category:20th century in the environment]]
['description'] = "This category should only contain '''[[species]]''' and notable [[subspecies]] of [[Biota (taxonomy)|biota]] described in the '''[[%century% century]]'''.", --adapted from all 4 Species-century cats (18th-21st)
},
},
}
Line 476 ⟶ 494:
if isNilOrEmpty(sortkey) then sortkey = '' --default to none
else sortkey = '|'..sortkey end
if tonumber(currYear)
categories[iparent] = '[[Category:'..currYear..' in biology'..sortkey..']]'▼
else▼
categories[iparent] = '[[Category:'..currYear..' in science'..sortkey..']]' --biology cat structure doesn't exist pre-1865, as of 10/2018
▲ else
▲ categories[iparent] = '[[Category:'..currYear..' in biology'..sortkey..']]'
end
elseif parent == 'environment' then
|