「テンプレート:Infobox fish」の版間の差分
ナビゲーションに移動
検索に移動
(ページの作成:「<includeonly><div id="infoboxborder"> {| id="infoboxtable" |colspan=2 id="infoboxheader"|{{{name|{{PAGENAME}}}}} |- |colspan=2|{{#if: {{{image}}}|File:{{{image|{{{name|...」) |
Margotbean (トーク | 投稿記録) |
||
1行目: | 1行目: | ||
<includeonly><div id="infoboxborder"> | <includeonly><div id="infoboxborder"> | ||
{| id="infoboxtable" | {| id="infoboxtable" | ||
− | |colspan=2 id="infoboxheader"|{{{name|{{PAGENAME}}}}} | + | |colspan="2" id="infoboxheader"|{{{name|{{PAGENAME}}}}} |
|- | |- | ||
− | |colspan=2|{{#if: {{{image}}}|[[File:{{{image|{{{name|{{ | + | |colspan="2"|{{#if:{{{image}}}|[[File:{{{image|{{{name|{{{eng|}}}}}}.png}}}|center]]}} |
|- | |- | ||
− | |colspan=2 | + | |colspan="2" id="infoboxdetail" style="text-align: center; font-style:italic;"|{{{description|}}} |
|- | |- | ||
− | |colspan=2 id="infoboxsection" style="text-align:center;"|Information | + | |colspan="2" id="infoboxsection" style="text-align:center;"|Information<!-- |
+ | -->{{#if:{{{location|}}} |<nowiki /> | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection"{{!}}Found in: | ||
+ | {{!}}id="infoboxdetail"{{!}}{{{location|}}} |}}<!-- | ||
+ | -->{{#if:{{{time|}}} |<nowiki /> | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection"{{!}}Time: | ||
+ | {{!}}id="infoboxdetail"{{!}}{{{time|}}} |}}<!-- | ||
+ | -->{{#if:{{{season|}}} |<nowiki /> | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection"{{!}}Season: | ||
+ | {{!}}id="infoboxdetail"{{!}}{{#arraydefine:season|{{{season|}}}|,}}{{#arrayprint:season| • |@@@@|{{#switch: {{lc:@@@@}} | ||
+ | | spring | summer | fall | winter = [[File:@@@@.png|24px|link=]] [[{{ucfirst:@@@@}}]] | ||
+ | | any | all = All | ||
+ | | #default = @@@@}} }}<!-- end arrayprint --> |}} | ||
+ | {{#if:{{{weather|}}} |{{#arraydefine:weather|{{{weather|}}}|/}} | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection"{{!}}Weather: | ||
+ | {{!}}id="infoboxdetail"{{!}}{{#arrayprint:weather| / |@@@@ | ||
+ | |{{#switch: {{lc:@@@@}} | ||
+ | | sunny | sun | rainy | rain | polleny | pollen | wind | windy | stormy | storm | snowy | snow = {{weather inline|@@@@}} | ||
+ | | any | all = Any | ||
+ | | #default = {{ucfirst:@@@@}} | ||
+ | }} | ||
+ | }} | ||
+ | |}}<!-- | ||
+ | -->{{#if:{{{difficulty|}}} |<nowiki /> | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection"{{!}}Difficulty: | ||
+ | {{!}}id="infoboxdetail"{{!}}{{{difficulty|}}} |}}<!-- | ||
+ | -->{{#if:{{{size|}}} |<nowiki /> | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection"{{!}}Size: | ||
+ | {{!}}id="infoboxdetail"{{!}}{{{size|}}} |}}<!-- | ||
+ | -->{{#if:{{{edibility|}}} |<nowiki /> | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection"{{!}}Healing Effect: | ||
+ | {{!}}id="infoboxdetail"{{!}}{{#iferror: {{Edibility|{{{edibility|}}}|quality=true}} | Inedible | {{Edibility|{{{edibility|0}}}|quality=true|iridium={{{iridium|}}}}}}} |}} | ||
|- | |- | ||
− | |id="infoboxsection" | + | |id="infoboxsection" colspan="2" style="text-align: center; padding-left: 0; padding-right: 0;"|Sell Prices |
− | |||
|- | |- | ||
− | | | + | {|style="margin: -2px 0 0 0 !important; padding: 0 !important; width: 100% !important;" |
− | |||
|- | |- | ||
− | |id="infoboxsection"| | + | |id="infoboxsection" style="width: 30%;"|Base<br />Price: |
− | + | |id="infoboxsection" style="width: 35%;"|[[File:Fisher.png|24px|link=]] [[Skills#Fishing|<span style="color: white;">Fisher</span>]]:<br />''(+25%)'' | |
− | |id=" | + | |id="infoboxsection" style="width: 35%;"|[[File:Angler Icon.png|24px|link=]] [[Skills#Fishing|<span style="color: white;">Angler</span>]]:<br />''(+50%)'' |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | + | |id="infoboxdetail"| {{#if:{{{price|}}} | {{Qualityprice|{{{name|{{{eng|}}}}}}|{{{price|0}}}|{{#if:{{{iridium|}}}|iridium|}}}} | {{#if:{{{sellprice|}}} | {{Qualityprice|{{{name|{{{eng|}}}}}}|{{{sellprice|0}}}|{{#if:{{{iridium|}}}|iridium|}}}} |}} }} | |
− | |id="infoboxdetail"|{{#if:{{{ | + | |id="infoboxdetail"|{{#if:{{{price|}}} | {{Qualityprice|{{{name|{{{eng|}}}}}}|{{#expr:{{{price|0}}}*1.25}}|{{#if:{{{iridium|}}}|iridium|}} }} | {{#if:{{{sellprice|}}} | {{Qualityprice|{{{name|{{{eng|}}}}}}|{{#expr:{{{sellprice|0}}}*1.25}}|{{#if:{{{iridium|}}}|iridium|}}}} |}} }} |
− | + | |id="infoboxdetail"|{{#if:{{{price|}}} | {{Qualityprice|{{{name|{{{eng|}}}}}}|{{#expr:{{{price|0}}}*1.50}}|{{#if:{{{iridium|}}}|iridium|}}}} | {{#if:{{{sellprice|}}} | {{Qualityprice|{{{name|{{{eng|}}}}}}|{{#expr:{{{sellprice|0}}}*1.50}}|{{#if:{{{iridium|}}}|iridium|}}}} |}} }} | |
− | + | |} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |id="infoboxdetail"|{{#if:{{{ | ||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | | | ||
− | | | ||
− | |id=" | ||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
|} | |} | ||
− | + | </div>{{InfoboxSEO}}{{#seo: | |
− | </div> | ||
|og:image={{#if:{{{image|}}}|{{filepath:{{{image|}}}}}}} | |og:image={{#if:{{{image|}}}|{{filepath:{{{image|}}}}}}} | ||
}}</includeonly><noinclude>{{englishdoc}}</noinclude> | }}</includeonly><noinclude>{{englishdoc}}</noinclude> |
2018年2月17日 (土) 13:04時点における版
このテンプレートの詳細については、英語のドキュメントページを参照してください。
使用法
このテンプレートは、関連するページに以下を入力することによって使用できます。
{{Infobox fish}}
結果は...
Error: {{#seo:}} must contain at least one non-empty attribute.