个人工具

模板:CardAbility

出自Meshal Lite

跳转到: 导航, 搜索
第63行: 第63行:
 
<!--附文-->{{#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|}}}||{{#ifeq: {{FULLPAGENAME}}|{{ucfirst: Ability:{{{name|某个能力}}}}}|{{#replaceset:{{{type|缺少类型信息}}}|/(\S+)/i=[[category:\1]]|}}|}}{{#ifeq: {{FULLPAGENAME}}|{{ucfirst: Ability:{{{name|某个能力}}}}}|{{#replaceset:{{{subtype|}}}|/(\S+)/i=[[category:\1]]|}}|}}{{#ifeq: {{FULLPAGENAME}}|{{ucfirst: Ability:{{{name|某个能力}}}}}|[[category:{{#var:attrtitle}}]]{{#ifeq:{{#var:ranktitle}}|||[[category:{{#var:ranktitle}}]]}}|}}{{#ifeq: {{#var: classtype}}|||[[category:{{#var: classtype}}]]}}|}}</includeonly><noinclude>[[category:模板]]
+
</div>{{#ifeq: {{{fullpagename|}}}||{{#ifeq: {{FULLPAGENAME}}|{{ucfirst: Ability:{{{name|某个能力}}}}}|{{#replaceset:{{{type|缺少类型信息}}}|/(\S+)/i=[[category:\1]]|}}{{#ifeq: {{{action|}}}|pa|[[category:被动]]|[[category:主动]]}}{{#replaceset:{{{subtype|}}}|/(\S+)/i=[[category:\1]]|}}[[category:{{#var:attrtitle}}]]{{#ifeq:{{#var:ranktitle}}|||[[category:{{#var:ranktitle}}]]}}{{#ifeq: {{#var: classtype}}|||[[category:{{#var: classtype}}]]}}|}}}}</includeonly><noinclude>[[category:模板]]
 
== 参数 ==
 
== 参数 ==
 
;fullpagename
 
;fullpagename
:这个参数被用来标示这张卡片是否是某个页面的子页面(不会被收录在资料库中). 比如是"creature:毒尸鬼/尸毒"是"creature:毒尸鬼"的子页面, 那么在这里就填写"creature:毒尸鬼/尸毒". 尸毒就是"creature:毒尸鬼"的专属卡片. 这个参数默认为空, 为空时标示这是一张独立卡片.
+
:这个参数被用来标示这张卡片是否是某个页面的子页面(不会被收录在资料库中). 比如是"creature:毒尸鬼/尸毒"是"creature:毒尸鬼"的子页面, 那么在这里就填写"creature:毒尸鬼/尸毒". 尸毒就是"creature:毒尸鬼"的专属卡片. 这个参数默认为空, 为空时标示这是一张独立卡片(将被收录在资料库中).
 
;name
 
;name
 
:能力名称
 
:能力名称

在2015年5月15日 (五) 14:55所做的修订版本