{% if object.content.code %} cod. {{ object.content.code }}, {% endif %} {% if object.content.page %} pag. {{ object.content.page }}, {% endif %} id {{ object.content.id|stringformat:'s' }}, pub. {{ object.content.issue.number|stringformat:'s' }}