Sure, do you mean like:

{% unless version < "3.1" %}
   <li>{% iflink "Developer Documentation", "./developer/index.html" %}</li>
 {% endunless %}

Or like:

<span class="versionnote">This reference applies to Puppet 2.7.14 and later and Puppet Enterprise 2.5 and later. Earlier versions will not behave identically.</span>