常用循环标签

如果标注为通用,则可以在模板中任何一个板块页面使用。

常用列表循环标签

loop=后面的数字是循环写出多少条数据。
{x5music:video loop=12 start=1} {/x5music:video}
{x5music:video loop=12 start=1 sort=dtime videoclassid=all order=desc} {/x5music:video}
{x5music:video loop=12 start=1 sort=hits videoclassid=all order=desc} {/x5music:video}
{x5music:video loop=12 start=1 sort=dayhits videoclassid=all order=desc} {/x5music:video}
{x5music:video loop=12 start=1 sort=weekhits videoclassid=all order=desc} {/x5music:video}
{x5music:video loop=12 start=1 sort=monthhits videoclassid=all order=desc} {/x5music:video}
{x5music:video loop=12 start=1 sort=favhits videoclassid=all order=desc} {/x5music:video}
{x5music:video loop=12 start=1 sort=downhits videoclassid=all order=desc} {/x5music:video}
{x5music:video loop=12 start=1 sort=rand videoclassid=all order=desc} {/x5music:video}
{x5music:video loop=12 start=1 sort=free videoclassid=all order=desc} {/x5music:video}
{x5music:video loop=12 start=1 sort=vip videoclassid=all order=desc} {/x5music:video} 
{x5music:video loop=12 start=1 sort=time stars=5 videoclassid=all order=desc} {/x5music:video}
stars= 1或者2 3 4 5
{x5music:video loop=12 start=1 sort=stars videoclassid=all order=desc} {/x5music:video}
{x5music:video loop=12 start=1 sort=time videoclassid=1 order=desc} {/x5music:video}
videoclassid=分类的ID
{x5music:video loop=12 start=1 sort=time videoclassid=1,2,3 order=desc} {/x5music:video}
videoclassid=分类的ID
{x5music:video loop=12 sort=user order=desc} {/x5music:video}
注:这一条只能在播放内容页面调用
{x5music:video loop=18 sort=dtime singerid=auto order=desc} {/x5music:video}
注:这一条只能在播放内容页面调用
{x5music:video loop=10 sort=dtime videoclassid=auto order=desc} {/x5music:video}
注:这一条只能在播放内容页面调用

自定义导航(全站通用)

{x5music:videoclass videoclassid=1 sort=turn order=asc} [videoclass:name] [videoclass:link] {/x5music:videoclass}
{x5music:videoclass fid=1 sort=turn order=asc} [videoclass:name] [videoclass:link] {/x5music:videoclass}
注:二级分类调用所属一级分类ID
如需实现树形导航可以使用自定义类型来实现,甚至都不需要一级,只需写二级下的分类ID就行。