sub_section

NAML documentation   Watch a video
   Usages of this macro
... in view_mixed.naml
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<macro name="sub_section" dot_parameter="columns" parameters="length">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.current_node
Binary
Namespace: NodeList
Parameters: do
.can_be_viewed_by_visitor
Binary
Namespace: NodeNamespace
>
        <then>
            <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.current_node
Binary
Namespace: NodeList
Parameters: do
.type
Binary
Namespace: NodeNamespace
Parameters: equals
 equals="gallery">
                <then.current_node
Binary
Namespace: NodeList
Parameters: do
.gallery_section
Macro
Requires: node
Parameters: length
 length="[n.length/]"/>
                <else>
                    <n.current_node
Binary
Namespace: NodeList
Parameters: do
.subapp_section
Macro
Requires: node
Parameters: columns, length
. length="[n.length/]">
                        <n.columns/>
                    </n.current_node.subapp_section.>
                </else>
            </n.if.current_node.type>
        </then>
    </n.if.current_node.can_be_viewed_by_visitor>
</macro>