模板:CardItem/help
出自Meshal Lite
(以内容“<includeonly>category:模板</includeonly><noinclude>category:帮助</noinclude> {{block|使用| <!--在这里给出本模板支持的参数,如果参数本...”创建新页面) |
|||
第11行: | 第11行: | ||
|set= | |set= | ||
|add= {{{addon|}}} | |add= {{{addon|}}} | ||
− | |class= <item | weapon | | + | |class= <item | weapon | wrestle | blade | stike | whip | pole | shield | projectile | throwing | teleknesy | ammo | exoticweapon | naturalweapon | helmet | armor | boot | saddle | naturalarmour | exoticarmour | eardrop | necklace | ring | armband | glove | footwear | waistband | tailpiece | cape | costume | adornment | attachment | accessory | exoticaccessory | ingredient | tool | addon | document | currency | medicine | food | drink | sundry | loots | > |
|measure= <t | l | h | > | |measure= <t | l | h | > | ||
|magical= <y | > | |magical= <y | > | ||
第20行: | 第20行: | ||
|value= <{{currency|<number>|<gsc | fer | ... >}} | > | |value= <{{currency|<number>|<gsc | fer | ... >}} | > | ||
|content= | |content= | ||
+ | |mod={{mod|...}} | ||
|desc= | |desc= | ||
|descalign= <left | right | center> | |descalign= <left | right | center> | ||
第66行: | 第67行: | ||
*item:物品(默认) | *item:物品(默认) | ||
*weapon:武器 | *weapon:武器 | ||
+ | *wrestle:缠斗(武器的一种) | ||
+ | *blade:刀剑(武器的一种) | ||
+ | *strike:打击(武器的一种) | ||
+ | *whip:挥甩(武器的一种) | ||
+ | *pole:长柄(武器的一种) | ||
+ | *shield:盾牌(武器的一种) | ||
+ | *projectile:射击(武器的一种) | ||
+ | *throwing:投掷(武器的一种) | ||
+ | *teleknesy:隔空(武器的一种) | ||
*ammo:弹药(武器的一种) | *ammo:弹药(武器的一种) | ||
+ | *exoticweapon:异种武器(武器的一种) | ||
*naturalweapon:天生武器(武器的一种) | *naturalweapon:天生武器(武器的一种) | ||
− | |||
*helmet:头盔(防具的一种) | *helmet:头盔(防具的一种) | ||
*armor:护甲(防具的一种) | *armor:护甲(防具的一种) | ||
*boot:鞋靴(防具的一种) | *boot:鞋靴(防具的一种) | ||
+ | *saddle:鞍具(防具的一种) | ||
*naturalarmour:天生防具(防具的一种) | *naturalarmour:天生防具(防具的一种) | ||
*exoticarmour:异种防具(防具的一种) | *exoticarmour:异种防具(防具的一种) | ||
*accessory:饰品 | *accessory:饰品 | ||
+ | *eardrop:耳饰(饰品的一种) | ||
+ | *necklace:项链(饰品的一种) | ||
+ | *ring:指环(饰品的一种) | ||
+ | *armband:手环(饰品的一种) | ||
+ | *glove:手套(饰品的一种) | ||
+ | *footwear:足饰(饰品的一种) | ||
+ | *waistband:腰饰(饰品的一种) | ||
+ | *tailpiece:尾饰(饰品的一种) | ||
+ | *cape:披肩(饰品的一种) | ||
+ | *costume:服装(饰品的一种) | ||
+ | *adornment:妆饰(饰品的一种) | ||
+ | *attachment:配饰(饰品的一种) | ||
*exoticaccessory:异种饰品(饰品的一种) | *exoticaccessory:异种饰品(饰品的一种) | ||
− | * | + | *ingredient:材料 |
*tool:工具 | *tool:工具 | ||
*addon:附件 | *addon:附件 | ||
第97行: | 第120行: | ||
{{block|magical| | {{block|magical| | ||
魔法物品标记,它决定了卡片的颜色。如果设为<code>y</code>,就会根据<code>class</code>参数显示具体类型: | 魔法物品标记,它决定了卡片的颜色。如果设为<code>y</code>,就会根据<code>class</code>参数显示具体类型: | ||
− | * | + | *weapon、wrestle、blade、stike、whip、pole、shield、projectile、throwing、teleknesy、ammo、exoticweapon、naturalweapon:魔法武器 |
− | * | + | *helmet、armor、boot、saddle、exoticarmour:魔法防具 |
− | * | + | *accessory、eardrop、necklace、ring、armband、glove、footwear、waistband、tailpiece、cape、costume、adornment、attachment:魔法饰品 |
*默认为:“魔法物品” | *默认为:“魔法物品” | ||
}} | }} | ||
第115行: | 第138行: | ||
物品的自定义追加类型,会以超链接的方式显示在卡牌的右上角,多个类型用空格分隔。当参数<code>class</code>参数为<code>weapon</code>、<code>accessory</code>时,需要说明这个物品的具体武器或饰品类型。 | 物品的自定义追加类型,会以超链接的方式显示在卡牌的右上角,多个类型用空格分隔。当参数<code>class</code>参数为<code>weapon</code>、<code>accessory</code>时,需要说明这个物品的具体武器或饰品类型。 | ||
*参数<code><nowiki>class=weapon</nowiki></code>时,需注明:缠斗、刀剑、打击、挥甩、长柄、射击、投掷、隔空、异种武器等 | *参数<code><nowiki>class=weapon</nowiki></code>时,需注明:缠斗、刀剑、打击、挥甩、长柄、射击、投掷、隔空、异种武器等 | ||
− | |||
}} | }} | ||
第145行: | 第167行: | ||
}} | }} | ||
</source> | </source> | ||
+ | }} | ||
+ | |||
+ | {{block|mod| | ||
+ | 此处用以搭载<code>{{tpl|mod}}</code>模板,从而为本卡片设置数据影响。当调用本卡片时,这些数据影响将会产生作用。 | ||
+ | *详见<code>{{tpl|mod}}</code>模板。 | ||
}} | }} | ||
第154行: | 第181行: | ||
{{block|descalign| | {{block|descalign| | ||
用于控制参数desc中附加说明文本的对齐方式,可用参数: | 用于控制参数desc中附加说明文本的对齐方式,可用参数: | ||
− | * | + | *left:左对齐(默认) |
*center:水平居中 | *center:水平居中 | ||
− | * | + | *right:右对齐 |
}} | }} | ||
第162行: | 第189行: | ||
补充资料说明,这些资料只会在直接访问该卡片时才显示。当其他页面调用该卡片时,这些资料不会显示。 | 补充资料说明,这些资料只会在直接访问该卡片时才显示。当其他页面调用该卡片时,这些资料不会显示。 | ||
}} | }} | ||
+ | |||
+ | {{block|调用时使用<code><nowiki>{{#vardefine:callCardSimple|y}}</nowiki></code>显示简化卡牌样式| | ||
+ | 当在其他页面引用卡牌时,可以通过在页面中写入<code><nowiki>{{#vardefine:callCardSimple|y}}</nowiki></code>,从而使被引用的卡牌显示为简化样式。 | ||
+ | |info}} |