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

来自Stardew Valley Wiki
跳到导航 跳到搜索
第54行: 第54行:
 
     | spring | summer | fall | winter = [[File:{{ucfirst:{{lc:{{{season}}}}}}}.png|24px]] [[{{ucfirst:{{lc:{{{season}}}}}}}]]
 
     | spring | summer | fall | winter = [[File:{{ucfirst:{{lc:{{{season}}}}}}}.png|24px]] [[{{ucfirst:{{lc:{{{season}}}}}}}]]
 
     | all | any = All
 
     | all | any = All
     | [[spring]] = [[File:Spring.png|24px]] [[春季]]
+
     | [[spring]] | [[春季]] = [[File:Spring.png|24px]] [[ 季]]
    | [[summer]] = [[File:Summer.png|24px]] [[ 季]]
+
     | [[summer]] | [[ 季]] = [[File:Summer.png|24px]] [[ 季]]
     | [[winter]] = [[File:Winter.png|24px]] [[ ]]
+
     | [[winter]] | [[ 季]] = [[File:Winter.png|24px]] [[ 季]]
    | [[fall]] = [[File:Fall.png|24px]] [[ 季]]
+
     | [[fall]]   | [[秋季]] = [[File:Fall.png|24px]] [[秋季]]
     | [[ 春季]] = [[File:Spring.png|24px]] [[ 春季]]
 
    | [[夏 季]] = [[File:Summer.png|24px]] [[ 季]]
 
     | [[ 冬季]] = [[File:Winter.png|24px]] [[冬季]]
 
    | [[秋季]] = [[File:Fall.png|24px]] [[秋季]]
 
 
     | #default = {{{season|}}}
 
     | #default = {{{season|}}}
 
}}}}{{#if:{{{edibility|}}}|<nowiki/>
 
}}}}{{#if:{{{edibility|}}}|<nowiki/>
第89行: 第85行:
 
   {{#arrayprint:professions||@@@
 
   {{#arrayprint:professions||@@@
 
   | {{#arraydefine:prof_mod|{{#switch:{{lc:@@@}}
 
   | {{#arraydefine:prof_mod|{{#switch:{{lc:@@@}}
    |rancher=0.2
+
    |牧场主|rancher=0.2
    |tiller=0.1
+
    |农场主|tiller=0.1
    |artisan=0.4
+
    |制品生产家|artisan=0.4
    |fisher=0.25
+
    |渔夫|fisher=0.25
    |angler=0.5
+
    |垂钓者|angler=0.5
    |forester=0.5
+
    |护林人|forester=0.5
    |tapper=0.25
+
    |萃取者|tapper=0.25
    |blacksmith=0.5
+
    |铁匠|blacksmith=0.5
    |gemologist=0.3
+
    |宝石专家|gemologist=0.3
 
    |#default={{{modifier|0}}} 
 
    |#default={{{modifier|0}}} 
 
    }}}}<nowiki/>
 
    }}}}<nowiki/>

2017年5月4日 (四) 22:10的版本

中文特定参数

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

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

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

用法

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

{{Infobox}}

结果是...

Infobox
信息
售价 N/A
Error: {{#seo:}} must contain at least one non-empty attribute.