Module:mg-noun: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 134: Line 134:
end
end


local no_plural = false--data.nopl or data.forms.nom_pl == nil
local no_plural = NAMESPACE == "Template" and false or data.nopl or data.forms.nom_pl == nil


local navframe = [=[
local navframe = [=[
Line 147: Line 147:
|-
|-
! style="min-width: 8em; background-color: #acf4cf" |  
! style="min-width: 8em; background-color: #acf4cf" |  
! style="min-width: 8em; background-color: #acf4cf" | Singular]=] .. (no_plural and "\n" or [=[
! style="min-width: 8em; background-color: #acf4cf" | Singular]=] .. (no_plural and "\n" or [=[\n
! style="min-width: 8em; background-color: #acf4cf" | Plural
! style="min-width: 8em; background-color: #acf4cf" | Plural
]=]) .. make_cases(data) .. [=[
]=]) .. make_cases(data) .. [=[