模板:Infobox fish:修订间差异
来自星露谷物语扩展百科
更多语言
更多操作
Margotbean(留言 | 贡献) non-italic description |
SummerFleur(留言 | 贡献) 无编辑摘要 |
||
| (未显示9个用户的105个中间版本) | |||
| 第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|center|link=]]</td> | |||
| | </tr> | ||
| | <tr> | ||
<td colspan="2" class="infoboxdetail">{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}}</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" class="infoboxsection">信息</td> | |||
</tr> | |||
{{#if:{{{source|}}}| | |||
<tr> | |||
<td class="infoboxsection">来源</td> | |||
<td class="infoboxdetail">{{{source|}}}</td> | |||
</tr> | |||
}}{{#if:{{{location|}}}| | |||
<tr> | |||
<td class="infoboxsection">位置</td> | |||
<td class="infoboxdetail">{{{location|}}}</td> | |||
</tr> | |||
}}{{#if:{{{season|}}}| | |||
<tr> | |||
<td class="infoboxsection">季节</td> | |||
<td class="infoboxdetail">{{#iferror: {{Season|{{{season}}}}} | {{{season|}}} | {{Season|{{{season}}}}} }}</td> | |||
</tr> | |||
}}{{#if:{{{time|}}}| | |||
<tr> | |||
<td class="infoboxsection">时间</td> | |||
<td class="infoboxdetail">{{#switch:{{lc:{{{time|}}}}} | |||
|随时|任意时间|任何|任意|any=全天 | |||
|#default={{{time|}}} | |||
}}</td> | |||
</tr> | |||
}}{{#if:{{{weather|}}}| | |||
<tr> | |||
<td class="infoboxsection">天气</td> | |||
<td class="infoboxdetail">{{#iferror: {{Weather inline|{{{weather|}}}}} | {{{weather|}}} | {{Weather inline|{{{weather|}}}}} }}</td> | |||
</tr> | |||
}}{{#if:{{{difficulty|}}}| | |||
<tr> | |||
<td class="infoboxsection">难度</td> | |||
<td class="infoboxdetail">{{{difficulty|}}}</td> | |||
</tr> | |||
}}{{#if:{{{behavior|}}}| | |||
<tr> | |||
<td class="infoboxsection">运动模式</td> | |||
<td class="infoboxdetail">{{#switch:{{lc:{{{behavior|}}}}} | |||
|dart |猛冲型 = [[鱼#运动模式|猛冲型]] | |||
|floater |漂浮型 = [[鱼#运动模式|漂浮型]] | |||
|mixed |混合型 = [[鱼#运动模式|混合型]] | |||
|sinker |下坠型 = [[鱼#运动模式|下坠型]] | |||
{| | |smooth |平滑型 = [[鱼#运动模式|平滑型]] | ||
}}</td> | |||
</tr> | |||
| | }}{{#if:{{{fl|}}}| | ||
<tr> | |||
<td class="infoboxsection no-wrap">钓鱼技能等级要求</td> | |||
<td class="infoboxdetail">{{{fl|}}}</td> | |||
</tr> | |||
| | }}{{#if:{{{size|}}}| | ||
<tr> | |||
<td class="infoboxsection">长度(厘米)</td> | |||
< | <td class="infoboxdetail">{{#if:{{#pos:{{{size|}}}|-}} | ||
|{{#expr:{{#explode:{{{size|}}}|-|0}}*2.54 round 0}}~{{#expr:{{#explode:{{{size|}}}|-|-1}}*2.54 round 0}} | |||
|{{#expr:{{{size|}}}*2.54 round 0}} }}</td> | |||
</tr> | |||
}}{{#if:{{{difficulty|}}}| | |||
<tr> | |||
<td class="infoboxsection no-wrap">钓鱼经验值</td> | |||
<td class="infoboxdetail">{{#switch:{{lc:{{{eng|}}}}} | |||
|crimsonfish|angler|legend|glacierfish|mutant carp = {{#expr:5*(floor((0+1)*3+{{{difficulty|}}}/3))}} [[File:Silver Quality.png|14px|link=]] {{#expr:5*(floor((1+1)*3+{{{difficulty|}}}/3))}} [[File:Gold Quality.png|14px|link=]] {{#expr:5*(floor((2+1)*3+{{{difficulty|}}}/3))}} [[File:Iridium Quality.png|14px|link=]] {{#expr:5*floor((4+1)*3+{{{difficulty|}}}/3)}} | |||
|#default={{#expr:floor((0+1)*3+{{{difficulty|}}}/3)}} [[File:Silver Quality.png|14px|link=]] {{#expr:floor((1+1)*3+{{{difficulty|}}}/3)}} [[File:Gold Quality.png|14px|link=]] {{#expr:floor((2+1)*3+{{{difficulty|}}}/3)}} [[File:Iridium Quality.png|14px|link=]] {{#expr:floor((4+1)*3+{{{difficulty|}}}/3)}} }}</td> | |||
</tr> | |||
}}{{#if:{{{xp|}}}| | |||
<tr> | |||
<td class="infoboxsection">经验值</td> | |||
<td class="infoboxdetail">{{#ifexpr: {{#len:{{{xp|}}}}} > 3| {{{xp|}}} | {{Xp|{{{xp|}}}|fish}}}}</td> | |||
</tr> | |||
}}{{#if:{{{edibility|}}}| | |||
<tr> | |||
{{#switch:{{lc:{{{edibility|}}}}} | |||
| -300 | ''inedible'' | inedible | 不可食用 | ''不可食用'' = | |||
<td class="infoboxsection">能量</td> | |||
<td class="infoboxdetail">不可食用</td> | |||
|#default = | |||
<td class="infoboxsection">能量 / 生命值</td> | |||
<td class="infoboxdetail">{{EdibilityGrid|{{{eng|}}}|{{{edibility|}}}|dsv=false}}</td> | |||
}} | |||
</tr> | |||
}}{{#ifeq:{{{professions|}}} | false | | |||
<tr> | |||
<td class="infoboxsection">售出价格</td> | |||
<td class="infoboxdetail">{{#switch: {{lc:{{{quality|}}}}} | |||
|normal|false = {{Price|{{{price|{{{sellprice|0}}}}}}}} | |||
|#default = {{Qualityprice|{{{eng|Blank icon}}}|{{{price|{{{sellprice|0}}}}}}|dsv=false}} | |||
}}</td> | |||
</tr> | |||
|<!-- professions != false --> | |||
<tr> | |||
<td colspan="2" class="subtable"> | |||
<table> | |||
<tr> | |||
<td class="infoboxsection" colspan="3">售出价格</td> | |||
</tr> | |||
<tr> | |||
<td class="infoboxsection">基础售价</td> | |||
<td class="infoboxsection">[[File:Fisher.png|24px|link=]] [[s:技能#钓鱼|<span style="color: white;">渔夫</span>]](×1.25)</td> | |||
<td class="infoboxsection">[[File:Angler Icon.png|24px|link=]] [[s:技能#钓鱼|<span style="color: white;">垂钓者</span>]](×1.5)</td> | |||
</tr> | |||
<tr> | |||
{{#switch: {{lc:{{{quality|}}}}} | |||
|normal|false = | |||
<td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|{{{sellprice|0}}}}}}|quality=normal|dsv=false}}</td> | |||
<td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|{{{sellprice|0}}}}}}|quality=normal|pm=1.25|dsv=false}}</td> | |||
<td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|{{{sellprice|0}}}}}}|quality=normal|pm=1.5|dsv=false}}</td> | |||
|normal,silver|0,1= | |||
<td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|{{{sellprice|0}}}}}}|hide=gold,iridium|dsv=false}}</td> | |||
<td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|{{{sellprice|0}}}}}}|hide=gold,iridium|pm=1.25|dsv=false}}</td> | |||
<td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|{{{sellprice|0}}}}}}|hide=gold,iridium|pm=1.5|dsv=false}}</td> | |||
|#default = {{#switch:{{lc:{{NAMESPACE}}}} | template = |#default= | |||
<td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|{{{sellprice|0}}}}}}|dsv=false}}</td> | |||
<td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|{{{sellprice|0}}}}}}|pm=1.25|dsv=false}}</td> | |||
<td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|{{{sellprice|0}}}}}}|pm=1.5|dsv=false}}</td> | |||
}} }} | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
}} | |||
<tr> | |||
<td colspan="2" class="subtable"> | |||
<table class="mw-collapsible mw-collapsed"> | |||
<tr> | |||
<td class="infoboxsection" colspan="3"><span style="float: left; width: 2.78em; text-align: left;"> </span>熏鱼售出价格</td> | |||
</tr> | |||
<tr> | |||
<td class="infoboxsection">基础售价(×2)</td> | |||
<td class="infoboxsection">[[File:Fisher.png|24px|link=]] [[s:技能#钓鱼|<span style="color: white;">渔夫</span>]](×2.5)</td> | |||
<td class="infoboxsection">[[File:Angler Icon.png|24px|link=]] [[s:技能#钓鱼|<span style="color: white;">垂钓者</span>]](×3)</td> | |||
</tr> | |||
<tr> | |||
{{#switch: {{lc:{{{quality|}}}}} | |||
|normal|false = | |||
<td>{{Qualityprice|Smoked {{{eng|Fish}}}|{{{price|{{{sellprice|0}}}}}}|quality=normal|dsv=false}}</td> | |||
<td>{{Qualityprice|Smoked {{{eng|Fish}}}|{{{price|{{{sellprice|0}}}}}}|quality=normal|pm=1.25|dsv=false}}</td> | |||
<td>{{Qualityprice|Smoked {{{eng|Fish}}}|{{{price|{{{sellprice|0}}}}}}|quality=normal|pm=1.5|dsv=false}}</td> | |||
|normal,silver|0,1= | |||
<td>{{Qualityprice|Smoked {{{eng|Fish}}}|{{{price|{{{sellprice|0}}}}}}|hide=gold,iridium|dsv=false}}</td> | |||
<td>{{Qualityprice|Smoked {{{eng|Fish}}}|{{{price|{{{sellprice|0}}}}}}|hide=gold,iridium|pm=1.25|dsv=false}}</td> | |||
<td>{{Qualityprice|Smoked {{{eng|Fish}}}|{{{price|{{{sellprice|0}}}}}}|hide=gold,iridium|pm=1.5|dsv=false}}</td> | |||
|#default = {{#switch:{{lc:{{NAMESPACE}}}} | template = |#default= | |||
<td>{{Qualityprice|Smoked {{{eng|Fish}}}|{{{price|{{{sellprice|0}}}}}}|dsv=false}}</td> | |||
<td>{{Qualityprice|Smoked {{{eng|Fish}}}|{{{price|{{{sellprice|0}}}}}}|pm=1.25|dsv=false}}</td> | |||
<td>{{Qualityprice|Smoked {{{eng|Fish}}}|{{{price|{{{sellprice|0}}}}}}|pm=1.5|dsv=false}}</td> | |||
}} }} | |||
</tr> | |||
<tr> | |||
<td class="infoboxsection">[[File:Artisan.png|24px|link=]] [[s:技能#耕种|工匠]](×2.8)</td> | |||
<td class="infoboxsection">[[File:Fisher.png|24px|link=]] + [[File:Artisan.png|24px|link=]](×3.5)</td> | |||
<td class="infoboxsection">[[File:Angler Icon.png|24px|link=]] + [[File:Artisan.png|24px|link=]](×4.2)</td> | |||
</tr> | |||
<tr> | |||
{{#switch: {{lc:{{{quality|}}}}} | |||
|normal|false = | |||
<td>{{Qualityprice|Smoked {{{eng|Fish}}}|{{{price|{{{sellprice|0}}}}}}|quality=normal|pm=1.4|dsv=false}}</td> | |||
<td>{{Qualityprice|Smoked {{{eng|Fish}}}|{{{price|{{{sellprice|0}}}}}}|quality=normal|pm=1.75|dsv=false}}</td> | |||
<td>{{Qualityprice|Smoked {{{eng|Fish}}}|{{{price|{{{sellprice|0}}}}}}|quality=normal|pm=2.1|dsv=false}}</td> | |||
|normal,silver|0,1= | |||
<td>{{Qualityprice|Smoked {{{eng|Fish}}}|{{{price|{{{sellprice|0}}}}}}|hide=gold,iridium|pm=1.4|dsv=false}}</td> | |||
<td>{{Qualityprice|Smoked {{{eng|Fish}}}|{{{price|{{{sellprice|0}}}}}}|hide=gold,iridium|pm=1.75|dsv=false}}</td> | |||
<td>{{Qualityprice|Smoked {{{eng|Fish}}}|{{{price|{{{sellprice|0}}}}}}|hide=gold,iridium|pm=2.1|dsv=false}}</td> | |||
|#default = {{#switch:{{lc:{{NAMESPACE}}}} | template = |#default= | |||
<td>{{Qualityprice|Smoked {{{eng|Fish}}}|{{{price|{{{sellprice|0}}}}}}|pm=1.4|dsv=false}}</td> | |||
<td>{{Qualityprice|Smoked {{{eng|Fish}}}|{{{price|{{{sellprice|0}}}}}}|pm=1.75|dsv=false}}</td> | |||
<td>{{Qualityprice|Smoked {{{eng|Fish}}}|{{{price|{{{sellprice|0}}}}}}|pm=2.1|dsv=false}}</td> | |||
}} }} | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
{{#if:{{{color|{{{roe|}}}}}}| | |||
<tr> | |||
<td colspan="2" class="subtable"> | |||
<table> | |||
<tr> | |||
<td class="infoboxsection" colspan="3">制成品基础售价</td> | |||
</tr> | |||
<tr> | |||
<td class="infoboxsection">鱼籽</td> | |||
<td class="infoboxsection">{{#ifeq:{{{eng|}}}|Sturgeon|鱼籽酱|腌鱼籽}}</td> | |||
<td class="infoboxsection no-wrap" style="padding: 2px 0 0 6px;">[[File:Artisan.png|24px|link=]] {{#ifeq:{{{eng|}}}|Sturgeon|鱼籽酱|腌鱼籽}}(+40%)</td> | |||
</tr> | |||
<tr> | |||
<td style="vertical-align: top;">{{Qualityprice|{{{color|{{{roe|}}}}}} Roe|{{{price|{{{sellprice|0}}}}}}|quality=normal|dsv=false}}</td> | |||
<td style="vertical-align: top;">{{#switch:{{{eng|}}} | |||
|Sturgeon = {{Qualityprice|Caviar|500|quality=normal|dsv=false}} | |||
|#default = {{Qualityprice|{{{color|{{{roe|}}}}}} Aged Roe|{{{price|{{{sellprice|0}}}}}}|quality=normal|dsv=false}} }}</td> | |||
<td style="vertical-align: top;">{{#switch:{{{eng|}}} | |||
|Sturgeon = {{Qualityprice|Caviar|500|quality=normal|pm=1.4|dsv=false}} | |||
|#default = {{Qualityprice|{{{color|{{{roe|}}}}}} Aged Roe|{{{price|{{{sellprice|0}}}}}}|quality=normal|pm=1.4|dsv=false}} }}</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
}}{{Infobox utils|id|name={{{name|}}}|eng={{{eng|}}}|id={{{id|}}}}} | |||
</table> | |||
</div>{{InfoboxSEO}}</includeonly><noinclude>{{Documentation}}{{Clear}} | |||
==示例== | |||
{{Infobox fish | |||
|name = 大嘴鲈鱼 | |||
|eng = Largemouth Bass | |||
|location = [[深山|深山湖泊]] • [[农场地图#Wilderness|荒野农场]] | |||
|time = 上午6:00至晚上7:00 | |||
|season = all | |||
|weather = any | |||
|difficulty = 50 | |||
|behavior = Mixed | |||
|size = 11-31 | |||
|sellprice = 100 | |||
|edibility = 15 | |||
|roe = Green | |||
}} | |||
</noinclude> | |||
2026年1月28日 (三) 19:25的最新版本
示例
| 大嘴鲈鱼 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Largemouth Bass | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 信息 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 位置 | 深山湖泊 • 荒野农场 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 季节 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 时间 | 上午6:00至晚上7:00 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 天气 | 任意天气 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 难度 | 50 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 运动模式 | 混合型 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 长度(厘米) | 28~79 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 钓鱼经验值 | 19 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 能量 / 生命值 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 高级 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 物品编号 | (O)136 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
