child_name

NAML documentation   Watch a video
   Usages of this macro
... in utilities.naml
406
407
408
409
410
411
<macro name="child_name" requires="node">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.regex_matches
Macro
Parameters: pattern, text
 text="[n.type
Binary
Namespace: NodeNamespace
Parameters: equals
/]" pattern="forum|category|mixed">
        <then><t>Sub-Forum</t></then>
        <else><t>Subcategory</t></else>
    </n.if.regex_matches>
</macro>