{% trans %} There were scripting errors on this page. While those are being addressed by site editors, you can view partial content below. {% endtrans %}
{% else %}{{ _("There are scripting messages on this page:") }}
{{ template_name }} ({{ template_args }})
{% if edit_url %}
( edit ):
{% endif %}
{% endif %}
{% if err_type == 'TemplateLoadingError' %}
{% set options = error.args[2] %}
{% set template_name = options.name %}
{% set template_slug = 'Template:{name}' | f(name=template_name) %}
{% if '$' not in template_name %}
{% set template_path = ('{locale}/{slug}' | f(locale='en-US', slug=template_slug)) %}
{% set edit_url = url('wiki.edit_document', template_path) %}
{% set new_url = url('wiki.new_document') %}
{% endif %}
for {{ template_slug }} (
{% if 'status 404' in error.message and new_url %}
new
{% elif edit_url %}
edit
{% elif '$' in template_name %}
{{ _("Note: '$' in macro names is not supported") }}
{% endif %}
):
{% endif %}
{% endif %}