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
tag 'mailing_list_etiquette' is not an allowed here, only these are allowed: [bottom, page_name, focus]
  in new_post(custom_tweak:reply:2) - <n.new_post>
  in (custom_tweak:reply:1) - <override_macro name="reply" requires="servlet">
   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>