gallery_table_row

NAML documentation   Watch a video
   Usages of this macro
... in gallery_table_row.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<override_macro name="gallery_table_row" requires="app_namespace">
    <tr>
        <td style="width:25%">
            <n.current_node
Binary
Namespace: NodeList
Parameters: do
.gallery_cell
Macro
/>
        </td>
        <td style="width:25%">
            <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.next_node
Binary
Namespace: NodeList
>
                <then.current_node
Binary
Namespace: NodeList
Parameters: do
.gallery_cell
Macro
/>
            </n.if.next_node>
        </td>
        <td style="width:25%">
            <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.next_node
Binary
Namespace: NodeList
>
                <then.current_node
Binary
Namespace: NodeList
Parameters: do
.gallery_cell
Macro
/>
            </n.if.next_node>
        </td>
        <td style="width:25%">
            <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.next_node
Binary
Namespace: NodeList
>
                <then.current_node
Binary
Namespace: NodeList
Parameters: do
.gallery_cell
Macro
/>
            </n.if.next_node>
        </td>
    </tr>
</override_macro>
Overrides default macro
... in view_gallery.naml
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<macro name="gallery_table_row" requires="app_namespace">
    <tr>
        <td style="width:33%">
            <n.current_node.gallery_cell/>
        </td>
        <td style="width:33%">
            <n.if.next_node>
                <then.current_node.gallery_cell/>
            </n.if.next_node>
        </td>
        <td style="width:33%">
            <n.if.next_node>
                <then.current_node.gallery_cell/>
            </n.if.next_node>
        </td>
    </tr>
</macro>