「テンプレート:Infobox fish」の版間の差分
Margotbean (トーク | 投稿記録) |
Margotbean (トーク | 投稿記録) (use templates qualityprice & edibilitygrid) |
||
(同じ利用者による、間の9版が非表示) | |||
1行目: | 1行目: | ||
− | <includeonly | + | <includeonly>{{#switch:{{NAMESPACE}} |
− | + | |{{ns:User}}|{{ns:User talk}}= | |
− | + | |#default=<div id="infoboxborder"> | |
− | + | {{{!}} id="infoboxtable" | |
− | + | {{!}} colspan="2" id="infoboxheader" {{!}} {{{name|{{PAGENAME}}}}} | |
− | + | {{!}}- | |
− | + | {{!}}colspan="2" style="padding-bottom: 5px;"{{!}} [[File:{{{eng|Blank icon}}}.png|center]] | |
− | + | {{!}}- | |
− | + | {{!}} colspan="2" id="infoboxdetail" style="text-align: center; padding-right: 3px;" {{!}} {{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}} | |
− | + | {{!}}- | |
− | + | {{!}} colspan="2" id="infoboxsection" style="text-align:center; padding-left: 0; padding-right: 0;" {{!}} 情報 | |
− | + | {{#if:{{{source|}}}|<nowiki/> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{!}}- | {{!}}- | ||
− | {{!}} id="infoboxsection" {{!}} | + | {{!}} id="infoboxsection" {{!}} 入手 |
− | {{!}} id="infoboxdetail" {{!}} | + | {{!}} id="infoboxdetail" {{!}} {{{source|}}} |
}}{{#if:{{{location|}}} |<nowiki /> | }}{{#if:{{{location|}}} |<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}} id="infoboxsection" {{!}} | + | {{!}} id="infoboxsection" {{!}} 入手場所 |
− | {{!}} id="infoboxdetail" {{!}} | + | {{!}} id="infoboxdetail" {{!}} {{{location|}}} |
}}{{#if:{{{time|}}} |<nowiki /> | }}{{#if:{{{time|}}} |<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}} id="infoboxsection" {{!}} | + | {{!}} id="infoboxsection" {{!}} 時刻 |
{{!}} id="infoboxdetail" {{!}} {{{time|}}} | {{!}} id="infoboxdetail" {{!}} {{{time|}}} | ||
}}{{#if:{{{season|}}} |<nowiki /> | }}{{#if:{{{season|}}} |<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}} id="infoboxsection" {{!}} | + | {{!}} id="infoboxsection" {{!}} 季節 |
{{!}} id="infoboxdetail" {{!}} {{#iferror: {{Season|{{{season}}}}} | {{{season|}}} | {{Season|{{{season}}}}} }} | {{!}} id="infoboxdetail" {{!}} {{#iferror: {{Season|{{{season}}}}} | {{{season|}}} | {{Season|{{{season}}}}} }} | ||
}}{{#if:{{{weather|}}} |<nowiki /> | }}{{#if:{{{weather|}}} |<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}} id="infoboxsection" {{!}} | + | {{!}} id="infoboxsection" {{!}} 天気 |
{{!}} id="infoboxdetail" {{!}} {{#iferror: {{Weather inline|{{{weather|}}}}} | {{{weather|}}} | {{Weather inline|{{{weather|}}}}} }} | {{!}} id="infoboxdetail" {{!}} {{#iferror: {{Weather inline|{{{weather|}}}}} | {{{weather|}}} | {{Weather inline|{{{weather|}}}}} }} | ||
}}{{#if:{{{difficulty|}}} |<nowiki /> | }}{{#if:{{{difficulty|}}} |<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}} id="infoboxsection" {{!}} | + | {{!}} id="infoboxsection" {{!}} 難易度 |
{{!}} id="infoboxdetail" {{!}} {{{difficulty|}}} | {{!}} id="infoboxdetail" {{!}} {{{difficulty|}}} | ||
}}{{#if:{{{behavior|}}} |<nowiki /> | }}{{#if:{{{behavior|}}} |<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}} id="infoboxsection" {{!}} | + | {{!}} id="infoboxsection" {{!}} 行動パターン |
− | {{!}} id="infoboxdetail" | + | {{!}} id="infoboxdetail" {{!}} {{#switch:{{lc:{{{behavior|}}}}} |
+ | |dart = [[魚#行動パターン|Dart]] | ||
+ | |floater = [[魚#行動パターン|Floater]] | ||
+ | |mixed = [[魚#行動パターン|Mixed]] | ||
+ | |sinker = [[魚#行動パターン|Sinker]] | ||
+ | |smooth = [[魚#行動パターン|Smooth]] | ||
+ | }} | ||
}}{{#if:{{{fl|}}}|<nowiki /> | }}{{#if:{{{fl|}}}|<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}} id="infoboxsection" {{!}} | + | {{!}} id="infoboxsection" {{!}} 必要な釣りレベル |
− | {{!}} id="infoboxdetail | + | {{!}} id="infoboxdetail" {{!}} {{{fl|}}} |
}}{{#if:{{{size|}}}|<nowiki /> | }}{{#if:{{{size|}}}|<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}} id="infoboxsection" {{!}} | + | {{!}} id="infoboxsection" {{!}} 長さ(センチ) |
− | {{!}} id="infoboxdetail" {{!}} | + | {{!}} id="infoboxdetail" {{!}} {{#switch:{{uc:{{CONTENTLANG}}}} |
− | + | |EN = {{#replace:{{{size|}}}|-|–}} | |
− | | {{# | + | |#default = {{#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|}}}}} | |
− | + | |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)}} }} | |
− | + | }}{{#if:{{{xp|}}} |<nowiki /> | |
− | + | {{!}}- | |
− | + | {{!}}id="infoboxsection" {{!}} 経験値 | |
− | + | {{!}}id="infoboxdetail" {{!}} {{{xp|}}} | |
− | + | }}{{#if:{{{edibility|}}} | <nowiki /> | |
− | + | {{!}}- | |
− | + | {{#switch:{{lc:{{{edibility|}}}}} | |
− | + | | -300 | ''inedible'' | inedible | 食べられません = | |
− | + | {{!}} id="infoboxsection" {{!}} エナジー | |
− | + | {{!}} id="infoboxdetail" {{!}} 食べられません | |
− | + | |#default = | |
− | + | {{!}} id="infoboxsection" {{!}} [[エナジー]] / [[体力]] | |
− | + | {{!}} id="infoboxdetail" {{!}} {{EdibilityGrid|{{{eng|}}}|{{{edibility|}}}|dsv=false}} | |
− | + | }} }}{{#ifeq:{{{professions|}}} | false |<nowiki /> | |
− | + | {{!}}- | |
− | + | {{!}} id="infoboxsection" {{!}} 売価 | |
− | + | {{!}} id="infoboxdetail" {{!}} {{#switch: {{lc:{{{quality|}}}}} | |
− | + | |normal|false = {{Price|{{{price|}}}}} | |
− | + | |#default = {{Qualityprice|{{{eng|Blank icon}}}|{{{price|}}}|dsv=false}} | |
− | + | }} | |
− | + | |<!-- professions != false --><nowiki /> | |
− | + | {{!}}- | |
− | }}}} | + | {{!}} colspan="2" style="padding: 0; border: 0;"{{!}} |
− | + | <table style="width: 101%; margin-top: -2px; margin-left: -2px;"> | |
− | + | <tr> | |
− | + | <td id="infoboxsection" colspan="3" style="text-align: center; padding-left: 0; padding-right: 0;">売値</td> | |
− | + | </tr> | |
− | + | <tr> | |
− | + | <td id="infoboxsection">基本価格</td> | |
− | + | <td id="infoboxsection">[[File:Fisher.png|24px|link=]] [[スキル#釣り|<span style="color: white;">釣り人</span>]]<br />(+25%)</td> | |
− | + | <td id="infoboxsection">[[File:Angler Icon.png|24px|link=]] [[スキル#釣り|<span style="color: white;">釣り師</span>]]<br />(+50%)</td> | |
− | + | </tr> | |
− | + | <tr> | |
− | + | {{#switch: {{lc:{{{quality|}}}}} | |
− | + | |normal|false = | |
− | + | <td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|}}}|quality=normal|dsv=false}}</td> | |
− | + | <td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|}}}|quality=normal|pm=1.25|dsv=false}}</td> | |
− | + | <td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|}}}|quality=normal|pm=1.5|dsv=false}}</td> | |
− | + | |#default = {{#switch:{{lc:{{NAMESPACE}}}} | テンプレート | template = |#default= | |
− | + | <td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|}}}|dsv=false}}</td> | |
− | + | <td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|}}}|pm=1.25|dsv=false}}</td> | |
− | + | <td>{{Qualityprice|{{{eng|Blank icon}}}|{{{price|}}}|pm=1.5|dsv=false}}</td> | |
− | + | }} }} | |
− | + | </tr> | |
− | + | </table> | |
− | + | }}{{#if:{{{roe|}}}|<nowiki /> | |
− | + | {{!}}- | |
− | + | {{!}} colspan="2" style="padding: 0; border: 0;"{{!}} | |
− | + | {{{!}} style="width: 101%; margin-top: -2px; margin-left: -2px;" | |
− | + | {{!}}- | |
− | + | {{!}} id="infoboxsection" colspan="3" style="text-align: center; padding: 0;" {{!}} 加工品売価 | |
− | + | {{!}}- | |
− | + | {{!}} id="infoboxsection" {{!}} 魚卵 | |
− | + | {{!}} id="infoboxsection" {{!}} {{#ifeq:{{{eng|}}}|Sturgeon|キャビア|熟成卵}} | |
− | + | {{!}} id="infoboxsection" class="no-wrap" style="padding: 2px 0 0 6px;" {{!}} [[File:Artisan.png|24px|link=]] {{#ifeq:{{{eng|}}}|Sturgeon|キャビア|熟成卵}}(+40%) | |
− | } | + | {{!}}- |
− | + | {{!}} style="vertical-align: top;" {{!}} {{Qualityprice|{{{roe|}}} Roe|{{{price|}}}|quality=normal|dsv=false}} | |
+ | {{!}} style="vertical-align: top;" {{!}} {{#switch:{{{eng|}}} | ||
+ | |Sturgeon = {{Qualityprice|Caviar|500|quality=normal|dsv=false}} | ||
+ | |#default = {{Qualityprice|{{{roe|}}} Aged Roe|{{{price|}}}|quality=normal|dsv=false}} }} | ||
+ | {{!}} style="vertical-align: top;" {{!}} {{#switch:{{{eng|}}} | ||
+ | |Sturgeon = {{Qualityprice|Caviar|500|quality=normal|pm=1.4|dsv=false}} | ||
+ | |#default = {{Qualityprice|{{{roe|}}} Aged Roe|{{{price|}}}|quality=normal|pm=1.4|dsv=false}} }} | ||
+ | {{!}}- | ||
+ | {{!}}} | ||
+ | }} | ||
+ | {{!}}- | ||
+ | {{!}}} | ||
+ | }}</div>{{InfoboxSEO}}</includeonly><noinclude>{{Englishdoc}}</noinclude> |
2023年3月12日 (日) 00:42時点における最新版
このテンプレートの詳細については、英語のドキュメントページを参照してください。
使用法
このテンプレートは、関連するページに以下を入力することによって使用できます。
{{Infobox fish}}
結果は...