;
{$number}在1-10之间
&lt;else/&gt;
{$number}不在1到10之间
&lt;/between&gt;
</code></pre></div><p><code>notbetween</code> 标签 来判断变量不在某个范围内</p> <div class="language- extra-class"><pre class="language-text"><code>&lt;notbetween name=&quot;id&quot;value=&quot;1,10&quot;&gt;输出内容1&lt;/notbetween&gt;
</code></pre></div><ol start="3"><li><code>present</code> 标签</li></ol> <p>标签来判断模板变量是否已经赋值</p> <div class="language- extra-class"><pre class