one_or_many

NAML documentation   Watch a video
   Usages of this macro
... in utilities.naml
711
712
713
714
715
716
717
718
719
720
<macro name="one_or_many" dot_parameter="n" parameters="one_text, many_text">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.equal
Binary
Namespace: BasicNamespace
Parameters: value2, value1
 value1="[n.n/]" value2="1">
        <then>
            1 <n.one_text/>
        </then>
        <else>
            <n.n/> <n.many_text/>
        </else>
    </n.if.equal>
</macro>