subapp_column

NAML documentation   Watch a video
   Usages of this macro
... in columns.naml
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
<macro name="subapp_column" parameters="width,title">
    <n.table_column
Macro
Parameters: head, body
>
        <head>
            <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.has_subapps
Binary
Namespace: NodeNamespace
>
                <then>
                    <td class="[n.column_default_border
Macro
/] subapp-column nowrap" align="center" style="[n.width_style
Macro
Parameters: width
.width/]">
                        <n.default
Binary
Namespace: BasicNamespace
Parameters: to, text
. to="[t]Sub Forum[/t]"><n.title/></n.default.>
                    </td>
                </then>
            </n.if.page_node.has_subapps>
        </head>
        <body>
            <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.has_subapps
Binary
Namespace: NodeNamespace
>
                <then>
                    <td class="[n.column_default_border
Macro
/] adbayes-content" style="font-size:90%" align="center"><n.current_node
Binary
Namespace: NodeList
Parameters: do
.subapp_link
Macro
Requires: node, node_list
/></td>
                </then>
            </n.if.page_node.has_subapps>
        </body>
    </n.table_column>
</macro>