local export = {}
local features = {
['bilabial'] = 'Its [[place of articulation]] is [[bilabial consonant|bilabial]], which means it is articulated with both [[lip|lips]].'
}
function export.show(frame)
args = frame:getParent().args
text = 'Features of the ' .. mw.title.getCurrentTitle().text:lower() .. ':'
for _,feature in ipairs(args) do
if features[feature] then
text = text .. '\n*' .. features[feature]
else
text = text .. '\n' .. frame:expandTemplate{title='Template:'..feature}
end
end
return text
end
return export