﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
21747	The {% elif %} templatetag could use documentation	Chris Wilson	nobody	"The [https://docs.djangoproject.com/en/dev/topics/templates/ Django templates page] makes no mention of the {% elif %} tag, although it does document {% if %} and {% else %}.

I was curious so I went digging in the source, and discovered that {% elif %} is implemented. It even has doc comments:

{{{
{% if athlete_list %}
    Number of athletes: {{ athlete_list|count }}
{% elif athlete_in_locker_room_list %}
    Athletes should be out of the locker room soon!
{% else %}
    No athletes.
{% endif %}
}}}

It would be great to have it officially documented on the Templates page."	Cleanup/optimization	closed	Documentation	1.6	Normal	fixed			Accepted	0	0	0	0	1	0
