dedecms调用顶级栏目
{dede:channel type='top' currentmargin: 0px; padding: 0px; font-family: "Courier New" !important; font-size: 12px !important; line-height: 1.5 !important; color: rgb(0, 0, 255);"><li class='on'><a href='~typelink~' ~rel~>~typename~</a></li>"} <li><a href='[field:typeurl/]' [field:rel/]>[field:typename/]</a></li> {/dede:channel}
dedecms调用同级栏目
{dede:channel currentmargin: 0px; padding: 0px; font-family: "Courier New" !important; font-size: 12px !important; line-height: 1.5 !important; color: rgb(0, 0, 255);"><li class='on'><a href='~typelink~' ~rel~><span>~typename~</span></a></li>"} <li><a href="[field:typeurl/]" [field:rel/]>[field:typename/]</a></li> {/dede:channel}
dedecms调用指定栏目的子栏目
{dede:channel type='son' typeid='3'} <li><a href="[field:typeurl/]">[field:typename/]</a></li> {/dede:channel}
dedecms调用顶级栏目及其子栏目
{dede:channelartlist typeid='top'} <li class="type"> <a href="{dede:field name='typeurl'/}">{dede:field name='typename'/}</a> <div class="sontype"> <ul> {dede:channel type='son' noself='yes'} <li><a href="[field:typelink/]">[field:typename/]</a></li> {/dede:channel} </ul> </div> </li> {/dede:channelartlist}
dedecms调用当前栏目
{dede:type}
<a href="[field:typeurl/]" [field:rel/]>[field:typename/]</a>
{/dede:type}
dedecms循环输出指定栏目下的子栏目内容
{dede:channelartlist type='son' typeid='1'} {dede:field.content/} {/dede:channelartlist}
dedemcs栏目页调用栏目内容
{dede:field.content/}
任意页面调用栏目内容
{dede:sql sql='Select content from dede_arctype where id=2'} [field:content function="cn_substr(@me,236)"/] {/dede:sql}