“Template:Infobox fish”的版本间的差异

来自Stardew Valley Wiki
跳到导航 跳到搜索
(change display from cm to inches)
(difficulty optional)
(未显示同一用户的2个中间版本)
第10行: 第10行:
 
|-
 
|-
 
|id="infoboxsection"|发现点
 
|id="infoboxsection"|发现点
|id="infoboxdetail"|{{#if:{{{location|}}}|{{{location|不适用}}}|不适用}}
+
|id="infoboxdetail"|{{#if:{{{location|}}}|{{{location|不适用}}}|不适用}}<!--
|-
+
-->{{#if:{{{time|}}}|<nowiki />
|id="infoboxsection"| 时间
+
{{!}}-
|id="infoboxdetail"|{{#if:{{{time|}}}|{{{time| 随时}}}| 随时}}<!--
+
{{!}}id="infoboxsection"{{!}} 时间
 +
{{!}}id="infoboxdetail"{{!}}{{#switch:{{lc:{{{time|}}}}}
 +
|any | all = 随时
 +
|#default={{{time|}}} }}
 +
|}}<!--
 
-->{{#if:{{{season|}}} |<nowiki />
 
-->{{#if:{{{season|}}} |<nowiki />
 
{{!}}-
 
{{!}}-
第31行: 第35行:
 
   | {{#switch: {{lc:@@@@}}
 
   | {{#switch: {{lc:@@@@}}
 
    | sunny | sun | rainy | rain | pollen | storm | snow = {{weather inline|@@@@}}
 
    | sunny | sun | rainy | rain | pollen | storm | snow = {{weather inline|@@@@}}
 +
   | any | all = 任何
 
    | #default = @@@@
 
    | #default = @@@@
 
    }}
 
    }}
 
   }}
 
   }}
 
  | 任何天气
 
  | 任何天气
  }}
+
  }}<!--
|-
+
-->{{#if:{{{difficulty|}}}|<nowiki />
|id="infoboxsection"| 难度
+
{{!}}-
|id="infoboxdetail"|{{#if:{{{difficulty|}}}|{{{difficulty|不适用}}}| 不适用}}<!--
+
{{!}}id="infoboxsection"{{!}} 难度
 +
{{!}}id="infoboxdetail"{{!}}{{{difficulty|不适用}}}|}}<!--
 
-->{{#if:{{{behavior|}}} |<nowiki />
 
-->{{#if:{{{behavior|}}} |<nowiki />
 
{{!}}-
 
{{!}}-

2018年10月21日 (日) 20:59的版本

有关此模板的详细信息,请参阅英语语言文档页

用法

可以通过在相关页面上输入以下内容来使用此模板。

{{Infobox fish}}

结果是...

Infobox fish
信息
发现点 不适用
天气 任何天气
恢复效果 Template:Edibility
售价
基本售价 Fisher.png 渔夫
(售价+25%)
Angler Icon.png 垂钓者
(售价+50%)
Error: {{#seo:}} must contain at least one non-empty attribute.