个人工具

模板:LibraryFeature

出自Meshal Lite

(修订版本间的差异)
跳转到: 导航, 搜索
第2行: 第2行:
 
{{tab|0|width=100%}}
 
{{tab|0|width=100%}}
 
|width=100% bgcolor=#FEDBF4 style="border: 1px #aaa solid; padding: 0.2em;"|
 
|width=100% bgcolor=#FEDBF4 style="border: 1px #aaa solid; padding: 0.2em;"|
 +
{{#ifeq:{{{subpage|false}}}|true|
 
<DPL>
 
<DPL>
 
namespace=Feature
 
namespace=Feature
第7行: 第8行:
 
mode=userformat
 
mode=userformat
 
resultsheader={{img|ico_feature.gif}}已有%PAGES%个特征
 
resultsheader={{img|ico_feature.gif}}已有%PAGES%个特征
includesubpages={{{subpage|false}}}
+
includesubpages=true
</DPL>
+
</DPL>|
 +
<DPL>
 +
namespace=Feature
 +
category={{{1|}}}
 +
mode=userformat
 +
resultsheader={{img|ico_feature.gif}}已有%PAGES%个特征
 +
includesubpages=false
 +
</DPL>}}
 
|-
 
|-
 
|valign=top|<!-- 特征列表 -->
 
|valign=top|<!-- 特征列表 -->

在2015年11月18日 (三) 04:40所做的修订版本

说明

这个模板用来生成资料库中的特征列表, 并可以通过参数来控制是否显示特定世界设定和版本下的资料

参数

1
参数为空时, 显示所有资料.
可以填写如"世界设定-核心", 来局限显示属于世界设定-核心类别下的资料条目. 多类型查询则使用"&"来分割, 如"世界设定-核心&v5"
subpage
控制是否包含子页面, 常用于归档页面中用于显示旧版资料.
参数可填写true或false; true表示包含子页面, false表示不包含. 默认为false


范例

{{libraryFeature|世界设定-核心}}