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

来自Stardew Valley Wiki
跳到导航 跳到搜索
(文本替换 - 替换“{{englishdoc}}”为“{{Englishdoc}}”)
第9行: 第9行:
 
|colspan="2" id="infoboxsection" style="text-align: center;"|信息
 
|colspan="2" id="infoboxsection" style="text-align: center;"|信息
 
|-
 
|-
|id="infoboxsection"|建造 成本:
+
|id="infoboxsection"|建造 价格
 
|id="infoboxdetail"|{{{cost|}}}
 
|id="infoboxdetail"|{{{cost|}}}
 
|-
 
|-
|id="infoboxsection"| 建筑 材料:
+
|id="infoboxsection"| 所需 材料
 
|id="infoboxdetail"|{{{materials|}}}<!--
 
|id="infoboxdetail"|{{{materials|}}}<!--
 
-->{{#if:{{{animals|}}}|<nowiki />
 
-->{{#if:{{{animals|}}}|<nowiki />
 
{{!}}-
 
{{!}}-
{{!}}id="infoboxsection"{{!}}动物:
+
{{!}}id="infoboxsection"{{!}} 容纳 动物
 
{{!}}id="infoboxdetail"{{!}}{{{animals|}}}|}}<!--
 
{{!}}id="infoboxdetail"{{!}}{{{animals|}}}|}}<!--
 
-->{{#if:{{{capacity|}}}|<nowiki />
 
-->{{#if:{{{capacity|}}}|<nowiki />
 
{{!}}-
 
{{!}}-
{{!}}id="infoboxsection"{{!}}容量:
+
{{!}}id="infoboxsection"{{!}} 建筑 容量
 
{{!}}id="infoboxdetail"{{!}}{{{capacity|}}}|}}
 
{{!}}id="infoboxdetail"{{!}}{{{capacity|}}}|}}
 
|-
 
|-
|id="infoboxsection"| 尺寸:
+
|id="infoboxsection"| 占地面积
 
|id="infoboxdetail" style="text-align: center;"| {{#if:{{{sizehv|}}} |'''{{{sizehv|}}}'''<br />[[File:Marker{{{size|}}}.png|{{{size|}}}|center]] | [[File:Marker{{{size|}}}.png|{{{size|}}}|center]]}} 
 
|id="infoboxdetail" style="text-align: center;"| {{#if:{{{sizehv|}}} |'''{{{sizehv|}}}'''<br />[[File:Marker{{{size|}}}.png|{{{size|}}}|center]] | [[File:Marker{{{size|}}}.png|{{{size|}}}|center]]}} 
 
|-
 
|-
|}</div>[[Category:农场建筑]]{{InfoboxSEO}}</includeonly><noinclude>{{Englishdoc}}</noinclude>
+
|}</div>[[Category:农场建筑]]{{InfoboxSEO}}</includeonly><noinclude>{{Englishdoc}}
 +
 
 +
{{翻译}}
 +
 
 +
==描述==
 +
This template is used to provide an infobox for farm buildings.
 +
 
 +
==使用==
 +
This template can be used by entering the following onto a relevant page. '''Do not use this on your user page. It is reserved for content pages.'''
 +
 
 +
<pre>{{Infobox building
 +
|name     =
 +
|image    =
 +
|description =
 +
|cost     =
 +
|materials  =
 +
|animals   =
 +
|capacity   =
 +
|size     =
 +
|sizehv    =
 +
}}</pre>
 +
 
 +
==参数==
 +
<pre>{{Infobox building
 +
|name     = Location name
 +
|image    = The image name, minus the File:
 +
|description = The building description, if one exists.  Automatically populated by Template:Description if omitted.
 +
|cost     = Cost of building construction (gold)
 +
|materials  = Materials required for building construction
 +
|animals   = A list of the animals able to stay in this building, if applicable
 +
|capacity   = The maximum number of animals storable in this building
 +
|size     = The size of the building (this requires that you know the name of the image used; some use width x height and some use height x width)
 +
|sizehv    = The size of the building in format horizontal x vertical (optional)
 +
}}</pre></noinclude>

2023年3月16日 (四) 09:26的版本

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

用法

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

{{Infobox building}}

结果是...

Infobox building
[[File:|center|]]
信息
建造价格
所需材料
占地面积 [[File:Marker.png center]]
Robin building.png
“我这里还有很多事情需要处理。”
— 罗宾

不完整的翻译

本文或部分尚未完全翻译成中文。 欢迎您通过编辑帮助其建设。
最后编辑Sizau于2023-03-16 09:26:31.

描述

This template is used to provide an infobox for farm buildings.

使用

This template can be used by entering the following onto a relevant page. Do not use this on your user page. It is reserved for content pages.

{{Infobox building
|name        = 
|image       =
|description =
|cost        =
|materials   =
|animals     =
|capacity    =
|size        =
|sizehv      = 
}}

参数

{{Infobox building
|name        = Location name
|image       = The image name, minus the File:
|description = The building description, if one exists.  Automatically populated by Template:Description if omitted.
|cost        = Cost of building construction (gold)
|materials   = Materials required for building construction
|animals     = A list of the animals able to stay in this building, if applicable
|capacity    = The maximum number of animals storable in this building
|size        = The size of the building (this requires that you know the name of the image used; some use width x height and some use height x width)
|sizehv      = The size of the building in format horizontal x vertical (optional)
}}