<div class="cell medium-12 large-3 my-block">
    <div class="bubble">
        <label class="matchtitle">{{ player.name }}</label>

        <div>
            <div class="match-result" style="padding-right: 10px;">
                <div class="player">
                        <strong>{{ player.clean_club_name }}</strong>
                </div>
            </div>

            <div class="match-result top-border">
                <div class="player">
                    <div class="semibold">
                        <strong>Classement</strong>
                    </div>
                </div>
                <div class="scores">
                    <span class="score ws numbers">{{ player.format_ordinal }}</span>
                </div>
            </div>

            {% if player.calculate_age %}
            <div class="match-result top-border">
                <div class="player">
                    <div class="semibold">
                        <strong>Age</strong>
                    </div>
                </div>
                <div class="scores">
                    <span class="score ws numbers">
                        {{ player.calculate_age }} ans
                    </span>
                </div>
            </div>
            {% endif %}


            {% if player.points %}
            <div class="match-result top-border">
                <div class="player">
                    <div class="semibold">
                        <strong>Points</strong>
                    </div>
                </div>
                <div class="scores">
                    <span class="score ws numbers">{{ player.points|default:"0" }} pts</span>
                </div>
            </div>
            {% endif %}

            {% if player.tournament_played %}
            <div class="match-result top-border">
                <div class="player">
                    <div class="semibold">
                        <strong>Tournois joués</strong>
                    </div>
                </div>
                <div class="scores">
                    <span class="score ws numbers">{{ player.tournament_played|default:"0" }}</span>
                </div>
            </div>
            {% endif %}
        </div>
    </div>
</div>
