<commit_before>---
title: Help
section: help
permalink: /help/
jumbotron:
    image: /assets/images/help/jumbotron.jpg
    alt: ~
---

{% extends "_layouts/page.html.twig" %}

{% from _self import card_block %}

{% macro card_block(image, header, link, content) %}
    <div class="col-md-6 col-lg-4 mb-5 mb-md-4 mb-lg-3">
        <article class="c-card">
            <header class="background-light mb-2">
                <img src="{{ url('/assets/images/help/' ~ image ~ '.svg') }}"
                     alt="{{ image | capitalize }} icon"
                >
            </header>
            <div>
                <h2 class="mt-0 mb-2">
                    {% if link %}
                        {%- set url = (link.permalink or link[0] == '/') ? url(link) : link -%}
                        <a href="{{- url -}}">{{- header -}}</a>
                    {% else %}
                        {{- header -}}
                    {% endif %}
                </h2>
                {% spaceless %}{{ content }}{% endspaceless %}
            </div>
        </article>
    </div>
{% endmacro %}

{% block content %}
    <h1>Help</h1>
    <p class="mb-5">
      There are lots of ways to get help with BZFlag! Many of these are also useful if you want to help contribute to the game in some way.
    </p>

    <div class="row">
        {% set getting_started_content %}
            <p>New to the game and want to get started quickly? Check out our Getting Started guide!</p>
        {% endset %}
        {{ card_block(
            'question',
            'Getting Started',
            collections.user_documentation['getting_started'],
            getting_started_content
        ) }}

        {% set forums_content %}
            <p>BZFlag hosts a forum for registered users. This also serves as a player registration system for the game.</p><commit_msg>Fix link to 'Getting Started' on help page<commit_after>---
title: Help
section: help
permalink: /help/
jumbotron:
    image: /assets/images/help/jumbotron.jpg
    alt: ~
---

{% extends "_layouts/page.html.twig" %}

{% from _self import card_block %}

{% macro card_block(image, header, link, content) %}
    <div class="col-md-6 col-lg-4 mb-5 mb-md-4 mb-lg-3">
        <article class="c-card">
            <header class="background-light mb-2">
                <img src="{{ url('/assets/images/help/' ~ image ~ '.svg') }}"
                     alt="{{ image | capitalize }} icon"
                >
            </header>
            <div>
                <h2 class="mt-0 mb-2">
                    {% if link %}
                        {%- set url = (link.permalink or link[0] == '/') ? url(link) : link -%}
                        <a href="{{- url -}}">{{- header -}}</a>
                    {% else %}
                        {{- header -}}
                    {% endif %}
                </h2>
                {% spaceless %}{{ content }}{% endspaceless %}
            </div>
        </article>
    </div>
{% endmacro %}

{% block content %}
    <h1>Help</h1>
    <p class="mb-5">
      There are lots of ways to get help with BZFlag! Many of these are also useful if you want to help contribute to the game in some way.
    </p>

    <div class="row">
        {% set getting_started_content %}
            <p>New to the game and want to get started quickly? Check out our Getting Started guide!</p>
        {% endset %}
        {{ card_block(
            'question',
            'Getting Started',
            pages['Getting Started'],
            getting_started_content
        ) }}

        {% set forums_content %}
            <p>BZFlag hosts a forum for registered users. This also serves as a player registration system for the game.</p>
{'fraction_non_alphanumeric': 0.14653304442036835, 'fraction_numerical': 0.007583965330444204, 'mean_word_length': 1.5789106145251397, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5681520', 'n_tokens_mistral': 1151, 'n_tokens_neox': 1052, 'n_words': 313}