{% if post.status == database.PostStatus.UNDELETED :}
{{ post.id }}. {% if post.name :}{{ post.name }}{:} {% if post.tripcode :}[{{ post.tripcode }}]{:} {% if post.mod :}{_Moderator_}{:} {{ post.posted }} {"includes/post_options.html"} {% if (not thread.locked or mod_name) and (thread.num_posts < board_db.config.max_thread_posts) :}{_Quote_}{:}
{"includes/uploaded_file.html"}{$ post.comment $}
{: else :} {# multiple consecutive deletion markers get combined... #} {% if mod_name or (index == len(thread.posts)-1) or (thread.posts[index+1].status == database.PostStatus.UNDELETED) :} {% mc, pc = database.num_preceding_deleted(thread.posts, index) %}
{% if mod_name or (mc + pc == 1) :} {{ post.id }}. {_Post deleted by_} {% if post.status == database.PostStatus.USER_DELETED :}{_poster_}{: else :}{_moderator_}{:}. {% if mod_name :}{"includes/post_options.html"}{:} {: else :} {{ post.id - (mc + pc - 1) }} - {{ post.id }} {_Posts deleted by_} {% if mc :}{_moderator_}{% if pc :} ({{ mc }}){::}{% if mc and pc :} {_and_} {:}{% if pc :}{_poster_}{% if mc :} ({{ pc }}){::}. {:}
{:} {:}