为了使大家更快的掌握模板标签调用的方法及原理,这里列出了一些标签调用示例供大家参考,你可以直接复制自己想要效果对应的调用代码进行修改使用。 注: 系统提供的模板标签功能相当强大灵活,可以创作出 n 种调用效果,这里只是列出了部分效果,发挥你的想象结合YulinCMS 强大的模板标签功能可轻松实现你想要的效果。
| 文本文档调用效果: |
|
调用效果 |
调用代码 |
全球网民人数达12亿 中国第... 针对中国市场 微软大规模调... 滕俊平:竞争关键在于谁能... 中国互联网企业频叩国际资... 非彩票机构网站30日内必须... 酷6原创视频库正式上线 百...
|
调用指定分类下的最新6篇文档 [Yu:DocList DocCount=6,CategoryId=89,Sort=DateTime,OrderBy=DESC,TitleLen=24,TitleAddStr=...] [ItemTemplate] <a href="[Yu:DocPath]" target="_blank">[Yu:Title]</a><br> [/ItemTemplate] [/Yu:DocList]
|
[互联网] 全球网民人数达12亿 中国第... [互联网] 针对中国市场 微软大规模调... [互联网] 滕俊平:竞争关键在于谁能... [互联网] 中国互联网企业频叩国际资... [互联网] 非彩票机构网站30日内必须... [互联网] 酷6原创视频库正式上线 百...
|
调用最新文档,并且显示分类名称 [Yu:DocList DocCount=6,CategoryId=89,Sort=DateTime,OrderBy=DESC,TitleLen=24,TitleAddStr=...] [ItemTemplate] [<a href="[Yu:CategoryPath]" target="_blank"><font color="#999999">[Yu:CategoryTitle]</font></a>] <a href="[Yu:DocPath]" target="_blank">[Yu:Title]</a><br> [/ItemTemplate] [/Yu:DocList] |
全球网民人数达12亿 中国第... 2007年11月14日 针对中国市场 微软大规模调... 2007年11月14日 滕俊平:竞争关键在于谁能... 2007年11月10日 中国互联网企业频叩国际资... 2007年11月10日 非彩票机构网站30日内必须... 2007年11月10日 酷6原创视频库正式上线 百... 2007年11月10日
|
调用最新文档,并且显示日期 [Yu:DocList DocCount=6,CategoryId=89,Sort=DateTime,OrderBy=DESC,TitleLen=24,TitleAddStr=...] [ItemTemplate] <a href="[Yu:DocPath]" target="_blank">[Yu:Title]</a> <font color="#999999">2007年11月27日</font> <br> [/ItemTemplate] [/Yu:DocList] |
滕俊平:竞争关键在于谁能... 点击:16 中国互联网企业频叩国际资... 点击:10 Q3中国创投市场投资增44.3... 点击:10 思科1750万美元入股阿里巴... 点击:10 全球网民人数达12亿 中国第... 点击:5 巨人网络纽交所上市 市值5... 点击:5
|
调用指定分类下的文档,按点击数量由大到小排序,并且显示点击数量 [Yu:DocList DocCount=6,CategoryId=89,Sort=Click,OrderBy=DESC,TitleLen=24,TitleAddStr=...] [ItemTemplate] <a href="[Yu:DocPath]" target="_blank" >[Yu:Title]</a> <font color="#999999">点击: [Yu:ClickCount]</font><br> [/ItemTemplate] [/Yu:DocList] |
全球网民人数达12亿 中国第... 评论数:3 巨人网络纽交所上市 市值5... 评论数:2 滕俊平:竞争关键在于谁能... 评论数:1 中国互联网企业频叩国际资... 评论数:1 西部互联网爆炸性发展 网民... 评论数:1 Google广告帝国版图扩张至... 评论数:1
|
调用指定分类下的文档,按评论数由大到小排序,并且显示评论数量 [Yu:DocList DocCount=6,CategoryId=89,Sort=Review,OrderBy=DESC,TitleLen=24,TitleAddStr=...] [ItemTemplate] <a href="[Yu:DocPath]" target="_blank">[Yu:Title]</a> <font color="#999999">评论数:</font> <br> [/ItemTemplate] [/Yu:DocList] |
全球网民人数达12亿 中国第... 摘要:据新华社电 联合国互联网管理论... 针对中国市场 微软大规模调... 摘要:微软中国能够提供的互联网服务昨... 滕俊平:竞争关键在于谁能... 摘要:对于网站视频行业内部竞争日趋激... 百度悄悄地招兵买马 布局新... 摘要:自去年年底获得新闻牌照后,百度... 07年最不安全10款软件 MSN... 摘要:据国外媒体报道,安全厂商Bit9近... Google算法震惊网络 众多知... 摘要:本周在毫无预警的情况下,Google...
|
调用最新的6篇摘要文档,并且显示摘要 [Yu:DocList DocCount=6,CategoryId=89,DocType=Depict,Sort=DateTime,OrderBy=DESC,TitleLen=24,TitleAddStr=...,DepictLen=30,DepictAddStr=...] [ItemTemplate] <a href="[Yu:DocPath]" target="_blank">[Yu:Title]</a><br> <font color="#999999">摘要:[Yu:Depict]</font> <br> [/ItemTemplate] [/Yu:DocList] |
全球网民人数达12亿 中国第... 2007年11月14日 针对中国市场 微软大规模调... 2007年11月14日 阿里巴巴重拳推出“08版中... 2007年11月10日 西部互联网爆炸性发展 网民... 2007年11月09日 Google广告帝国版图扩张至... 2007年11月09日 百度悄悄地招兵买马 布局新... 2007年11月09日
|
调用推荐文档 [Yu:DocList DocCount=6,CategoryId=89,DocType=Recommend,Sort=DateTime,OrderBy=DESC,TitleLen=24,TitleAddStr=...] [ItemTemplate] <a href="[Yu:DocPath]" target="_blank">[Yu:Title]</a> <font color="#999999">2007年11月27日</font><br> [/ItemTemplate] [/Yu:DocList] |
[人物企业] 刘积仁:东软不放弃整体上市... [互联网] 全球网民人数达12亿 中国第... [互联网] 针对中国市场 微软大规模调... [信息化] 重审中国信息化 [互联网] 滕俊平:竞争关键在于谁能... [互联网] 中国互联网企业频叩国际资...
|
调用指定分类下的文档及所有子类的文档 [Yu:DocList DocCount=6,CategoryId=15,IsChildCategory=True,Sort=DateTime,OrderBy=DESC,TitleLen=24,TitleAddStr=...] [ItemTemplate] [<a href="[Yu:CategoryPath]"><font color="#999999">[Yu:CategoryTitle]</font></a>] <a href="[Yu:DocPath]" target="_blank">[Yu:Title]</a><br>
[/ItemTemplate] [/Yu:DocList] |
针对中国市场 微软大规模调整互联网业务 中国互联网企业频叩国际资本市场大门 阿里巴巴香港上市 有望全面转向无线互联网? 西部互联网爆炸性发展 网民突破2500万 谁曾主沉浮:Hao123记录互联网热点变迁 阿里市值超200亿 成中国互联网公司市值之最
|
调用包含关键字 "互联网" 的文档 [Yu:DocList DocCount=6,CategoryId=89,Keyword=互联网,Sort=DateTime,OrderBy=DESC] [ItemTemplate] <a href="[Yu:DocPath]" target="_blank">[Yu:Title]</a><br> [/ItemTemplate] [/Yu:DocList] |
|
|
调用属于某个专题下的相关文档 <table bgcolor="#cccccc" border=0 cellpadding="3" cellspacing="1"> <tr bgcolor="#eeeeee"><td>搜索引擎技术专题</td></tr> <tr bgcolor="#ffffff"><td> [Yu:DocList DocCount=6,SpecialId=1,Sort=DateTime,OrderBy=DESC] [ItemTemplate] <a href="[Yu:DocPath]">[Yu:Title]</a> <br> [/ItemTemplate] [/Yu:DocList] </td></tr></table> |
新西兰律师接棒互联网之父... 2007年11月05日 计算机病毒应急中心:木马下... 2007年11月05日 Google今日发布手机战略 撼... 2007年11月05日 07年最不安全10款软件 MSN... 2007年11月05日 AOL 3亿购广告提供商Quigo... 2007年11月05日
|
调用指定时间 "2007-11-5" 的文档 [Yu:DocList DocCount=6,CategoryId=89,DocDate=2007-11-5,Sort=DateTime,OrderBy=DESC,TitleLen=24,TitleAddStr=...] [ItemTemplate] <a href="[Yu:DocPath]" target="_blank">[Yu:Title]</a> <font color="#999999">2007年11月27日</font><br> [/ItemTemplate] [/Yu:DocList] |
新西兰律师接棒互联网之父... 2007年11月05日 计算机病毒应急中心:木马下... 2007年11月05日 Google今日发布手机战略 撼... 2007年11月05日 07年最不安全10款软件 MSN... 2007年11月05日 AOL 3亿购广告提供商Quigo... 2007年11月05日 巨人网络纽交所上市 市值5... 2007年11月03日 YouTube国内再次解封 维基... 2007年11月02日 思科1750万美元入股阿里巴... 2007年11月01日
|
调用指定时间段 "2007-11-1 到 2007-11-5" 的文档 [Yu:DocList DocCount=10,CategoryId=89,DocDate=2007-11-1>2007-11-5,Sort=DateTime,OrderBy=DESC,TitleLen=24,TitleAddStr=...] [ItemTemplate] <a href="[Yu:DocPath]" target="_blank">[Yu:Title]</a> <font color="#999999">2007年11月27日</font><br> [/ItemTemplate] [/Yu:DocList] |
新西兰律师接棒互联网之父... 2007年11月05日 计算机病毒应急中心:木马下... 2007年11月05日 Google今日发布手机战略 撼... 2007年11月05日 07年最不安全10款软件 MSN... 2007年11月05日 AOL 3亿购广告提供商Quigo... 2007年11月05日
|
调用当天的文档 [Yu:DocList DocCount=6,CategoryId=89,DocDate=Today,Sort=DateTime,OrderBy=DESC,TitleLen=24,TitleAddStr=...] [ItemTemplate] <a href="[Yu:DocPath]" target="_blank">[Yu:Title]</a> <font color="#999999">2007年11月27日</font><br> [/ItemTemplate] [/Yu:DocList] |
新西兰律师接棒互联网之父... 2007年11月05日 计算机病毒应急中心:木马下... 2007年11月05日 Google今日发布手机战略 撼... 2007年11月05日 07年最不安全10款软件 MSN... 2007年11月05日 AOL 3亿购广告提供商Quigo... 2007年11月05日 巨人网络纽交所上市 市值5... 2007年11月03日 YouTube国内再次解封 维基... 2007年11月02日 思科1750万美元入股阿里巴... 2007年11月01日 |
调用最近 7 天以来 的文档 [Yu:DocList DocCount=10,CategoryId=89,DocDate=Last7, Sort=DateTime,OrderBy=DESC,TitleLen=24,TitleAddStr=...] [ItemTemplate] <a href="[Yu:DocPath]" target="_blank">[Yu:Title]</a> <font color="#999999">2007年11月27日</font><br> [/ItemTemplate] [/Yu:DocList] |
全球网民人数达12亿 中国第... 2007年11月14日 针对中国市场 微软大规模调... 2007年11月14日 滕俊平:竞争关键在于谁能... 2007年11月10日
中国互联网企业频叩国际资... 2007年11月10日 非彩票机构网站30日内必须... 2007年11月10日 酷6原创视频库正式上线 百... 2007年11月10日
|
调用文档,每3篇文档后追加一个换行 [Yu:DocList DocCount=6,CategoryId=89,Sort=DateTime,OrderBy=DESC,TitleLen=24,TitleAddStr=...,Condition=3,Output=<br>] [ItemTemplate] <a href="[Yu:DocPath]" target="_blank">[Yu:Title]</a> <font color="#999999">2007年11月27日</font><br> [/ItemTemplate] [/Yu:DocList] |
|
|
调用文档多列显示 [Yu:DocList DocCount=6,CategoryId=89,Sort=DateTime,OrderBy=DESC,Cols=2,TitleLen=24,TitleAddStr=...] [ItemTemplate] <a href="[Yu:DocPath]" target="_blank">[Yu:Title]</a> [/ItemTemplate] [/Yu:DocList]
|
|
|
调用文档交替样式显示(样式自定义,此例只改变背景色) [Yu:DocList DocCount=6,CategoryId=89,Sort=DateTime,OrderBy=DESC,TitleLen=24,TitleAddStr=...] [HeaderTemplate] <table border="0" cellspacing="0" cellpadding="0"> [/HeaderTemplate] [ItemTemplate] <tr><td> <a href="[Yu:DocPath]" target="_blank">[Yu:Title]</a> [Yu:PicSign] </td></tr> [/ItemTemplate] [/HeaderTemplate] [AlterItemTemplate] <tr><td bgcolor="#eeeeee"> <a href="[Yu:DocPath]" target="_blank">[Yu:Title]</a> [Yu:PicSign] </td></tr> [/AlterItemTemplate] [FooterTemplate] </table> [/FooterTemplate] [/Yu:DocList]
|
| 图片文档调用效果 |
|
调用效果 |
调用代码 |
|
调用图片文档,显示图片、文档标题 <!-- 文档列表 --> [Yu:DocList DocCount=2,CategoryId=98,DocType=Picture,Sort=DateTime,OrderBy=DESC] [ItemTemplate] <table border="0" cellpadding="0" cellspacing="1" bgcolor="#cccccc"> <tr bgcolor="#ffffff"> <td align="center"> <img src="" border="0" style="border:3px solid #eeeeee"> </td> </tr> <tr bgcolor="#ffffff"> <td align="center"> <a href="[Yu:DocPath]" target="_blank">[Yu:Title]</a> </td> </tr> </table> [/ItemTemplate] [SeparatorTemplate] <br> [/SeparatorTemplate] [/Yu:DocList] <!-- 文档列表 结束--> |
|
|
调用图片文档多列显示 [Yu:DocList DocCount=4,CategoryId=98,DocType=Picture,Sort=DateTime,OrderBy=DESC,Cols=2] [ItemTemplate] <table border="0" cellpadding="0" cellspacing="1" bgcolor="#cccccc"> <tr bgcolor="#ffffff"> <td align="center"> <img src="" border="0" style="border:3px solid #eeeeee"> </td> </tr> <tr bgcolor="#ffffff"> <td align="center"> <a href="[Yu:DocPath]" target="_blank">[Yu:Title]</a> </td> </tr> </table> [/ItemTemplate] [/Yu:DocList] |
|
信息化如影随形,它在引发工业结构转变的同时,也潜入社会的各个层面,带来深刻变革,从企业到政府、从民主... |
| 重审中国信息化 |
|
《华尔街日报》的消息称,Google支持的手机将提供Google搜索引擎、Google地图、YouTube和Gmail等服务。这些... |
| Google手机最快2周内... |
|
昨日上午,由成都市政府、微软(中国)有限公司合作开办的蒲江大塘镇官塘社区信息服务中心正式揭幕。专程前... |
| 微软加大对农村信息... | |
调用图片文档,显示摘要 [Yu:DocList DocCount=3,CategoryId=15,DocType=Picture,Sort=DateTime,OrderBy=DESC,TitleLen=18,TitleAddStr=...,DepictLen=100,DepictAddStr=...] [ItemTemplate] <table width="300" border="0" cellpadding="0" cellspacing="1" bgcolor="#cccccc"> <tr bgcolor="#ffffff"> <td align="center"> <img src="" border="0" style="border:3px solid #eeeeee"> </td> <td rowspan="2">[Yu:Depict]</td> </tr> <tr bgcolor="#ffffff"> <td align="center"> <a href="[Yu:DocPath]" target="_blank">[Yu:Title]</a> </td> </tr> </table> [/ItemTemplate] [SeparatorTemplate] <br> [/SeparatorTemplate] [/Yu:DocList] |
|
|
滚动显示图片文档 [Yu:DocList DocCount=3,CategoryId=15,IsChildCategory=True,DocType=Picture,Sort=DateTime,OrderBy=DESC,TitleLen=18,TitleAddStr=...] [HeaderTemplate] <marquee onmouseover=stop(); onmouseout=start(); scrollAmount=1 scrollDelay=60 direction=up height=180 scrollleft="0" scrolltop="0"> [/HeaderTemplate] [ItemTemplate] <table border="0" cellpadding="0" cellspacing="1" bgcolor="#cccccc"> <tr bgcolor="#ffffff"> <td align="center"> <img src="" border="0" style="border:3px solid #eeeeee"> </td> </tr> <tr bgcolor="#ffffff"> <td align="center"> <a href="[Yu:DocPath]" target="_blank">[Yu:Title]</a> </td> </tr> </table>
[/ItemTemplate] [SeparatorTemplate] <br> [/SeparatorTemplate] [FooterTemplate] </marquee> [/FooterTemplate] [/Yu:DocList]
|
|
|
调用专题,显示专题图片、专题下的文档 <table width="300" border="0" cellpadding="0" cellspacing="1" bgcolor="#cccccc"> <tr bgcolor="#ffffff"> <td align="center"> [Yu:SpecialList SpecialCount=1,SpecialId=1,TitleLen=18,TitleAddStr=...] [ItemTemplate] <table border="0" cellpadding="0" cellspacing="0"> <tr> <td align="center"> <img src="" border="0" style="border:3px solid #eeeeee"> </td> </tr> <tr><td align="center"><a href="[Yu:SpecialPath]" target="_blank">[Yu:Title]</a></td></tr> </table> [/ItemTemplate] [/Yu:SpecialList] </td> <td> [Yu:DocList DocCount=6,SpecialId=1,Sort=DateTime,OrderBy=DESC,TitleLen=24,TitleAddStr=...] [ItemTemplate] <a href="[Yu:DocPath]" target="_blank">[Yu:Title]</a> [/ItemTemplate] [SeparatorTemplate] <br> [/SeparatorTemplate] [/Yu:DocList] </td> </tr> </table> |
|