1)【Arclist 标记】获取指定的文档列表
适用范围:封面模板、列表模板、文档模板 (没有内容)
   {dede:arclist typeid=‘‘ row=‘‘ col=‘‘ titlelen=‘‘ infolen=‘‘ imgwidth=‘‘ imgheight=‘‘ listtype=‘‘ orderby=‘‘ keyword=‘‘}
  
      底层模板 [field:varname/]
  
      {/dede:arclist}
typeid=‘‘ 表示栏目ID,在列表模板和档案模板中一般不需要指定,在封面模板中允许用","分开表示多个栏目;
2)【Channel 标记】用于获取栏目列表
适用范围:封面模板、列表模板、文档模板
   {dede:channel row=‘‘ type=‘‘}
  
        自定义样式模板(InnerText)
  
        {/dede:channel}
  type=‘top‘ 表示顶级栏目
 
      type=‘son‘ 或 ‘sun‘ 表示下级栏目
 
        type=‘self‘ 表示同级栏目
3)【Type 标记】别名 onetype 表示指定的单个栏目的链接
   适用范围:封面模板、列表模板、文档模板
语法 {dede:type typeid=‘‘}
{/dede:type}
    typeid=‘栏目ID‘
   底层模板变量 
  
      typename,typelink(仅表示栏目的网址)
【Channelartlist 标记】 
      
      功能说明:用于获取当前频道的下级栏目的内容列表 
      适用范围:封面模板 
      
      (1)基本语法
      {dede:channelArtlist typeid=0 col=2 tablewidth=‘100%‘}
<table width="99%" border="0" cellpadding="3" 
        cellspacing="1" bgcolor="#BFCFA9">
<tr>
<td bgcolor="#E6F2CC">
        {dede:type}
<table border="0" cellpadding="0" cellspacing="0" 
        width="98%">
<tr>
<td width=‘10%‘ align="center"><img src=‘[field:global 
        name=‘cfg_plus_dir‘/]/img/channellist.gif‘ width=‘14‘ height=‘16‘></td>
<td width=‘60%‘>
<a href="[field:typelink /]">[field:typename /]</a>
</td>
<td width=‘30%‘ align=‘right‘>
<a href="[field:typelink /]">更多...</a>
</td>
</tr>
</table>
      {/dede:type}
</td>
</tr>
<tr>
<td height="150" valign="top" bgcolor="#FFFFFF">
{dede:arclist row="8"}
·<a href="[field:arcurl /]">[field:title /]</a><br>
        {/dede:arclist}
</td>
</tr>
</table>
<div style=‘font-size:2px‘> </div>
        {/dede:channelArtlist}
        
      除了宏标记外,channelArtlist 是唯一一个可以直接嵌套其它标记的标记,不过仅限于嵌套 
      {dede:type}{/dede:type} 和 {dede:arclist}{/dede:arclist} 
      两个标记。 
      (2) 属性
      [1]typeid=0 频道ID,默认的情况下,嵌套的标记使用的是这个栏目ID的下级栏目,如果你想用特定的栏目,可以用","分开多个ID。 
      [2]col=2 分多列显示 
      [3]tablewidth=‘100%‘ 外围表格的大小
原文:http://www.cnblogs.com/angerBoy/p/6978867.html