one_or_many

NAML documentation   Watch a video
Error Found
An error was found in the NAML code of this application – View Details | Go to NAML Editor
no macro found to override
  in (custom_tweak:adbayes_script:1) - <override_macro name="adbayes_script" parameters="params" requires="ad, servlet">
   Usages of this macro
... in utilities.naml
744
745
746
747
748
749
750
751
752
753
<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>