Template:Nation/zh: Difference between revisions

Created page with "<!-- 中文版“国家”信息框模板:参数支持中文与英文两种写法,两者都填时英文参数优先 --> {| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width:280px; background: border-collapse:collapse; border:3.5px solid {{#if:{{{color|}}}|{{{color|}}}|{{{颜色|}}}}}; font-size:smaller; line-height:1.5" |- |<div> {| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; ba..."
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- 中文版“国家”信息框模板:参数支持中文与英文两种写法,两者都填时英文参数优先 -->
<div style="float:right; clear:right; margin:0 0 .5em 1em; width:280px; border:3.5px solid {{#if:{{{color|}}}|{{{color|}}}|{{{颜色|}}}}}; font-size:smaller; line-height:1.5">
{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width:280px; background: border-collapse:collapse; border:3.5px solid {{#if:{{{color|}}}|{{{color|}}}|{{{颜色|}}}}}; font-size:smaller; line-height:1.5"
{| cellspacing="1" cellpadding="1" style="width:100%; background: border-collapse:collapse;"
|-
|-
|<div>
|<div>
Line 36: Line 36:
| style="{{#if:{{{full_name|}}}{{{全名|}}}| |display: none;}}width:65%;" class="infoboxcell" valign="top" | {{#if:{{{full_name|}}}|{{{full_name|}}}|{{{全名|}}}}}
| style="{{#if:{{{full_name|}}}{{{全名|}}}| |display: none;}}width:65%;" class="infoboxcell" valign="top" | {{#if:{{{full_name|}}}|{{{full_name|}}}|{{{全名|}}}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{towny|}}}{{{城镇名|}}}| |display: none;}}" valign="top" | '''城镇名(Towny 名称)'''
| style="{{#if:{{{towny|}}}{{{游戏内名称|}}}| |display: none;}}" valign="top" | '''游戏内名称'''
| style="{{#if:{{{towny|}}}{{{城镇名|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{#if:{{{towny|}}}|{{{towny|}}}|{{{城镇名|}}}}}
| style="{{#if:{{{towny|}}}{{{游戏内名称|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{#if:{{{towny|}}}|{{{towny|}}}|{{{游戏内名称|}}}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{nlist|}}}{{{n列表|}}}| |display: none;}}" valign="top" | '''/n 列表'''
| style="{{#if:{{{nlist|}}}{{{n列表|}}}| |display: none;}}" valign="top" | '''/n 列表'''
Line 174: Line 174:
| style="{{#if:{{{event12date|}}}{{{事件12日期|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{#if:{{{event12date|}}}|{{{event12date|}}}|{{{事件12日期|}}}}}
| style="{{#if:{{{event12date|}}}{{{事件12日期|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{#if:{{{event12date|}}}|{{{event12date|}}}|{{{事件12日期|}}}}}
|}</div>
|}</div>
|}<includeonly></includeonly><noinclude>
|}
</div><includeonly></includeonly><noinclude>
使用示例(中文参数):<pre>
使用示例(中文参数):<pre>
{{Nation
{{Nation/zh
|颜色=示例
|颜色=示例
|时代={{Eras|beta|beginning|hype|decline|crepuscular|flooding}}
|时代={{Eras|beta|beginning|hype|decline|crepuscular|flooding}}
Line 193: Line 194:
|首都=示例
|首都=示例
|最大城市=示例
|最大城市=示例
|城镇名=示例
|游戏内名称=示例
|最古老城市=示例
|最古老城市=示例
|n列表=示例
|n列表=示例