个人工具

模板:CardFeature

出自Meshal Lite

跳转到: 导航, 搜索
第12行: 第12行:
 
<!--附文-->{{#ifeq:{{{desc|}}}|||<div class="cardDesc" style="text-align:{{{descalign|right}}}">{{{desc|}}}</div>}}
 
<!--附文-->{{#ifeq:{{{desc|}}}|||<div class="cardDesc" style="text-align:{{{descalign|right}}}">{{{desc|}}}</div>}}
 
</div>
 
</div>
</div>{{#ifeq: {{FULLPAGENAME}}|{{ucfirst: Feature:{{{name|某个特征}}}}}|{{#replaceset:{{{type|缺少类型信息}}}|/(\S+)/i=[[category:\1]]|}}|}}{{#ifeq: {{FULLPAGENAME}}|{{ucfirst: Feature:{{{name|某个特征}}}}}|{{#replaceset:{{{subtype|}}}|/(\S+)/i=[[category:\1]]|}}|}}</includeonly><noinclude>[[category:模板]]
+
</div>{{#ifeq: {{{fullpagename|}}}||{{#ifeq: {{FULLPAGENAME}}|{{ucfirst: Feature:{{{name|某个特征}}}}}|{{#replaceset:{{{type|缺少类型信息}}}|/(\S+)/i=[[category:\1]]|}}|}}{{#ifeq: {{FULLPAGENAME}}|{{ucfirst: Feature:{{{name|某个特征}}}}}|{{#replaceset:{{{subtype|}}}|/(\S+)/i=[[category:\1]]|}}|}}|}}</includeonly><noinclude>[[category:模板]]
 
== 参数 ==
 
== 参数 ==
 +
:fullpagename
 +
:这个参数被用来标示这张卡片是否是某个页面的子页面(不会被收录在资料库中). 比如是"creature:毒尸鬼/尸毒"是"creature:毒尸鬼"的子页面, 那么在这里就填写"creature:毒尸鬼/尸毒". 尸毒就是"creature:毒尸鬼"的专属卡片. 这个参数默认为空, 为空时标示这是一张独立卡片.
 
;name
 
;name
 
:特征名称
 
:特征名称

在2015年5月10日 (日) 10:47所做的修订版本