「テンプレート:Infobox fish」の版間の差分

提供: Stardew Valley Wiki
ナビゲーションに移動 検索に移動
47行目: 47行目:
 
{{!}}id="infoboxsection"{{!}}[[魚#釣りミニゲーム{{!}}<span style="color: white;">行動パターン</span>]]:
 
{{!}}id="infoboxsection"{{!}}[[魚#釣りミニゲーム{{!}}<span style="color: white;">行動パターン</span>]]:
 
{{!}}id="infoboxdetail"{{!}}{{{behavior|}}} |}}<!--
 
{{!}}id="infoboxdetail"{{!}}{{{behavior|}}} |}}<!--
-->{{#if:{{{size|}}} |<nowiki />
+
-->{{#if:{{{size|}}}|<nowiki />
 
{{!}}-
 
{{!}}-
{{!}}id="infoboxsection"{{!}}サイズ:
+
{{!}}id="infoboxsection"{{!}}サイズ:<br />(センチ)
{{!}}id="infoboxdetail"{{!}}{{{size|}}} |}}<!--
+
{{!}}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 />
 
-->{{#if:{{{difficulty|}}}|<nowiki />
 
{{!}}-
 
{{!}}-

2018年11月27日 (火) 20:20時点における版

このテンプレートの詳細については、英語のドキュメントページを参照してください。

使用法

このテンプレートは、関連するページに以下を入力することによって使用できます。

{{Infobox fish}}

結果は...

Infobox fish
情報
売値
基本
価格:
Fisher.png 釣り人:
(+25%)
Angler Icon.png 釣り師:
(+50%)
Error: {{#seo:}} must contain at least one non-empty attribute.