跳转到内容
打开/关闭菜单
  • 451 条目
  • 808 文件
  • 22 用户
  • 9241 编辑
Blockland Wiki
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:Infobox country:修订间差异

来自Blockland Wiki
无编辑摘要
标签:已被回退
无编辑摘要
标签:已被回退
第19行: 第19行:
|Lng = Float
|Lng = Float
}}
}}
</noinclude><includeonly>{{Infobox
</noinclude><includeonly>{{#tag:html|
<style>
/* 强制给指定行添加上边框,穿透 Citizen 皮肤的默认表格样式 */
.ve-infobox-country tr.has-top-border > th,
.ve-infobox-country tr.has-top-border > td {
    border-top: 1px solid #a2a9b1 !important;
}
/* 兼容 Citizen 皮肤的暗黑模式 */
html[data-theme="dark"] .ve-infobox-country tr.has-top-border > th,
html[data-theme="dark"] .ve-infobox-country tr.has-top-border > td,
body.skin-citizen-dark .ve-infobox-country tr.has-top-border > th,
body.skin-citizen-dark .ve-infobox-country tr.has-top-border > td {
    border-top: 1px solid #54595d !important;
}
</style>
}}{{Infobox
| bodyclass = geography vcard ve-infobox-country
| bodyclass = geography vcard ve-infobox-country
| bodystyle = width:23em; font-size:88%; line-height:1.5em; background:#fff; border:1px solid #a2a9b1; border-spacing:0;
| bodystyle = width:23em; font-size:88%; line-height:1.5em; border:1px solid #a2a9b1; border-spacing:0;


| abovestyle = background-color:#f8f9fa; font-size:1.25em; font-weight:bold; border-top:1px solid #a2a9b1; border-bottom:1px solid #a2a9b1; padding:5px;
| abovestyle = font-size:1.25em; font-weight:bold; border-top:1px solid #a2a9b1; border-bottom:1px solid #a2a9b1; padding:5px;
| aboveclass = fn org
| aboveclass = fn org
| above = <div style="font-size:1.25em; font-weight:bold;">{{{国名全称|}}}</div><div style="font-size:1.1em; font-weight:bold;">{{{国名|{{PAGENAME}}}}}</div><div style="font-size:0.9em; font-weight:normal; margin-top:0.2em; line-height:1.3em;">{{#if:{{{格言|}}}|<div style="font-style:italic;">“{{{格言}}}”</div>}}{{#if:{{{国歌|}}}|<div style="margin-top:0.1em;">《{{{国歌}}}》</div>}}</div>
| above = <div style="font-size:1.25em; font-weight:bold;">{{{国名全称|}}}</div><div style="font-size:1.1em; font-weight:bold;">{{{国名|{{PAGENAME}}}}}</div><div style="font-size:0.9em; font-weight:normal; margin-top:0.2em; line-height:1.3em;">{{#if:{{{格言|}}}|<div style="font-style:italic;">“{{{格言}}}”</div>}}{{#if:{{{国歌|}}}|<div style="margin-top:0.1em;">《{{{国歌}}}》</div>}}</div>


| labelstyle = width:6.5em; white-space:nowrap; vertical-align:top; text-align:left; padding:3px 0.5em; color:#000000; border:none;
| labelstyle = width:6.5em; white-space:nowrap; vertical-align:top; text-align:left; padding:4px 0.5em; border:none;
| datastyle = vertical-align:top; text-align:left; padding:3px 0.5em; border:none;
| datastyle = vertical-align:top; text-align:left; padding:4px 0.5em; border:none;


| image1 = {{#if:{{{国旗图片|}}}|[[File:{{{国旗图片}}}|300px|border|alt={{{国旗释义|}}}]]}}
| image1 = {{#if:{{{国旗图片|}}}|[[File:{{{国旗图片}}}|300px|border|alt={{{国旗释义|}}}]]}}
| caption1 = {{{国旗释义|}}}
| caption1 = {{{国旗释义|}}}
| caption1style = padding:0.3em 0 0.6em 0; text-align:center; font-size:smaller; border-bottom:1px solid #eaecf0;
| caption1style = padding:0.3em 0 0.6em 0; text-align:center; font-size:smaller; border-bottom:1px solid #a2a9b1;


| data6 = {{#if:{{{纬度|}}}{{{经度|}}}|
| data6 = {{#if:{{{纬度|}}}{{{经度|}}}|
第38行: 第53行:
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" />
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" />
<style>
<style>
   .leaflet-container { background: #f8f9fa !important; }
  /* 确保底图在暗色模式下不会反色或突兀 */
   .leaflet-container { background: var(--background-color-quiet, #f8f9fa) !important; }
</style>
</style>
<div id="map-ctx-{{#time:U}}" style="width:100%; aspect-ratio: 1 / 1; border:1px solid #a2a9b1; margin:5px 0;"></div>
<div id="map-ctx-{{#time:U}}" style="width:100%; aspect-ratio: 1 / 1; border:1px solid #a2a9b1; margin:5px 0;"></div>
第77行: 第93行:
| {{#if:{{{地图图片|}}}|[[File:{{{地图图片}}}|250px]]<br/><small>{{{地图说明|}}}</small>}} }}
| {{#if:{{{地图图片|}}}|[[File:{{{地图图片}}}|250px]]<br/><small>{{{地图说明|}}}</small>}} }}


| rowstyle11 = border-top:1px solid #eaecf0;
<!-- 基本信息 -->
| rowclass11 = has-top-border
| label11 = 首都
| label11 = 首都
| data11 = {{{首都|}}}
| data11 = {{{首都|}}}
| rowstyle12 = border-top:1px solid #eaecf0;
| rowclass12 = has-top-border
| label12 = 最大城市
| label12 = 最大城市
| data12 = {{{最大城市|}}}
| data12 = {{{最大城市|}}}
| rowstyle13 = border-top:1px solid #eaecf0;
| rowclass13 = has-top-border
| label13 = 官方语言
| label13 = 官方语言
| data13 = {{{官方语言|}}}
| data13 = {{{官方语言|}}}
| rowstyle14 = border-top:1px solid #eaecf0;
| rowclass14 = has-top-border
| label14 = 官方文字
| label14 = 官方文字
| data14 = {{{官方文字|}}}
| data14 = {{{官方文字|}}}
| rowstyle15 = border-top:1px solid #eaecf0;
| rowclass15 = has-top-border
| label15 = 族群
| label15 = 族群
| data15 = {{{族群|}}}
| data15 = {{{族群|}}}
| rowstyle16 = border-top:1px solid #eaecf0;
| rowclass16 = has-top-border
| label16 = 国名释义
| label16 = 国名释义
| data16 = {{{国名释义|}}}
| data16 = {{{国名释义|}}}


| rowstyle21 = border-top:1px solid #eaecf0;
<!-- 政治体制 -->
| rowclass21 = has-top-border
| label21 = 政府
| label21 = 政府
| data21 = {{{政府形式|}}}
| data21 = {{{政府形式|}}}
第103行: 第121行:
| label23 = &nbsp;&nbsp;• {{{政府首脑称谓|总理}}}
| label23 = &nbsp;&nbsp;• {{{政府首脑称谓|总理}}}
| data23 = {{{政府首脑|}}}
| data23 = {{{政府首脑|}}}
| rowstyle24 = border-top:1px solid #eaecf0;
| rowclass24 = has-top-border
| label24 = 立法机构
| label24 = 立法机构
| data24 = {{{立法机构|}}}
| data24 = {{{立法机构|}}}


| rowstyle31 = border-top:1px solid #eaecf0;
<!-- 历史沿革 -->
| rowclass31 = has-top-border
| label31 = {{{历史事件1名称|建立}}}
| label31 = {{{历史事件1名称|建立}}}
| data31 = {{{历史事件1日期|}}}
| data31 = {{{历史事件1日期|}}}
| rowstyle32 = border-top:1px solid #eaecf0;
| rowclass32 = has-top-border
| label32 = {{{历史事件2名称|独立}}}
| label32 = {{{历史事件2名称|独立}}}
| data32 = {{{历史事件2日期|}}}
| data32 = {{{历史事件2日期|}}}


| rowstyle41 = border-top:1px solid #eaecf0;
<!-- 地理与人口 -->
| label41 = 面积
| rowclass41 = has-top-border
| data41 =  
| label41 = {{#if:{{{总面积|}}}|面积}}
| data41 = {{#if:{{{总面积|}}}|&nbsp;}}
| label42 = &nbsp;&nbsp;• 总计
| label42 = &nbsp;&nbsp;• 总计
| data42 = {{#if:{{{总面积|}}}|{{{总面积}}} 平方公里}}
| data42 = {{#if:{{{总面积|}}}|{{{总面积}}} 平方公里}}
| rowstyle43 = border-top:1px solid #eaecf0;
 
| label43 = 人口
| rowclass43 = has-top-border
| data43 =  
| label43 = {{#if:{{{总人口|}}}|人口}}
| data43 = {{#if:{{{总人口|}}}|&nbsp;}}
| label44 = &nbsp;&nbsp;• {{#if:{{{人口年份|}}}|{{{人口年份}}}年估计|估计}}
| label44 = &nbsp;&nbsp;• {{#if:{{{人口年份|}}}|{{{人口年份}}}年估计|估计}}
| data44 = {{#if:{{{总人口|}}}|{{{总人口}}} 万人}}
| data44 = {{#if:{{{总人口|}}}|{{{总人口}}} 万人}}
第127行: 第148行:
| data45 = {{#ifexpr: {{{总面积|0}}} > 0 and {{{总人口|0}}} > 0 | {{#expr: {{{总人口}}} * 10000 / {{{总面积}}} round 1}} 人/平方公里 | 不适用 }}
| data45 = {{#ifexpr: {{{总面积|0}}} > 0 and {{{总人口|0}}} > 0 | {{#expr: {{{总人口}}} * 10000 / {{{总面积}}} round 1}} 人/平方公里 | 不适用 }}


| rowstyle51 = border-top:1px solid #eaecf0;
<!-- 经济 -->
| label51 = GDP (名义)
| rowclass51 = has-top-border
| data51 = {{{经济年份|}}}年估计
| label51 = {{#if:{{{GDP (名义)|}}}{{{人均GDP|}}}|GDP (名义)}}
| data51 = {{#if:{{{GDP (名义)|}}}{{{人均GDP|}}}|{{#if:{{{经济年份|}}}|{{{经济年份}}}年估计|估计}}}}
| label52 = &nbsp;&nbsp;• 总计
| label52 = &nbsp;&nbsp;• 总计
| data52 = {{#if:{{{GDP (名义)|}}}|{{{GDP (名义)}}}[[世界币]]}}
| data52 = {{#if:{{{GDP (名义)|}}}|{{{GDP (名义)}}}[[世界币]]}}
| label53 = &nbsp;&nbsp;• 人均
| label53 = &nbsp;&nbsp;• 人均
| data53 = {{#if:{{{人均GDP|}}}|{{{人均GDP}}}[[世界币]]}}
| data53 = {{#if:{{{人均GDP|}}}|{{{人均GDP}}}[[世界币]]}}
| rowstyle54 = border-top:1px solid #eaecf0;
 
| rowclass54 = has-top-border
| label54 = 货币
| label54 = 货币
| data54 = {{{货币|}}}
| data54 = {{{货币|}}}


| rowstyle61 = border-top:1px solid #eaecf0;
<!-- 其他信息 -->
| rowclass61 = has-top-border
| label61 = 时区
| label61 = 时区
| data61 = {{{时区|}}}
| data61 = {{{时区|}}}
| rowstyle62 = border-top:1px solid #eaecf0;
| rowclass62 = has-top-border
| label62 = 国际电话区号
| label62 = 国际电话区号
| data62 = {{{国际电话区号|}}}
| data62 = {{{国际电话区号|}}}
| rowstyle63 = border-top:1px solid #eaecf0;
| rowclass63 = has-top-border
| label63 = 国家代码
| label63 = 国家代码
| data63 = {{{国家代码|}}}
| data63 = {{{国家代码|}}}
| rowstyle64 = border-top:1px solid #eaecf0;
| rowclass64 = has-top-border
| label64 = 域名后缀
| label64 = 域名后缀
| data64 = {{{网站域名后缀|}}}
| data64 = {{{网站域名后缀|}}}


| belowstyle = border-top:1px solid #a2a9b1; background-color:#f9f9f9; padding:0.4em; text-align:left; font-size:85%; line-height:1.2em; color:#555;
| belowstyle = border-top:1px solid #a2a9b1; padding:0.4em; text-align:left; font-size:85%; line-height:1.2em; color:var(--color-subtle, #555);
| below = {{{脚注|}}}
| below = {{{脚注|}}}
}}
}}

2026年5月13日 (三) 11:54的版本

此模板定义表格“Countries”。 查看表格.