前面是变量,后面是调用变量的解释
{pc:content
action="position"posid="12" thumb="1" order="id desc"num="10"}
图片新闻
{pc:contentaction="lists" catid="$r[catid]" num="1"thumb="1" order="id desc" return="info"}
{pc:contentaction="lists" catid="$r[catid]" num="5"order="id desc" return="info"}
{pc:announce
action="lists"siteid="$siteid" num="2"}
公告
{pc:special
action="lists"siteid="$siteid" elite="1" listorder="3"num="2"}
专题
{pc:content action="hits"catid="35" num="10" order="views desc"}
digg点击
{pc:comment action="bang"num="10" cache="3600"}
评论
{pc:content action="hits"catid="35" num="10" order="views desc"}
{pc:link
action="type_list"siteid="$siteid" linktype="1" order="listorderdesc" num="8" return="pic_link"}
友情链接
{pc:content action="lists"catid="$catid" num="25" order="id desc"page="$page"}
列表
{pc:content action="hits"catid="$catid" num="10" order="views desc"cache="3600"}
总排行
{pc:content action="hits"catid="$catid" num="8" order="monthviews desc"cache="3600"}
月排行
{pc:content
action="position"posid="5" order="listorder desc" num="4"}
推荐下载
{catpos($catid)}
栏目定位
{loop subcat(0,0,0,$siteid) $r}
{title_style($r[style])}
标题样式
{$inputtime}
发布时间
{pc:content
action="position"posid="12" thumb="1" order="id desc"num="10"}
图片新闻
{pc:contentaction="lists" catid="$r[catid]" num="1"thumb="1" order="id
desc" return="info"}
{pc:contentaction="lists" catid="$r[catid]" num="5"order="id desc"
return="info"}
{pc:announce
action="lists"siteid="$siteid" num="2"}
公告
{pc:special
action="lists"siteid="$siteid" elite="1" listorder="3"num="2"}
专题
{pc:content action="hits"catid="35" num="10" order="views desc"}
digg
点击
{pc:comment action="bang"num="10" cache="3600"}
评论
{pc:content action="hits"catid="35" num="10" order="views desc"}
{pc:link
action="type_list"siteid="$siteid" linktype="1" order="listorderdesc" num="8"
PHPCMS V9模板中的常用变量、碎片代码详解,布布扣,bubuko.com
原文地址:http://blog.csdn.net/zsj523/article/details/38270789