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

来自Stardew Valley Wiki
跳到导航 跳到搜索
第55行: 第55行:
 
     | [[fall]]  | [[秋季]] = [[File:Fall.png|24px|link=]] [[秋季]]
 
     | [[fall]]  | [[秋季]] = [[File:Fall.png|24px|link=]] [[秋季]]
 
     | #default = {{{season|}}}
 
     | #default = {{{season|}}}
}}}}{{#if:{{{edibility|}}}|<nowiki/>
+
}}}}<!--
 +
-->{{#if:{{{fishingxp|}}}|<nowiki />
 +
{{!}}-
 +
{{!}}id="infoboxsection{{!}}钓鱼经验值
 +
{{!}}id="infoboxdetail{{!}}{{{fishingxp|}}}
 +
|}}<!--
 +
-->{{#if:{{{edibility|}}}|<nowiki/>
 
{{#ifeq:{{{quality|}}} | true | <!--hack to show health/energy values in 2 columns = set quality to true in infobox-->
 
{{#ifeq:{{{quality|}}} | true | <!--hack to show health/energy values in 2 columns = set quality to true in infobox-->
 
{{!}}-
 
{{!}}-

2018年11月29日 (四) 21:26的版本

中文特定参数

在此模板中使用'eng'参数将引用英语图像。

{{Infobox|eng=''英语图像名称''}}

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

用法

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

{{Infobox}}

结果是...

Infobox
信息
售价 不适用
Error: {{#seo:}} must contain at least one non-empty attribute.