模板:Infobox fish:修订间差异
来自星露谷物语扩展百科
更多语言
更多操作
删除的内容 添加的内容
Margotbean(留言 | 贡献) 无编辑摘要 |
SummerFleur(留言 | 贡献) 无编辑摘要 |
||
| (未显示9个用户的108个中间版本) | |||
| 第1行: | 第1行: | ||
<includeonly><div |
<includeonly><div class="infoboxborder"> |
||
<table class="infoboxtable"> |
|||
<tr class="infoboxtitle"> |
|||
|colspan=2 id="infoboxheader"|{{{name|{{PAGENAME}}}}} |
|||
<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> |
|||
|colspan=2 align="center" id="infoboxdetail" style="font-style:italic;"|{{{description|}}} |
|||
</tr> |
|||
|- |
|||
<tr> |
|||
|colspan=2 id="infoboxsection" style="text-align:center;"|信息 |
|||
<td colspan="2" class="infoboxdetail">{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}}</td> |
|||
|- |
|||
</tr> |
|||
|id="infoboxsection"|发现点: |
|||
<tr> |
|||
|id="infoboxdetail"|{{#if:{{{location|}}}|{{{location|N/A}}}|N/A}} |
|||
<td colspan="2" class="infoboxsection">信息</td> |
|||
|- |
|||
</tr> |
|||
|id="infoboxsection"|时间: |
|||
{{#if:{{{source|}}}| |
|||
<tr> |
|||
|- |
|||
<td class="infoboxsection">来源</td> |
|||
< |
<td class="infoboxdetail">{{{source|}}}</td> |
||
</tr> |
|||
|id="infoboxdetail"|{{#if:{{{season|}}} |
|||
}}{{#if:{{{location|}}}| |
|||
<tr> |
|||
{{#arrayprint:season| / |@@@@ |
|||
<td class="infoboxsection">位置</td> |
|||
| {{#switch: {{lc:@@@@}} |
|||
<td class="infoboxdetail">{{{location|}}}</td> |
|||
|spring|春季 = [[File:Spring.png|24px|link=]] [[@@@@]] |
|||
</tr> |
|||
|summer|夏季 = [[File:Summer.png|24px|link=]] [[@@@@]] |
|||
}}{{#if:{{{season|}}}| |
|||
|fall |秋季 = [[File:Fall.png|24px|link=]] [[@@@@]] |
|||
<tr> |
|||
|winter|冬季 = [[File:Winter.png|24px|link=]] [[@@@@]] |
|||
<td class="infoboxsection">季节</td> |
|||
| #default = @@@@ |
|||
<td class="infoboxdetail">{{#iferror: {{Season|{{{season}}}}} | {{{season|}}} | {{Season|{{{season}}}}} }}</td> |
|||
}} |
|||
</tr> |
|||
}} |
|||
}}{{#if:{{{time|}}}| |
|||
| N/A |
|||
<tr> |
|||
}} |
|||
<td class="infoboxsection">时间</td> |
|||
|- |
|||
<td class="infoboxdetail">{{#switch:{{lc:{{{time|}}}}} |
|||
|id="infoboxsection"|天气: |
|||
|随时|任意时间|任何|任意|any=全天 |
|||
|id="infoboxdetail"|{{#if:{{{weather|}}} |
|||
|#default={{{time|}}} |
|||
| {{#arraydefine:weather|{{{weather|}}}|/}} |
|||
}}</td> |
|||
{{#arrayprint:weather| / |@@@@ |
|||
</tr> |
|||
| {{#switch: {{lc:@@@@}} |
|||
}}{{#if:{{{weather|}}}| |
|||
| sunny | sun | rainy | rain | pollen | storm | snow = {{weather inline|@@@@}} |
|||
<tr> |
|||
| #default = @@@@ |
|||
<td class="infoboxsection">天气</td> |
|||
}} |
|||
<td class="infoboxdetail">{{#iferror: {{Weather inline|{{{weather|}}}}} | {{{weather|}}} | {{Weather inline|{{{weather|}}}}} }}</td> |
|||
}} |
|||
</tr> |
|||
| N/A |
|||
}}{{#if:{{{difficulty|}}}| |
|||
}} |
|||
<tr> |
|||
|- |
|||
<td class="infoboxsection">难度</td> |
|||
<td class="infoboxdetail">{{{difficulty|}}}</td> |
|||
</tr> |
|||
|- |
|||
}}{{#if:{{{behavior|}}}| |
|||
|id="infoboxsection"|大小: |
|||
<tr> |
|||
|id="infoboxdetail"|{{#if:{{{size|}}}|{{{size|N/A}}}|N/A}} |
|||
<td class="infoboxsection">运动模式</td> |
|||
|- |
|||
<td class="infoboxdetail">{{#switch:{{lc:{{{behavior|}}}}} |
|||
|id="infoboxsection"|恢复效果: |
|||
|dart |猛冲型 = [[鱼#运动模式|猛冲型]] |
|||
|id="infoboxdetail"|{{#if:{{{edibility|}}}|{{Edibility|{{{edibility|0}}}|quality=true}}|Inedible}} |
|||
|floater |漂浮型 = [[鱼#运动模式|漂浮型]] |
|||
|- |
|||
|mixed |混合型 = [[鱼#运动模式|混合型]] |
|||
|id="infoboxsection" colspan="2" align="center"|售价 |
|||
|sinker |下坠型 = [[鱼#运动模式|下坠型]] |
|||
|- |
|||
|smooth |平滑型 = [[鱼#运动模式|平滑型]] |
|||
{|style="margin: -2px 0 0 0 !important; padding: 0 !important; width: 100% !important;" |
|||
}}</td> |
|||
|- |
|||
</tr> |
|||
|id="infoboxsection" style="width: 30%;"|基本售价: |
|||
}}{{#if:{{{fl|}}}| |
|||
|id="infoboxsection" style="width: 35%;"|[[File:Fisher.png|24px|link=]] [[技能#钓鱼|<span style="color: white;">渔夫</span>]]:<br />''(售价+25%)'' |
|||
<tr> |
|||
|id="infoboxsection" style="width: 35%;"|[[File:Angler Icon.png|24px|link=]] [[技能#钓鱼|<span style="color: white;">垂钓者</span>]]:<br />''(售价+50%)'' |
|||
<td class="infoboxsection no-wrap">钓鱼技能等级要求</td> |
|||
|- |
|||
<td class="infoboxdetail">{{{fl|}}}</td> |
|||
|id="infoboxdetail"| {{#if:{{{price|}}} | {{Qualityprice|{{{eng|}}}|{{{price|0}}}|{{#if:{{{iridium|}}}|iridium|}}}} | {{#if:{{{sellprice|}}} | {{Qualityprice|{{{eng|}}}|{{{sellprice|0}}}|{{#if:{{{iridium|}}}|iridium|}}}} |}} }} |
|||
</tr> |
|||
|id="infoboxdetail"|{{#if:{{{price|}}} | {{Qualityprice|{{{eng|}}}|{{#expr:{{{price|0}}}*1.25}}|{{#if:{{{iridium|}}}|iridium|}} }} | {{#if:{{{sellprice|}}} | {{Qualityprice|{{{eng|}}}|{{#expr:{{{sellprice|0}}}*1.25}}|{{#if:{{{iridium|}}}|iridium|}}}} |}} }} |
|||
}}{{#if:{{{size|}}}| |
|||
|id="infoboxdetail"|{{#if:{{{price|}}} | {{Qualityprice|{{{eng|}}}|{{#expr:{{{price|0}}}*1.50}}|{{#if:{{{iridium|}}}|iridium|}}}} | {{#if:{{{sellprice|}}} | {{Qualityprice|{{{eng|}}}|{{#expr:{{{sellprice|0}}}*1.50}}|{{#if:{{{iridium|}}}|iridium|}}}} |}} }} |
|||
<tr> |
|||
|} |
|||
<td class="infoboxsection">长度(厘米)</td> |
|||
|} |
|||
<td class="infoboxdetail">{{#if:{{#pos:{{{size|}}}|-}} |
|||
</div>{{#if:{{{debug mode|}}}||[[Category:鱼]]}}{{InfoboxSEO}}{{#seo: |
|||
| |
|{{#expr:{{#explode:{{{size|}}}|-|0}}*2.54 round 0}}~{{#expr:{{#explode:{{{size|}}}|-|-1}}*2.54 round 0}} |
||
|{{#expr:{{{size|}}}*2.54 round 0}} }}</td> |
|||
}}</includeonly><noinclude>{{englishdoc}}</noinclude> |
|||
</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 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
