avatar_label

NAML documentation   Watch a video
   Usages of this macro
... in avatar_label.naml
1
2
3
4
5
6
7
8
<override_macro name="avatar_label" parameters="condition,img" dot_parameter="label">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.condition>
        <then>
            <div class="avatar-label" style="font-size:80%;padding-top: .3em;color:red;margin:.3em 0border:none;"><n.label/></div>
            <img src="[n.img/]"/>
        </then>
    </n.if.condition>
</override_macro>
Overrides default macro
... in topic.naml
582
583
584
585
586
587
588
<macro name="avatar_label" parameters="condition" dot_parameter="label">
    <n.if.condition>
        <then>
            <div class="avatar-label weak-color"><n.label/></div>
        </then>
    </n.if.condition>
</macro>