模板:Infobox seed:修订间差异
来自星露谷物语扩展百科
更多语言
更多操作
Margotbean(留言 | 贡献) add parameter for night market sell day |
SummerFleur(留言 | 贡献) 无编辑摘要 |
||
| (未显示5个用户的63个中间版本) | |||
| 第1行: | 第1行: | ||
<includeonly><div | <includeonly><div class="infoboxborder"> | ||
<table class="infoboxtable"> | |||
<tr class="infoboxtitle"> | |||
| | <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> | |||
<td colspan="2">[[File:{{{eng|Blank icon}}}.png|link=]]</td> | |||
</tr> | |||
| | <tr> | ||
<td colspan="2" class="infoboxdetail">{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{{name|{{PAGENAME}}}}}}}}}</td> | |||
</tr> | |||
<tr> | |||
| | <td colspan="2" class="infoboxsection">信息</td> | ||
</tr> | |||
{{#if:{{{source|}}}|<nowiki/> | |||
<tr> | |||
<td class="infoboxsection">来源</td> | |||
<td class="infoboxdetail">{{{source|}}}</td> | |||
</tr> | |||
}}{{#if:{{{crop|}}}|<nowiki/> | |||
<tr> | |||
<td class="infoboxsection">作物</td> | |||
<td class="infoboxdetail">{{{crop|}}}</td> | |||
</tr> | |||
}}{{#if:{{{growth|}}}|<nowiki/> | |||
<tr> | |||
<td class="infoboxsection">成熟需</td> | |||
<td class="infoboxdetail">{{{growth|}}}</td> | |||
</tr> | |||
}}{{#if:{{{season|}}}|<nowiki/> | |||
<tr> | |||
}}}} | <td class="infoboxsection">季节</td> | ||
<td class="infoboxdetail">{{#iferror: {{Season|{{{season}}}}} | {{{season|}}} | {{Season|{{{season}}}}} }}</td> | |||
| | </tr> | ||
}}{{#if:{{{xp|}}}|<nowiki/> | |||
<tr> | |||
| | <td class="infoboxsection">经验值</td> | ||
| | <td class="infoboxdetail">{{{xp|}}}</td> | ||
</tr> | |||
}}{{#switch:{{lc:{{{quality|}}}}} | |||
|true = | |||
<td class="infoboxsection">售出价格</td> | |||
<td>{{Qualityprice|{{{eng|Blank icon}}}|{{{sellprice|}}}|dsv=false}}</td> | |||
|#default = | |||
<td class="infoboxsection">售出价格</td> | |||
<td class="infoboxdetail">{{Price|{{{sellprice}}}}}</td>}} | |||
<tr> | |||
<td colspan="2" class="infoboxsection">购买价格</td> | |||
</tr> | |||
<tr> | |||
<td class="infoboxsection no-wrap" style="padding-left: 5px;">[[File:Pierre Icon.png|24px|link=]] [[s:皮埃尔的杂货店|杂货店]]</td> | |||
<td class="infoboxdetail">{{#if:{{{gPrice|}}}|{{{gPrice|不出售}}}|不出售}}</td> | |||
</tr> | |||
<tr> | |||
<td class="infoboxsection no-wrap" style="padding-left: 5px;">[[File:Morris Icon.png|24px|link=]] [[Joja超市]]</td> | |||
<td class="infoboxdetail">{{#if:{{{jPrice|}}}|{{{jPrice|不出售}}}|不出售}}</td> | |||
</tr> | |||
{{#if:{{{oPrice|}}}|<nowiki /> | |||
<tr> | |||
{{ | <td class="infoboxsection no-wrap" style="padding-left: 5px;">[[File:Sandy Icon.png|24px|link=]] [[绿洲|绿洲]]</td> | ||
{{ | <td class="infoboxdetail">{{{oPrice|}}}</td> | ||
</tr> | |||
}}{{#if:{{{tPrice|}}}|<nowiki /> | |||
<tr> | |||
<td class="infoboxsection no-wrap" style="padding-left: 5px;">[[File:Traveling Cart Icon.png|24px|link=]] [[旅行货车]]</td> | |||
{{ | <td class="infoboxdetail">{{{tPrice|}}}</td> | ||
</tr> | |||
}}{{#if:{{{dPrice|}}}|<nowiki /> | |||
{{ | <tr> | ||
<td class="infoboxsection no-wrap" style="padding-left: 5px;">[[File:Desert Trader Icon.png|22px|link=]] [[s:沙漠商人|沙漠商人]]</td> | |||
<td class="infoboxdetail">{{{dPrice|}}}</td> | |||
</tr> | |||
{{ | }}{{#if:{{{iPrice|}}}|<nowiki /> | ||
<tr> | |||
<td class="infoboxsection no-wrap" style="padding-left: 5px;">[[File:Island Trader Icon.png|22px|link=]] [[姜岛商人]]</td> | |||
<td class="infoboxdetail">{{{iPrice|}}}</td> | |||
</tr> | |||
}}{{#if:{{{raccoon|}}}|<nowiki /> | |||
}} | <tr> | ||
<noinclude>{{ | <td class="infoboxsection no-wrap" style="padding-left: 5px;">[[File:Raccoon Icon.png|24px|link=]] [[大树桩(地点)#浣熊妻子的商店|浣熊]]</td> | ||
<td class="infoboxdetail">{{{raccoon|}}}</td> | |||
</tr> | |||
}}{{#if:{{{nmday|}}}|<nowiki /> | |||
<tr> | |||
<td class="infoboxsection no-wrap" style="padding-left: 5px;">[[夜市]]</td> | |||
<td class="infoboxdetail">{{{gPrice|}}}(冬季{{{nmday|}}}日)</td> | |||
</tr> | |||
}}{{#if:{{{otherprice|}}}|<nowiki /> | |||
<tr> | |||
<td class="infoboxsection no-wrap" style="padding-left: 5px;">其他</td> | |||
<td class="infoboxdetail">{{{otherprice|}}}</td> | |||
</tr> | |||
}}{{#switch:{{lc:{{{source|}}}}} | |||
|crafting |打造 |[[打造]] = | |||
<tr> | |||
<td colspan="2" class="infoboxsection">打造</td> | |||
</tr> | |||
<tr> | |||
<td class="infoboxsection">配方来源</td> | |||
<td class="infoboxdetail">{{{recipe|}}}</td> | |||
</tr> | |||
<tr> | |||
<td class="infoboxsection">所需原料</td> | |||
<td class="infoboxdetail">{{{ingredients|}}}</td> | |||
</tr> | |||
{{#if:{{{produces|}}} |<nowiki /> | |||
<tr> | |||
<td class="infoboxsection">产出</td> | |||
<td class="infoboxdetail">每次打造生产 {{{produces|}}} 份{{{name|}}}</td> | |||
</tr>}} | |||
}}{{Infobox utils|id|name={{{name|}}}|eng={{{eng|}}}|id={{{id|}}}}} | |||
</table> | |||
</div>{{Mainonly|[[Category:种子]]}}{{InfoboxSEO}}</includeonly><noinclude>{{Documentation}}</noinclude> | |||
2026年1月28日 (三) 20:25的最新版本
简介
此模板({{Infobox seed}})是用于展示游戏中各种种子的信息框,其基本用法为:
{{Infobox seed
|name = 中文名称
|eng = 英文名称
|crop = 生长出的作物
|growth = 生长时间
|season = 生长季节
|xp = 收获获得的经验值
|sellprice = 基础售价
|gPrice = 皮埃尔杂货店的出售价格
|jPrice = Joja 超市的出售价格
|oPrice = 绿洲商店的出售价格
|tPrice = 猪车的出售价格
|iPrice = 姜岛商店的出售价格
|nmday = 夜市魔法商船的出售日期
|raccoon = 浣熊商店的出售价格
|otherprice = 其他地方的出售价格
|artisan = 是否可制成工匠物品,仅适用于向日葵种子和咖啡豆
|source = 其他来源,一般是打造
|recipe = 配方来源
|ingredients = 制作原料
|produces = 每次打造获得的数量,若只获得 1 个则留空
|displayname = 不会被本模板引用,但是被其它模板使用,详见下文介绍
}}
displayname 参数的使用
目前 displayname 仅在模板 {{CraftRow}} 中使用,代替中文名称显示,以确保其与游戏内打造配方名称一致。
此处以夏季种子为例:夏季种子内填写了 displayname = 野生种子(夏季),效果如下所示:
另见
普通
{{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 seed/doc。