模板:Infobox city:修订间差异

来自埃森兰维基
Maintenance script留言 | 贡献
Import: Infobox city template
 
Maintenance script留言 | 贡献
Import: Infobox city template
第1行: 第1行:
<noinclude>
<noinclude>
City infobox template. [[Category:Templates]]
城市信息框模板。[[Category:Templates]]
</noinclude><includeonly>
</noinclude><includeonly>
{| class="infobox" style="width:300px;"
{| class="infobox" style="width:300px;"
第11行: 第11行:
}}
}}
|-
|-
! colspan="2" style="background:#faf8f1; text-align:center; font-weight:bold; padding:8px; border-top:2px solid #e8ddb5;" | City Information
! colspan="2" style="background:#faf8f1; text-align:center; font-weight:bold; padding:8px; border-top:2px solid #e8ddb5;" | 城市信息
{{#if:{{{state|}}}|
{{#if:{{{state|}}}|
{{!}}-
{{!}}-
! State
! 所在省级行政区
{{!}} {{{state}}}
{{!}} {{{state}}}
}}
}}
{{#if:{{{district|}}}|
{{#if:{{{district|}}}|
{{!}}-
{{!}}-
! District
! 下级区划
{{!}} {{{district}}}
{{!}} {{{district}}}
}}
}}
{{#if:{{{population|}}}|
{{#if:{{{population|}}}|
{{!}}-
{{!}}-
! Population
! 人口
{{!}} {{{population}}}
{{!}} {{{population}}}
}}
}}
{{#if:{{{area|}}}|
{{#if:{{{area|}}}|
{{!}}-
{{!}}-
! Area
! 面积
{{!}} {{{area}}}
{{!}} {{{area}}}
}}
}}
{{#if:{{{elevation|}}}|
{{#if:{{{elevation|}}}|
{{!}}-
{{!}}-
! Elevation
! 海拔
{{!}} {{{elevation}}}
{{!}} {{{elevation}}}
}}
}}
{{#if:{{{mayor|}}}|
{{#if:{{{mayor|}}}|
{{!}}-
{{!}}-
! Mayor
! 市长
{{!}} {{{mayor}}}
{{!}} {{{mayor}}}
}}
}}
{{#if:{{{postal_code|}}}|
{{#if:{{{postal_code|}}}|
{{!}}-
{{!}}-
! Postal code
! 邮政编码
{{!}} {{{postal_code}}}
{{!}} {{{postal_code}}}
}}
}}
{{#if:{{{founded|}}}|
{{#if:{{{founded|}}}|
{{!}}-
{{!}}-
! Founded
! 建城
{{!}} {{{founded}}}
{{!}} {{{founded}}}
}}
}}
|}
|}
</includeonly>
</includeonly>

2026年4月8日 (三) 04:27的版本

城市信息框模板。