Jon W
Well-known member
It would be great if there was a way to include template code from the next minor release in an older release using something like:
As a real example, it would be nice to do something like this:
HTML:
<xf:if versionabove="2020030">
<xf:newtag>This only works in XenForo 2.2 and above so is not parsed in older XenForo versions</xf:newtag>
</xf:if>
As a real example, it would be nice to do something like this:
HTML:
<xf:if versionabove="2010030">
<xf:fa icon="fa-network-wired" />
<xf:else />
<i class="fa fa-plug" aria-hidden="true"></i>
</xf:if>
Upvote
4