模板:Infobox flower:修订间差异
来自星露谷物语扩展百科
更多语言
更多操作
删除的内容 添加的内容
m 文本替换 - 替换“{{{English”为“{{{native” |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
<includeonly>< |
<includeonly><div class="infoboxborder"> |
||
<table class="infoboxtable"> |
|||
-->{{#vardefine:item_id|{{{id|{{ID|{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}}}}}}}}<!-- |
|||
<tr class="infoboxtitle"> |
|||
-->{{#vardefine:item_id|{{#var:item_id|{{ID|{{{name|{{PAGENAME}}}}}}}}}}}<!-- |
|||
<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> |
|||
--><div class="infoboxborder"> |
|||
| ⚫ | |||
<table class="infoboxtable infobox{{#vardefineecho:infobox_count|{{#expr:{{#var:infobox_count|0}}+1}}}}" style="max-width: 350px;"> |
|||
<tr> |
<tr> |
||
<td colspan="2" |
<td colspan="2">[[File:{{{eng|Blank icon}}}.png|link=]]</td> |
||
</tr> |
|||
{{#if:{{{native|{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}}}}| |
|||
<tr> |
|||
| ⚫ | |||
</tr>|}} |
|||
<tr> |
|||
<td colspan="2" style="padding-bottom: 5px; text-align: center;">[[File:{{{eng|Blank icon}}}.png|link=]]</td> |
|||
</tr> |
</tr> |
||
<tr> |
<tr> |
||
| 第76行: | 第69行: | ||
}}{{#if:{{{sellprice|}}} |<nowiki /> |
}}{{#if:{{{sellprice|}}} |<nowiki /> |
||
<tr> |
<tr> |
||
<td colspan="2" |
<td colspan="2" class="subtable"> |
||
<table |
<table> |
||
<tr> |
<tr> |
||
<td class="infoboxsection" colspan="2">售出价格</td> |
<td class="infoboxsection" colspan="2">售出价格</td> |
||
| 第102行: | 第95行: | ||
|farming|farm = |
|farming|farm = |
||
<tr> |
<tr> |
||
<td colspan="2" |
<td colspan="2" class="subtable"> |
||
<table |
<table> |
||
<tr> |
<tr> |
||
<td class="infoboxsection" colspan="3">制成品售出价格</td> |
<td class="infoboxsection" colspan="3">制成品售出价格</td> |
||
| 第127行: | 第120行: | ||
</td> |
</td> |
||
</tr>}} |
</tr>}} |
||
}}{{Infobox utils|id|name={{{name|}}}|eng={{{eng|}}}|id={{{id|}}}}} |
|||
}}{{#if:{{#var:item_id}}| |
|||
<tr> |
|||
<td colspan="2" class="infoboxsection">高级</td> |
|||
</tr> |
|||
<tr> |
|||
<td class="infoboxsection">物品编号</td> |
|||
<td class="infoboxdetail consolas" style="overflow-wrap: anywhere;>{{#var:item_id}}</td> |
|||
</tr> |
|||
}} |
|||
</table> |
</table> |
||
</div>{{InfoboxSEO |
</div>{{InfoboxSEO}}</includeonly><noinclude>{{Documentation}}</noinclude> |
||
2025年9月9日 (二) 21:34的版本
简介
此模板({{Infobox flower}})是用于展示游戏中花类物品的信息框,其基本用法为:
{{Infobox flower
|name = 中文名称
|eng = 英文名称
|source = 获取方式
|location = 地点,仅限于通过采集获得的花
|seed = 对应的种子,仅限于通过耕种获得的花
|growth = 生长时间,仅限于通过耕种获得的花
|buff = 增益效果(若有,没有则留空)
|buffduration = 增益时长(若有,没有则留空)
|season = 生长季节
|xp = 收获获得的经验值
|edibility = 可食用性
|sellprice = 基础售价
|quality = 是否具有品质,若没有,值为 false
|tag = Wiki 内处理不同花的识别标签
}}
Tag 的用法
Tag 主要用于区分该花的来源,与游戏数据无关,主要用于方便模板进行类别辨认,不区分大小写。
根据逻辑,目前的花分类大致可以分为以下两种:
- 通过耕种获得的花,例如玫瑰仙子,它们有对应的蜂蜜产物,Tag 值为
farm或farming - 通过采集获得的花,例如甜豌豆,它们没有对应的蜂蜜产物,Tag 值为空
注意
- 特殊产物(例如向日葵 → 油)在模板内进行特殊处理
另见
普通
{{Infobox animal}}{{Infobox animal prod}}{{Infobox artifact}}{{Infobox artisan}}{{Infobox building}}{{Infobox cooking}}{{Infobox craft}}{{Infobox festival}}{{Infobox fish}}{{Infobox flower}}{{Infobox forage}}{{Infobox fruit}}{{Infobox item}}{{Infobox location}}{{Infobox monster}}{{Infobox resource}}{{Infobox seed}}{{Infobox tree}}{{Infobox vegetable}}{{Infobox villager}}{{Infobox weapon}}
特殊
{{Infobox utils}}{{InfoboxSEO}}{{Tabs}}
[ 查看 | 编辑 | 历史 | 刷新 ]上述文档的内容来自模板:Infobox flower/doc。