local p = {}

local wikidata = require('Module:Wikidata')

function p.taxobox(frame) local args = frame.args local templateAttributes = args local entity if args.entityId then entity = mw.wikibase.getEntity(args.entityId) else entity = mw.wikibase.getEntity() end templateAttributes['name'] = wikidata.entityName({ args = { args.entityId, forceLabel = 1 } }) -- | name = -- | image = -- | image_caption = -- | status = -- | status_system = IUCN3.1 -- | regnum = Тварини (Animalia) -- | phylum = [[]] () -- | classis = [[]] () -- | ordo = [[]] () -- | familia = [[]] () -- | genus = [[]] ( ) -- | genus_authority = -- | species = -- | binomial = -- | binomial_authority = -- | range_map = -- | range_map_caption = Ареал виду -- | wikispecies = -- | commonscat = -- | eol = -- | iucn = -- | itis = -- | ncbi =

-- templateAttributes['title'] = wikidata.entityName({ args = { args.entityId, forceLabel = 1 } }) -- templateAttributes['journal'] = wikidata.formatStatements({ args = { property = 'p1433', entityId = args.entityId } }) -- templateAttributes['year'] = wikidata.formatStatements({ args = { property = 'p577', precision = 9, entityId = args.entityId } }) -- templateAttributes['author'] = wikidata.formatStatements({ args = { property = 'p50', entityId = args.entityId } }) -- templateAttributes['pages'] = wikidata.formatStatements({ args = { property = 'p304', entityId = args.entityId } }) -- templateAttributes['issue'] = wikidata.formatStatements({ args = { property = 'p433', entityId = args.entityId } })

return frame:expandTemplate{ title = 'Картка:Таксономія', args = templateAttributes } end

return p