打开/关闭菜单
331
1.7K
131
11.8K
星露谷物语扩展百科
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:Infobox flower:修订间差异

来自星露谷物语扩展百科
Sizau留言 | 贡献
无编辑摘要
SummerFleur留言 | 贡献
无编辑摘要
 
(未显示2个用户的2个中间版本)
第2行: 第2行:
<table class="infoboxtable">
<table class="infoboxtable">
<tr class="infoboxtitle">
<tr class="infoboxtitle">
<td colspan="2" class="infoboxheader" data-category="{{{cat|{{Category|name|{{{name|}}}|id={{{id|}}}}}}}}" style="--category-color: {{{cat2|{{Category|color|{{{name|}}}|id={{{id|}}}}}}}}">{{{name|{{PAGENAME}}}}}</td>
<td colspan="2" class="infoboxheader" data-category="{{{cat|{{Category|name|{{{name|{{{eng|{{PAGENAME}}}}}}}}|id={{{id|}}}}}}}}" style="--category-color: {{{cat2|{{Category|color|{{{name|{{{eng|{{PAGENAME}}}}}}}}|id={{{id|}}}}}}}}">{{{name|{{PAGENAME}}}}}</td>
</tr>{{#if:{{{native|{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}}}}|<tr class="infoboxtitle"><td colspan="2" class="infoboxheader">{{{native|{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}}}}</td></tr>|}}
</tr>{{#if:{{{native|{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}}}}|<tr class="infoboxtitle"><td colspan="2" class="infoboxheader">{{{native|{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}}}}</td></tr>|}}
<tr>
<tr>
第60行: 第60行:
<td class="infoboxdetail">不可食用</td>
<td class="infoboxdetail">不可食用</td>
|#default =  
|#default =  
<td class="infoboxsection">[[能量]] / [[生命值]]</td>
<td class="infoboxsection">能量 / 生命值</td>
<td class="infoboxdetail">
<td class="infoboxdetail">
{{#switch:{{lc:{{{quality|}}}}}
{{#switch:{{lc:{{{quality|}}}}}
第76行: 第76行:
<tr>
<tr>
<td class="infoboxsection">基础售价</td>
<td class="infoboxsection">基础售价</td>
<td class="infoboxsection no-wrap">[[File:Tiller.png|24px|link=]] [[技能#耕种|农耕人]](×1.1)</td>
<td class="infoboxsection no-wrap">[[File:Tiller.png|24px|link=]] [[s:技能#耕种|农耕人]](×1.1)</td>
</tr>
</tr>
<tr>
<tr>
第103行: 第103行:
<td class="infoboxsection" style="width: 30%; text-align: left;">获取设备</td>
<td class="infoboxsection" style="width: 30%; text-align: left;">获取设备</td>
<td class="infoboxsection">基础售价</td>
<td class="infoboxsection">基础售价</td>
<td class="infoboxsection no-wrap">[[File:Artisan.png|24px|link=]] [[技能#耕种|工匠]](×1.4)</td>
<td class="infoboxsection no-wrap">[[File:Artisan.png|24px|link=]] [[s:技能#耕种|工匠]](×1.4)</td>
</tr>
</tr>
<tr> <!-- 蜂蜜 -->
<tr> <!-- 蜂蜜 -->
<td class="infoboxsection">[[File:Bee House Full.png|16px|link=]] [[蜂房]]</td>
<td class="infoboxsection">[[File:Bee House Full.png|16px|link=]] [[s:蜂房|蜂房]]</td>
<td>{{Qualityprice|Honey|{{{sellprice|}}}|dsv=false}}</td>
<td>{{Qualityprice|Honey|{{{sellprice|}}}|dsv=false}}</td>
<td>{{Qualityprice|Honey|{{{sellprice|}}}|pm=1.4|dsv=false}}</td>
<td>{{Qualityprice|Honey|{{{sellprice|}}}|pm=1.4|dsv=false}}</td>
</tr>
</tr>
{{#switch:{{lc:{{{eng|}}}}}
|sunflower=
<tr> <!-- 油 -->
<td class="infoboxsection">[[File:Oil Maker.png|16px|link=]] [[产油机]]</td>
<td>{{Qualityprice|Oil|100|dsv=false}}</td>
<td>{{Qualityprice|Oil|100|dsv=false}}</td>
</tr>}}
</table>
</table>
</td>
</td>

2026年1月28日 (三) 18:12的最新版本

[ 查看 | 编辑 | 历史 | 刷新 ]文档页面

简介

此模板({{Infobox flower}})是用于展示游戏中花类物品的信息框,其基本用法为:

{{Infobox flower
|name         = 中文名称
|eng          = 英文名称
|source       = 获取方式
|location     = 地点,仅限于通过采集获得的花
|seed         = 对应的种子,仅限于通过耕种获得的花
|growth       = 生长时间,仅限于通过耕种获得的花
|buff         = 增益效果(若有,没有则留空)
|buffduration = 增益时长(若有,没有则留空)
|season       = 生长季节
|xp           = 收获获得的经验值
|edibility    = 可食用性
|sellprice    = 基础售价
|quality      = 是否具有品质,若没有,值为 false
|tag          = Wiki 内处理不同花的识别标签
}}

Tag 的用法

Tag 主要用于区分该花的来源,与游戏数据无关,主要用于方便模板进行类别辨认,不区分大小写。

根据逻辑,目前的花分类大致可以分为以下两种:

  1. 通过耕种获得的花,例如玫瑰仙子,它们有对应的蜂蜜产物,Tag 值为 farmfarming
  2. 通过采集获得的花,例如甜豌豆,它们没有对应的蜂蜜产物,Tag 值为空

注意

  • 特殊产物(例如向日葵 → 油)在模板内进行特殊处理

另见

普通

特殊

[ 查看 | 编辑 | 历史 | 刷新 ]上述文档的内容来自模板:Infobox flower/doc