模板:Infobox character:修订间差异
来自星露谷物语扩展百科
更多语言
更多操作
3546754953775813移动页面模板:Infobox character至模板:Expanded/Infobox character |
m 文本替换 - 替换“{{Infobox character”为“{{Infobox character” |
||
| 第1行: | 第1行: | ||
# | {{DISPLAYTITLE:{{PAGENAME}}}}<includeonly>{{#switch:{{NAMESPACE}} | ||
|#default=<div id="infoboxborder"> | |||
{{{!}} id="infoboxtable" | |||
{{!}}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|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}</td> | |||
</tr> | |||
| | |||
}} | |||
{{!}}- | |||
{{!}}colspan="2"{{!}}{{#if: {{{portrait|}}}|[[File:{{{portrait}}}|center|link=]]|[[File:Villager Placeholder.png|center|link=]]}} | |||
{{!}}- | |||
{{!}}colspan="2" id="infoboxsection" style="text-align: center; padding-left: 0px; padding-right: 0px;"{{!}}信息 | |||
{{#if:{{{birthday|}}}|<nowiki /> | |||
{{!}}- | |||
{{!}}id="infoboxsection"{{!}}生日 | |||
{{!}}id="infoboxdetail"{{!}}{{{birthday|}}} |}}<!-- | |||
{{#if:{{{location|}}}|<nowiki /> | |||
{{!}}- | |||
{{!}}id="infoboxsection"{{!}}位置 | |||
{{!}}id="infoboxdetail"{{!}}{{{location|}}}|}} | |||
-->{{#if:{{{location|}}}{{{address|}}}|<nowiki /> | |||
{{!}}- | |||
{{!}}id="infoboxsection"{{!}}住址 | |||
{{!}}id="infoboxdetail"{{!}}{{#if:{{{location|}}}|{{{location|}}}{{#if:{{{address|}}}|<br />|}}|}}{{{address|}}}|}}<!-- | |||
-->{{#if:{{{family|}}}|<nowiki /> | |||
{{!}}- | |||
{{!}}id="infoboxsection"{{!}}亲属 | |||
{{!}}id="infoboxdetail"{{!}}{{{family|}}}|}}<!-- | |||
{{#if:{{{friends|}}}|<nowiki /> | |||
{{!}}- | |||
{{!}}id="infoboxsection"{{!}}朋友 | |||
{{!}}id="infoboxdetail"{{!}}{{{friends|}}}|}}--> | |||
{{#if:{{{favorites|}}}|<nowiki /> | |||
{{!}}- | |||
{{!}}id="infoboxsection"{{!}}最爱 | |||
{{!}}id="infoboxdetail"{{!}}{{{favorites|}}} |}}<!-- | |||
--> | |||
{{!}}- | |||
{{!}}id="infoboxsection"{{!}}可攻略 | |||
{{!}}id="infoboxdetail"{{!}}{{#ifeq:{{{marriage|}}}|是|{{{marriage}}}{{#if:{{{debug mode|}}}||[[Category:可结婚对象]]}}|{{{marriage|否}}}}}<!-- | |||
-->{{#if:{{{clinic|}}}|<nowiki /> | |||
{{!}}- | |||
{{!}}id="infoboxsection"{{!}}体检日 | |||
{{!}}id="infoboxdetail{{!}}{{{clinic|}}} |}} | |||
{{!}}- | |||
{{!}}} | |||
</div>{{#if:{{{debug mode|}}}||[[Category:角色]]}} | |||
}}{{InfoboxSEO}}</includeonly><noinclude>{{Documentation}}{{Clear}} | |||
==示例== | |||
{{Infobox character | |||
|portrait = Sophia.png | |||
|birthday = {{Season|冬季|27}} | |||
|location = [[蓝月亮葡萄园]] | |||
|address = | |||
|family = {{Icon|blanknpc}} 罗伯特(父亲)<br />{{Icon|blanknpc}} 爱丽丝(母亲) | |||
|friends = {{NPC|Scarlett}}{{NPC|Victor}}{{NPC|Emily}}{{NPC|Haley}}{{NPC|Gus}} | |||
|marriage = 是 | |||
|favorites={{name|Fairy Rose}}{{name|Fairy Stone}}{{name|Puppyfish}}{{name|Mixed Berry Pie}}{{name|Flower Cookie}}{{name|Vegan Cone}}{{name|Grampleton Orange Chicken}} | |||
}} | |||
</noinclude> | |||
