Dynamic Columns/Rows
Okay, I'll change that and see what happens.
By the way, yes, all masculine nouns ending in a consonant have a count form. However, it's not always derived by simply adding "-а" to the singular stem because sometimes elision is involved. Thus, I will later make another parameter that specifies whether a default count form should be made with the addition of "-а" to the page name or if the provided stem should be used. I haven't done that yet because I was trying to make the dynamic row work first.
Okay, I changed it, but the count form went in the wrong place. Look what happened: https://en.wiktionary.org/wiki/%D0%BC%D0%B0%D0%B6#Inflection
Thank you. It's automatic now, so the row appears even when nothing is defined in the code on the page, generating a count form with "-а" added to the page name by default, but it's okay, I suppose - hopefully incoming editors won't generate any wrong inflection tables because of this. Anyway, I have added an if-statement for the nouns that use another stem than the singular one. I think I can finally start adding inflection tables to all nouns now.
Don't forget to check all the entries that already use this template (see Special:WhatLinksHere/Template:mk-decl-noun-m) in case the automatically generated count form is wrong.
I didn't know that there were lists of words that use a particular template - how very useful. I had actually wished for something such. Anyway, I shall check them.
I've checked them - they're fine.