The Warren Leaderboard

{% comment %} The Warren — Leaderboard Section for Go Rabbit (Dawn Theme) {% endcomment %}

The {{ section.settings.title_accent | default: 'Warren' }}

{{ section.settings.subtitle | default: 'Weekly leaderboard · resets every Monday' }}

{% comment %} Podium — top 3 {% endcomment %}
{% comment %} 2nd place {% endcomment %}

2nd

{{ section.settings.rank2_name | upcase | truncate: 2, '' }}

{{ section.settings.rank2_name | default: 'Runner Up' }}

{{ section.settings.rank2_pts | default: '0' }}

{{ section.settings.currency_label | default: 'carrots' }}

{% comment %} 1st place {% endcomment %}

1st

{{ section.settings.rank1_name | upcase | truncate: 2, '' }}

{{ section.settings.rank1_name | default: 'Champion' }}

{{ section.settings.rank1_pts | default: '0' }}

{{ section.settings.currency_label | default: 'carrots' }}

{% comment %} 3rd place {% endcomment %}

3rd

{{ section.settings.rank3_name | upcase | truncate: 2, '' }}

{{ section.settings.rank3_name | default: 'Third' }}

{{ section.settings.rank3_pts | default: '0' }}

{{ section.settings.currency_label | default: 'carrots' }}

{% comment %} Ranked list — positions 4–10 via blocks {% endcomment %}
{% for block in section.blocks %} {% assign initials = block.settings.name | upcase | split: '' %}
{{ forloop.index | plus: 3 }}
{{ initials[0] }}{{ initials[1] }}

{{ block.settings.name | default: 'Fan' }}

{{ block.settings.role | default: 'Community member' }}

{{ block.settings.score | default: '0' }} {% if block.settings.delta > 0 %} +{{ block.settings.delta }} {% elsif block.settings.delta < 0 %} {{ block.settings.delta }} {% else %} {% endif %}
{% endfor %}
{% schema %} { "name": "The Warren — Leaderboard", "tag": "section", "class": "warren-section", "settings": [ { "type": "header", "content": "Header" }, { "type": "text", "id": "title_accent", "label": "Accent word in title", "default": "Warren" }, { "type": "text", "id": "subtitle", "label": "Subtitle", "default": "Weekly leaderboard · resets every Monday" }, { "type": "text", "id": "currency_label", "label": "Points currency name", "default": "carrots" }, { "type": "range", "id": "max_width", "min": 600, "max": 1400, "step": 50, "label": "Max width (px)", "default": 900 }, { "type": "header", "content": "1st place" }, { "type": "text", "id": "rank1_name", "label": "Username", "default": "ZapRabbit" }, { "type": "text", "id": "rank1_pts", "label": "Score", "default": "11,580" }, { "type": "header", "content": "2nd place" }, { "type": "text", "id": "rank2_name", "label": "Username", "default": "SwiftKick" }, { "type": "text", "id": "rank2_pts", "label": "Score", "default": "8,240" }, { "type": "header", "content": "3rd place" }, { "type": "text", "id": "rank3_name", "label": "Username", "default": "NeonX" }, { "type": "text", "id": "rank3_pts", "label": "Score", "default": "7,910" }, { "type": "header", "content": "Footer" }, { "type": "text", "id": "footer_text", "label": "Footer message", "default": "Earn carrots by posting, running & winning events" }, { "type": "text", "id": "cta_label", "label": "Button label", "default": "How to earn" }, { "type": "url", "id": "cta_url", "label": "Button link" } ], "blocks": [ { "type": "entry", "name": "Leaderboard entry", "settings": [ { "type": "text", "id": "name", "label": "Username", "default": "FanName" }, { "type": "text", "id": "role", "label": "Role / tag", "default": "Community member" }, { "type": "text", "id": "score", "label": "Score", "default": "1,000" }, { "type": "number", "id": "delta", "label": "Rank change (+ up, - down, 0 same)", "default": 0 } ] } ], "presets": [ { "name": "The Warren — Leaderboard", "blocks": [ { "type": "entry", "settings": { "name": "BlazeLoop", "role": "Speedrunner", "score": "6,450", "delta": 2 }}, { "type": "entry", "settings": { "name": "HopBoss99", "role": "Fan art creator", "score": "5,820", "delta": 0 }}, { "type": "entry", "settings": { "name": "QuickJump", "role": "Lore master", "score": "5,100", "delta": -1 }}, { "type": "entry", "settings": { "name": "VoltRun", "role": "Speedrunner", "score": "4,780", "delta": 4 }}, { "type": "entry", "settings": { "name": "DashTail", "role": "Event winner", "score": "4,210", "delta": 1 }}, { "type": "entry", "settings": { "name": "PawWave", "role": "Fan art creator", "score": "3,990", "delta": 0 }}, { "type": "entry", "settings": { "name": "FluxSprint", "role": "Speedrunner", "score": "3,540", "delta": -2 }} ] } ] } {% endschema %}
Back to blog