Command reference topics
When you're authoring a command reference topic, where the purpose of the topic is to define the command and its syntax, then you do use the more detailed semantic elements, like cmdname, parmname, varname because, in this particular context, the more detailed semantics are important to the purpose of the content.