{# NOTE: We set a narrow width to stop lots of notes making us very wide. #} {%else%} {%endif%} {% if vo.name_len <= MAX_VO_NAME_LEN %} {# NOTE: If the vehicle/ordnance name is short, put the capabilities to the right of it. #}
{%if PLAYER_FLAG%} {%endif%}{{PLAYER_NAME|nbsp}} {{VO_TYPES}} {%for vo in OB_VO%} {% if vo.index == 0 %}
{{INCLUDE:ob_vo.name}}
{{INCLUDE:ob_vo.image}} {%else%} {# NOTE: If the vehicle/ordnance name is long, put it on its own line, and the capabilities underneath. #}
{{INCLUDE:ob_vo.name}}
{{INCLUDE:ob_vo.image}} {%endif%} {% if vo.capabilities_len >= 5 or !vo.image %} {# NOTE: If there are a lot of capabilities, tuck the note number & notes under the image. #} {# But if there is no image, we always do this, and squeeze them in to the left of the capabilities. #}
{{INCLUDE:ob_vo.notes}}
{%endif%}
{%for cap in vo.capabilities%}
{{cap|nobr}}
{%endfor%} {%for cmnt in vo.comments%}
{{cmnt}}
{%endfor%} {% if vo.capabilities_len < 5 and vo.image %} {# NOTE: If there are only a few capabilities, let the note number & notes spread full-width. #} {# But if there is no image, we never do this (see above). #}
{{INCLUDE:ob_vo.notes}} {%endif%} {%endfor%}