“Template:Infobox animal”的版本间的差异
跳到导航
跳到搜索
Margotbean(讨论 | 贡献) |
Shirotsuki(讨论 | 贡献) (retranslate "N/A") |
||
(未显示3个用户的12个中间版本) | |||
第1行: | 第1行: | ||
<includeonly><div id="infoboxborder"> | <includeonly><div id="infoboxborder"> | ||
{| id="infoboxtable" | {| id="infoboxtable" | ||
− | |colspan=2 id="infoboxheader"|{{{name|{{PAGENAME}}}}} | + | |colspan="2" id="infoboxheader"|{{{name|{{PAGENAME}}}}} |
|- | |- | ||
− | |colspan=2 style="text-align: center; padding-bottom: | + | |colspan="2" style="text-align: center; padding-bottom: 5px;"|{{#if:{{{image}}}|[[File:{{{image|}}}|link=]]}}{{#if:{{{image2|}}}| [[File:{{{image2|}}}|link=]]|}}{{#if:{{{image3|}}}| [[File:{{{image3|}}}|link=]]|}}{{#if:{{{image4|}}}| [[File:{{{image4|}}}|link=]]|}} |
|- | |- | ||
− | |colspan=2 id=" | + | |colspan="2" id="infoboxdetail" style="text-align: center;"|{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}} |
|- | |- | ||
− | |id="infoboxsection" | + | |colspan="2" id="infoboxsection" style="text-align: center;"| 信息 |
− | |||
|- | |- | ||
− | |id="infoboxsection"| | + | |id="infoboxsection"| 建筑 |
− | |id="infoboxdetail"|{{#if:{{{ | + | |id="infoboxdetail"|{{#if:{{{building|}}}|{{{building| 不适用}}}| 不适用}} |
|- | |- | ||
− | | | + | |id="infoboxsection"| 购买价格 |
− | | | + | |id="infoboxdetail"|{{#iferror:{{price|{{{buyprice| 不可直接购买}}}}}|不可直接购买|{{price|{{{buyprice|}}} }} }} |
− | + | |- | |
− | | | + | |id="infoboxsection"|产物 |
− | }} | + | |id="infoboxdetail"|{{#if:{{{produce|}}}|{{{produce|无}}}|无}} |
− | </includeonly> | + | |- |
− | <noinclude>{{ | + | |}</div>{{#if:{{{debug mode|}}}||{{mainonly|[[Category:动物]]}}}}{{InfoboxSEO}}</includeonly><noinclude>{{Englishdoc}}</noinclude> |
2023年7月6日 (四) 12:22的最新版本
有关此模板的详细信息,请参阅英语语言文档页。
用法
可以通过在相关页面上输入以下内容来使用此模板。
{{Infobox animal}}
结果是...
Infobox animal | |
[[File:|link=]] | |
信息 | |
建筑 | 不适用 |
购买价格 | 不可直接购买 |
产物 | 无 |