child_name

NAML documentation   Watch a video
   Usages of this macro
... in utilities.naml
416
417
418
419
420
421
<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
Macro
>Subcategory</t></else>
    </n.if.regex_matches>
</macro>