模板:Infobox villager:修订间差异
来自星露谷物语扩展百科
更多语言
更多操作
m无编辑摘要 |
添加英语 |
||
| 第2行: | 第2行: | ||
|Portrait={{{portrait}}} | |Portrait={{{portrait}}} | ||
|Name={{{name|{{PAGENAME}}}}} | |Name={{{name|{{PAGENAME}}}}} | ||
|Eng={{English|{{{name|{{PAGENAME}}}}}}} | |||
|Birthday={{{birthday|}}} | |Birthday={{{birthday|}}} | ||
|Location={{{location|}}} | |Location={{{location|}}} | ||
| 第14行: | 第15行: | ||
|#default={{面包屑|村民}}<div id="infoboxborder"> | |#default={{面包屑|村民}}<div id="infoboxborder"> | ||
{{{!}} id="infoboxtable" | {{{!}} id="infoboxtable" | ||
{{!}}colspan="2" id="infoboxheader"{{!}}{{{name|{{PAGENAME}}}}} | {{!}}colspan="2" id="infoboxheader"{{#if: {{English|{{{name|{{PAGENAME}}}}}}}| class="infoboxheaderzh"|}}{{!}}{{{name|{{PAGENAME}}}}} | ||
{{#if: {{English|{{{name|{{PAGENAME}}}}}}}| | |||
<tr> | |||
<td colspan="2" id="infoboxheader" class="infoboxheaderen" style="font-size: 16px !important;">{{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}</td> | |||
</tr> | |||
| | |||
}} | |||
{{!}}- | {{!}}- | ||
{{!}}colspan="2"{{!}}{{#if: {{{portrait|}}}|[[File:{{{portrait}}}|center|link=]]|[[File:Villager Placeholder.png|center|link=]]}} | {{!}}colspan="2"{{!}}{{#if: {{{portrait|}}}|[[File:{{{portrait}}}|center|link=]]|[[File:Villager Placeholder.png|center|link=]]}} | ||
| 第54行: | 第61行: | ||
</div>{{#if:{{{debug mode|}}}||[[Category:NPC]]}} | </div>{{#if:{{{debug mode|}}}||[[Category:NPC]]}} | ||
{{#ifeq:{{lc:{{{toc|}}}}} | n | |{{TOC right}}}} | {{#ifeq:{{lc:{{{toc|}}}}} | n | |{{TOC right}}}} | ||
}}{{InfoboxSEO}}</includeonly><noinclude>{{Englishdoc}}</noinclude> | }}{{InfoboxSEO}}</includeonly><noinclude>{{Englishdoc}}{{Clear}} | ||
==示例== | |||
{{Infobox villager | |||
|name = 阿比盖尔 | |||
|portrait = Abigail.png | |||
|birthday = {{Season|Fall|13}} | |||
|location = 鹈鹕镇 | |||
|address = [[皮埃尔的杂货店]] | |||
|family = {{NPC|Pierre|父亲}}{{NPC|Caroline|母亲}} | |||
|friends = {{NPC|Sebastian}}{{NPC|Sam}} | |||
|marriage = 是 | |||
|clinic = {{Season|Spring|4}} | |||
|favorites = {{name|Amethyst}}{{name|Banana Pudding}}{{name|Blackberry Cobbler}}{{name|Chocolate Cake}} | |||
{{name|Monster Compendium}} | |||
{{name|Pufferfish}}{{name|Pumpkin}}{{name|Spicy Eel}} | |||
}} | |||
</noinclude> | |||
