国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.7KB

  1. 文档列表标签
  2. >>dede>>
  3. {dede:arclist typeid='' notypeid='' row='' col='' titlelen='' flag='h' infolen='' imgwidth='' imgheight='' listtype='' orderby='' keyword='' limit='0,1'}
  4. <a href='[field:arcurl/]'>[field:title/]</a>
  5. {/dede:arclist}
  6. >>dede>>
  7. typeid='' 调用栏目id文档,用英文逗号分开表示多个栏目
  8. notypeid='' 不调用栏目id文档,用英文逗号分开表示多个栏目
  9. row='10' 调用文档列表总数
  10. col='2' 分多少列显示(默认为单列)
  11. titlelen='160' 标题长度
  12. infolen='260' 文档简介长度
  13. imgwidth='120' 缩略图宽度
  14. imgheight='90' 缩略图高度
  15. listtype='all' 栏目类型(顶级栏目)
  16. orderby='sortrank' 文档排序方式
  17. orderby='hot' 或orderby='click'表示按点击数排列
  18. orderby='sortrank' 或orderby='pubdate'按出版时间排列
  19. orderby='near'
  20. orderby=='lastpost' 按最后评论时间
  21. orderby=='scores' 按得分排序
  22. orderby='id' 按文档id排序
  23. orderby='rand' 随机获得指定条件的文档列表
  24. keyword='关键词' 含有指定关键词的文档列表,多个关键词用英文逗号分开
  25. limit='' 限定的记录范围(如:limit='1,2')
  26. innertext='' 单行记录样式
  27. aid='' 指定文档id
  28. idlist='' 提取特定文档
  29. isweight='n' 开启按照权重排序,默认为n/N,如果设为y/Y,则文档会按照weight字段排序,数值越小越靠前
  30. channelid='' 栏目id
  31. flag='h' 自定义属性值:头条[h]推荐[c]图片[p]幻灯[f]滚动[s]跳转[j]图文[a]加粗[b]
  32. noflag='' 同flag,但这里是表示不包含这些属性
  33. orderway='' 值为desc或asc,指定排序方式是降序还是顺向排序,默认为降序
  34. subday='7' 表示在多少天以内的文档