模板:CardFeature
出自Meshal Lite
第14行: | 第14行: | ||
</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:模板]] | </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:毒尸鬼"的专属卡片. 这个参数默认为空, 为空时标示这是一张独立卡片. | :这个参数被用来标示这张卡片是否是某个页面的子页面(不会被收录在资料库中). 比如是"creature:毒尸鬼/尸毒"是"creature:毒尸鬼"的子页面, 那么在这里就填写"creature:毒尸鬼/尸毒". 尸毒就是"creature:毒尸鬼"的专属卡片. 这个参数默认为空, 为空时标示这是一张独立卡片. | ||
;name | ;name |