模板:Infobox fish:修订间差异
来自星露谷物语扩展百科
更多语言
更多操作
删除的内容 添加的内容
Nebulous Maestress(留言 | 贡献) better link for 运动模式 |
Nebulous Maestress(留言 | 贡献) sync with english template |
||
| 第1行: | 第1行: | ||
<includeonly>< |
<includeonly><!-- |
||
// TRANSLATIONS |
|||
-->{{#arraydefine:$lang_information | 信息 }}<!-- |
|||
-->{{#arraydefine:$lang_foundin | 觅处 }}<!-- |
|||
-->{{#arraydefine:$lang_time | 时间 }}<!-- |
|||
-->{{#arraydefine:$lang_season | 季节 }}<!-- |
|||
-->{{#arraydefine:$lang_weather | 天气 }}<!-- |
|||
-->{{#arraydefine:$lang_difficulty | 难度 }}<!-- |
|||
-->{{#arraydefine:$lang_behavior | 运动模式 }}<!-- |
|||
-->{{#arraydefine:$lang_behaviorlink | 鱼#运动模式 }}<!-- |
|||
-->{{#arraydefine:$lang_levelrequired | 钓鱼技能等级要求 }}<!-- |
|||
-->{{#arraydefine:$lang_fishing | 钓鱼 }}<!-- |
|||
-->{{#arraydefine:$lang_fishsize | 大小( 英寸)}}<!-- |
|||
-->{{#arraydefine:$lang_xp | 经验值}}<!-- |
|||
-->{{#arraydefine:$lang_healingeffect | 治疗效果 }}<!-- |
|||
-->{{#arraydefine:$lang_roe | 鱼籽 }}<!-- |
|||
-->{{#arraydefine:$lang_agedroe | 腌鱼籽 }}<!-- |
|||
-->{{#arraydefine:$lang_caviar | 鱼籽酱 }}<!-- |
|||
-->{{ParseInputValues|code=behav|| |
|||
,Mixed, 混合型, |
|||
,Smooth, 平滑型, |
|||
,Sinker, 下坠型, |
|||
,Floater, 漂浮型, |
|||
,Dart, 猛冲型, |
|||
}}{{ParseInputValues|code=legend|| |
|||
,Crimsonfish, 绯红鱼, |
|||
,Angler, 鮟鱇鱼, |
|||
,Legend, 传说之鱼, |
|||
,Glacierfish, 冰川鱼, |
|||
,Mutant Carp, 变种鲤鱼, |
|||
}}<!-- |
|||
// set usemetric to true (or any nonempty value) if metric units should be used for fish size |
|||
-->{{#arraydefine:$lang_usemetric |true}}<!-- |
|||
// END of translations |
|||
// Initialize array variables |
|||
-->{{#arraydefine:$quality|{{ParseInputQuality|quality={{{quality|}}}|iridium={{{iridium|}}}|hide={{{hide|}}}}}}}<!-- |
|||
--><includeonly><div id="infoboxborder"> |
|||
{| id="infoboxtable" |
{| id="infoboxtable" |
||
|colspan="2" id="infoboxheader"|{{{name|{{PAGENAME}}}}} |
| colspan="2" id="infoboxheader" | {{{name|{{PAGENAME}}}}} |
||
|- |
|||
|colspan="2" style="padding-bottom: 5px;"|{{#if: {{{image|}}}|[[File:{{{image|}}}.png|center]] | [[File:{{{eng|}}}.png|center]]}} |
|||
|- |
|||
|colspan="2" id="infoboxdetail" style="text-align: center;"|{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}} |
|||
|- |
|||
|colspan="2" id="infoboxsection" style="text-align:center;"|信息 |
|||
|- |
|||
|id="infoboxsection"|发现点 |
|||
|id="infoboxdetail"|{{#if:{{{location|}}}|{{{location|不适用}}}|不适用}}<!-- |
|||
-->{{#if:{{{time|}}}|<nowiki /> |
|||
{{!}}- |
|||
{{!}}id="infoboxsection"{{!}}时间 |
|||
{{!}}id="infoboxdetail"{{!}}{{#switch:{{lc:{{{time|}}}}} |
|||
|any | all = 随时 |
|||
|#default={{{time|}}} }} |
|||
|}}<!-- |
|||
-->{{#if:{{{season|}}} |<nowiki /> |
|||
{{!}}- |
|||
{{!}}id="infoboxsection"{{!}}季节 |
|||
{{!}}id="infoboxdetail"{{!}}{{#switch: {{lc:{{{season|}}} }} |
|||
| spring|[[spring]]|春季|[[春季]] = [[File:Spring.png|24px|link=]] [[春季]] |
|||
| summer|[[summer]]|夏季|[[夏季]] = [[File:Summer.png|24px|link=]] [[夏季]] |
|||
| fall|[[fall]]|秋季|[[秋季]] = [[File:Fall.png|24px|link=]] [[秋季]] |
|||
| winter|[[winter]]|冬季|[[冬季]] = [[File:Winter.png|24px|link=]] [[冬季]] |
|||
| any | all = 四季皆宜 |
|||
| #default = {{{season|}}} }} |}}<!-- |
|||
-->{{#if:{{{weather|}}} |<nowiki /> |
|||
{{!}}- |
|||
{{!}}id="infoboxsection"{{!}}天气 |
|||
{{!}}id="infoboxdetail"{{!}}{{#switch: {{lc:{{{weather|}}}}} |
|||
| sunny | sun | 晴天 | 晴 | rainy | rain | 雨天 | 雨 | polleny | pollen | wind | windy | storm | snow | springwind | 落叶 | 花粉 | 风 | 刮风 | 暴风雨 | 风暴 | 雪天 | 下雪 = {{weather inline|{{{weather|}}}}} |
|||
| any | all = 任何 |
|||
| #default = {{{weather|}}} }} |}}<!-- |
|||
-->{{#if:{{{difficulty|}}}|<nowiki /> |
|||
{{!}}- |
|||
{{!}}id="infoboxsection"{{!}}难度 |
|||
{{!}}id="infoboxdetail"{{!}}{{{difficulty|不适用}}}|}}<!-- |
|||
-->{{#if:{{{behavior|}}} |<nowiki /> |
|||
{{!}}- |
|||
{{!}}id="infoboxsection"{{!}}[[鱼#运动模式{{!}}<span style="color: white;">运动模式</span>]] |
|||
{{!}}id="infoboxdetail"{{!}}{{#switch:{{lc:{{{behavior|}}}}} |
|||
|mixed|混合型 = 混合型 |
|||
|smooth|平滑型 = 平滑型 |
|||
|sinker|下坠型 = 下坠型 |
|||
|floater|漂浮型 = 漂浮型 |
|||
|dart|猛冲型 = 猛冲型 |
|||
|#default={{{behavior|}}}}} |
|||
|}}<!-- |
|||
-->{{#if:{{{fl|}}}|<nowiki /> |
|||
{{!}}- |
|||
{{!}}id="infoboxsection" class="no-wrap"{{!}}[[钓鱼#钓鱼技能|<span style="color: white;">钓鱼技能</span>]]等级要求 |
|||
{{!}}id="infoboxdetail{{!}}{{{fl|}}} |}}<!-- |
|||
-->{{#if:{{{size|}}}|<nowiki /> |
|||
{{!}}- |
|||
{{!}}id="infoboxsection"{{!}}大小(<!--厘米-->英寸) |
|||
{{!}}id="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}} |
|||
}} |
|||
}}<!-- |
|||
-->{{#if:{{{difficulty|}}}|<nowiki /> |
|||
{{!}}- |
|||
{{!}}id="infoboxsection"{{!}}经验值 |
|||
{{!}}id="infoboxdetail"{{!}}{{#switch:{{lc:{{{eng|{{{name|{{PAGENAME}}}}}}}}}} |
|||
|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)}} |
|||
}} |
|||
|}} |
|||
|- |
|||
|id="infoboxsection"|恢复效果 |
|||
|id="infoboxdetail"|{{#iferror: {{Edibility|{{{edibility|}}}|quality={{{healq|true}}}}} | 非食用 | {{Edibility|{{{edibility|0}}}|quality={{{healq|true}}}|iridium={{{iridium|}}}}}}} |
|||
|- |
|- |
||
|colspan="2" style="padding: |
| colspan="2" style="padding-bottom:5px; text-align: center;" | {{Autoimage|{{{image|}}}|eng={{{eng|}}}}} |
||
{|style="margin: -2px -2px 0 -1px; padding: 0; width: 100%;" |
|||
|- |
|- |
||
| |
| colspan="2" id="infoboxdetail" style="text-align: center; font-style: italic;" | {{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}} |
||
|- |
|- |
||
| colspan="2" id="infoboxsection" style="text-align:center;" | {{#arrayprint:$lang_information}}{{#if:{{{location|}}} |<nowiki /> |
|||
|id="infoboxsection" class="no-wrap" style="padding-right: 0;"|基本售价 |
|||
{{!}}- |
|||
|id="infoboxsection" class="no-wrap" style="padding-right: 0;"|[[File:Fisher.png|24px|link=]] [[技能#钓鱼|<span style="color: white;">渔夫</span>]]<br />(售价+25%) |
|||
{{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_foundin}}: |
|||
|id="infoboxsection" class="no-wrap" style="padding-right: 0;"|[[File:Angler Icon.png|24px|link=]] [[技能#钓鱼|<span style="color: white;">垂钓者</span>]]<br />(售价+50%) |
|||
{{!}} id="infoboxdetail" {{!}} {{#ifexist:{{{location|}}}|[[{{{location|}}}]]|{{{location|}}}}} |
|||
|- |
|||
}}{{#if:{{{time|}}} |<nowiki /> |
|||
|id="infoboxdetail"| {{#if:{{{price|}}} | {{Qualityprice|{{{eng|}}}|{{{price|0}}}|{{#if:{{{iridium|}}}|iridium|}}|hide={{{hideprice|}}}}} | {{#if:{{{sellprice|}}} | {{Qualityprice|{{{eng|}}}|{{{sellprice|0}}}|{{#if:{{{iridium|}}}|iridium|}}|hide={{{hideprice|}}}}} |}} }} |
|||
{{!}}- |
|||
|id="infoboxdetail"|{{#if:{{{price|}}} | {{Qualityprice|{{{eng|}}}|{{#expr:{{{price|0}}}*1.25}}|{{#if:{{{iridium|}}}|iridium|}}|hide={{{hideprice|}}} }} | {{#if:{{{sellprice|}}} | {{Qualityprice|{{{eng|}}}|{{#expr:{{{sellprice|0}}}*1.25}}|{{#if:{{{iridium|}}}|iridium|}}|hide={{{hideprice|}}}}} |}} }} |
|||
{{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_time}}: |
|||
|id="infoboxdetail"|{{#if:{{{price|}}} | {{Qualityprice|{{{eng|}}}|{{#expr:{{{price|0}}}*1.50}}|{{#if:{{{iridium|}}}|iridium|}}|hide={{{hideprice|}}}}} | {{#if:{{{sellprice|}}} | {{Qualityprice|{{{eng|}}}|{{#expr:{{{sellprice|0}}}*1.50}}|{{#if:{{{iridium|}}}|iridium|}}|hide={{{hideprice|}}}}} |}} }} |
|||
{{!}} id="infoboxdetail" {{!}} {{{time|}}} |
|||
}}{{#if:{{{season|}}} |<nowiki /> |
|||
{{!}}- |
|||
{{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_season}}: |
|||
{{!}} id="infoboxdetail" {{!}} {{Season|{{{season}}}}} |
|||
}}{{#if:{{{weather|}}} |<nowiki /> |
|||
{{!}}- |
|||
{{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_weather}}: |
|||
{{!}} id="infoboxdetail" {{!}} {{Weather inline|{{{weather}}}}} |
|||
}}{{#if:{{{difficulty|}}} |<nowiki /> |
|||
{{!}}- |
|||
{{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_difficulty}}: |
|||
{{!}} id="infoboxdetail" {{!}} {{{difficulty|}}} |
|||
}}{{#if:{{{behavior|}}} |<nowiki /> |
|||
{{!}}- |
|||
{{!}} id="infoboxsection" {{!}} [[{{#arrayprint:$lang_behaviorlink}}|<span style="color: white;">{{#arrayprint:$lang_behavior}}</span>]]: |
|||
{{!}} id="infoboxdetail" {{!}} {{ParseInputValues|code=behav|{{{behavior|}}}|default=true|translate=true}} |
|||
}}{{#if:{{{fl|}}}|<nowiki /> |
|||
{{!}}- |
|||
{{!}} id="infoboxsection" {{!}} [[{{#arrayprint:$lang_fishing}}|<span style="color: white;">{{#arrayprint:$lang_levelrequired}}</span>]]: |
|||
{{!}} id="infoboxdetail {{!}} {{{fl|}}} |
|||
}}{{#if:{{{size|}}}|<nowiki /> |
|||
{{!}}- |
|||
{{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_fishsize}}: |
|||
{{!}} id="infoboxdetail" {{!}} <!-- |
|||
-->{{#if:{{#arrayprint:$lang_usemetric}} |
|||
| {{#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}}}} |
|||
| {{{size|}}} |
|||
}}}}{{#if:{{{difficulty|}}}|<nowiki /> |
|||
{{!}}- |
|||
{{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_xp}}: |
|||
{{!}} id="infoboxdetail" {{!}}<!-- |
|||
--> {{#arraydefine:$legendary|{{ParseInputValues|code=legend|{{{eng|{{{name|{{PAGENAME}}}}}}}}}}}}<!-- |
|||
--> {{#arraydefine:$quality_values|{{ParseInputQuality|quality={{{quality|}}}|iridium={{{iridium|}}}}}}}<!-- |
|||
--> {{#arrayprint:$quality_values||@qual@<!-- |
|||
--> | {{#ifeq:@qual@|Normal|| [[File:@qual@ Quality.png|14px|link=|alt=@qual@]] }}<!-- |
|||
-->{{#expr: {{#if:{{#arrayprint:$legendary}}|5|1}} |
|||
* floor( 3 * (1 + {{#switch:@qual@|Normal=0|Silver=1|Gold=2|Iridium=4}}) |
|||
+ {{{difficulty}}}/3) |
|||
}}}}}}{{#if:{{{edibility|}}}|<nowiki /> |
|||
{{!}}- |
|||
<!-- |
|||
// Display edibility. Use two-column format when many values: so not if poison/inedible/0 |
|||
-->{{#ifexpr:{{#iferror:{{#expr:{{{edibility|0}}}>0|0|1}}|0}} |<nowiki/> |
|||
{{!}} id="infoboxsection" colspan="2" style="text-align: center;" {{!}} {{#arrayprint:$lang_healingeffect}} |
|||
{{!}}- |
|||
{{!}} id="infoboxdetail" {{!}} {{Edibility |{{{edibility|}}} |quality={{{quality|{{{healq|true}}}}}} |iridium={{{iridium|}}} |statistics=Energy}} |
|||
{{!}} id="infoboxdetail" {{!}} {{Edibility |{{{edibility|}}} |quality={{{quality|{{{healq|true}}}}}} |iridium={{{iridium|}}} |statistics=Health}} |
|||
|<nowiki/> |
|||
{{!}} id="infoboxsection" {{!}} {{#arrayprint:$lang_healingeffect}}: |
|||
{{!}} id="infoboxdetail" {{!}} {{Edibility |{{{edibility|}}} |quality={{{quality|{{{healq|true}}}}}} |iridium={{{iridium|}}}}} |
|||
}}}}<!-- |
|||
// custom_price if defined provides entire text of all price-related sections |
|||
-->{{#if:{{{custom_price|}}} |
|||
|{{{custom_price}}}<!-- |
|||
// Display all item prices: Base price plus all professions listed in {{{profession}}} |
|||
// Subtemplate automatically decides how to handle multiple columns, etc. |
|||
--> |{{Infosection price |
|||
|prof = Base, Fisher, Angler |
|||
|item = {{{eng|{{{name|{{#ifeq:{{CONTENTLANG}}|en|{{PAGENAME}}|{{{image|}}}}}}}}}}} |
|||
|link = {{{name|{{PAGENAME}}}}} |
|||
|price = {{{price|}}} |
|||
|iridium = {{{iridium|}}} |
|||
|quality = {{{quality|true}}} |
|||
|hide = {{{hideprice|}}} |
|||
|ncolumns = 3 |
|||
}}{{#if:{{{roe|}}}| |
|||
{{Infosection price |
|||
|prof = Base, Base, Artisan |
|||
|srcprice = {{{price|}}} |
|||
|auto = true |
|||
|artisan = true |
|||
|itemcell1 = Roe |
|||
|itemcell2 = {{#ifeq:{{{eng|{{{name|{{PAGENAME}}}}}}}}|Sturgeon|Caviar|Aged Roe}} |
|||
|itemcell3 = {{#ifeq:{{{eng|{{{name|{{PAGENAME}}}}}}}}|Sturgeon|Caviar|Aged Roe}} |
|||
|imageRoe = {{{roe}}} Roe |
|||
|linkRoe = {{#arrayprint:$lang_roe}} |
|||
|linkAged Roe={{#arrayprint:$lang_agedroe}} |
|||
|linkCaviar = {{#arrayprint:$lang_caviar}} |
|||
|ncolumns = 3 |
|||
}} |
|||
}}}} |
|||
|} |
|} |
||
</div>{{InfoboxSEO}}{{#seo: |
|||
|og:image={{#if:{{{image|}}}|{{filepath:{{{image|}}}}}}} |
|og:image={{#if:{{{image|}}}|{{filepath:{{{image|}}}}}}} |
||
}}</includeonly><noinclude>{{ |
}}</includeonly><noinclude>{{Englishdoc}}{{#ifexist:{{FULLPAGENAME}}/doc |<nowiki/> |
||
{{{{FULLPAGENAME}}/doc}} }}</noinclude> |
|||