跳转到内容
打开/关闭搜索
搜索
打开/关闭菜单
451
条目
808
文件
22
用户
9243
编辑
Blockland Wiki
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
打开/关闭外观设置菜单
无法加载外观设置。请检查您的网络连接并重试。
重试
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
创建账号
登录
查看“︁模板:Infobox country”︁的源代码
来自Blockland Wiki
查看
阅读
查看源代码
查看历史
相关页面
模板
讨论
更多操作
更多
工具
链入页面
相关更改
页面信息
Cargo数据
←
模板:Infobox country
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
<noinclude> {{#cargo_declare: _table = Countries |Name = Page |FullName = String |Capital = Page |MajorCity = Page |OfficialLanguage = String |GovType = String |HeadOfState = String |HeadOfGov = String |Area = Float |Population = Float |GDP_Nominal = Float |GDP_PerCapita = Float |Currency = String |Continent = String |Lat = Float |Lng = Float }} </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 | bodystyle = width:23em; font-size:88%; line-height:1.5em; border:1px solid #a2a9b1; border-spacing:0; | abovestyle = font-size:1.25em; font-weight:bold; border-top:1px solid #a2a9b1; border-bottom:1px solid #a2a9b1; padding:5px; | 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> | 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:4px 0.5em; border:none; | image1 = {{#if:{{{国旗图片|}}}|[[File:{{{国旗图片}}}|300px|border|alt={{{国旗释义|}}}]]}} | caption1 = {{{国旗释义|}}} | caption1style = padding:0.3em 0 0.6em 0; text-align:center; font-size:smaller; border-bottom:1px solid #a2a9b1; | data6 = {{#if:{{{纬度|}}}{{{经度|}}}| {{#tag:html| <link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" /> <style> /* 确保底图在暗色模式下不会反色或突兀 */ .leaflet-container { background: var(--background-color-quiet, #f8f9fa) !important; } </style> <div id="map-ctx-{{#time:U}}" style="width:100%; aspect-ratio: 1 / 1; border:1px solid #a2a9b1; margin:5px 0;"></div> <script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"></script> <script> (function() { var lat = parseFloat("{{{纬度|0}}}"); var lng = parseFloat("{{{经度|0}}}"); var zoom = parseInt("{{{缩放|4}}}"); var tiles = "http://blkl.fun/wp-content/uploads/arcgis_tiles/_alllayers0408"; var mapId = "map-ctx-{{#time:U}}"; var map = L.map(mapId, { zoomControl: true, attributionControl: false, maxZoom: 9, minZoom: 1 }).setView([lat, lng], zoom); var ArcGISLayer = L.TileLayer.extend({ getTileUrl: function(coords) { var z = coords.z; var x = coords.x; var y = coords.y; var sz = z.toString().padStart(2, '0'); var sy = y.toString(16).padStart(8, '0'); var sx = x.toString(16).padStart(8, '0'); return tiles + "/L" + sz + "/R" + sy + "/C" + sx + ".png"; } }); new ArcGISLayer().addTo(map); setTimeout(function(){ map.invalidateSize(); }, 500); })(); </script> }} | {{#if:{{{地图图片|}}}|[[File:{{{地图图片}}}|250px]]<br/><small>{{{地图说明|}}}</small>}} }} <!-- 基本信息 --> | rowclass11 = has-top-border | label11 = 首都 | data11 = {{{首都|}}} | rowclass12 = has-top-border | label12 = 最大城市 | data12 = {{{最大城市|}}} | rowclass13 = has-top-border | label13 = 官方语言 | data13 = {{{官方语言|}}} | rowclass14 = has-top-border | label14 = 官方文字 | data14 = {{{官方文字|}}} | rowclass15 = has-top-border | label15 = 族群 | data15 = {{{族群|}}} | rowclass16 = has-top-border | label16 = 国名释义 | data16 = {{{国名释义|}}} <!-- 政治体制 --> | rowclass21 = has-top-border | label21 = 政府 | data21 = {{{政府形式|}}} | label22 = • {{{元首称谓|总统}}} | data22 = {{{元首|}}} | label23 = • {{{政府首脑称谓|总理}}} | data23 = {{{政府首脑|}}} | rowclass24 = has-top-border | label24 = 立法机构 | data24 = {{{立法机构|}}} <!-- 历史沿革 --> | rowclass31 = has-top-border | label31 = {{{历史事件1名称|建立}}} | data31 = {{{历史事件1日期|}}} | rowclass32 = has-top-border | label32 = {{{历史事件2名称|独立}}} | data32 = {{{历史事件2日期|}}} <!-- 地理与人口 --> | rowclass41 = has-top-border | label41 = {{#if:{{{总面积|}}}|面积}} | data41 = {{#if:{{{总面积|}}}| }} | label42 = • 总计 | data42 = {{#if:{{{总面积|}}}|{{{总面积}}} 平方公里}} | rowclass43 = has-top-border | label43 = {{#if:{{{总人口|}}}|人口}} | data43 = {{#if:{{{总人口|}}}| }} | label44 = • {{#if:{{{人口年份|}}}|{{{人口年份}}}年估计|估计}} | data44 = {{#if:{{{总人口|}}}|{{{总人口}}} 万人}} | label45 = • 密度 | data45 = {{#ifexpr: {{{总面积|0}}} > 0 and {{{总人口|0}}} > 0 | {{#expr: {{{总人口}}} * 10000 / {{{总面积}}} round 1}} 人/平方公里 | 不适用 }} <!-- 经济 --> | rowclass51 = has-top-border | label51 = {{#if:{{{GDP (名义)|}}}{{{人均GDP|}}}|GDP (名义)}} | data51 = {{#if:{{{GDP (名义)|}}}{{{人均GDP|}}}|{{#if:{{{经济年份|}}}|{{{经济年份}}}年估计|估计}}}} | label52 = • 总计 | data52 = {{#if:{{{GDP (名义)|}}}|{{{GDP (名义)}}}[[世界币]]}} | label53 = • 人均 | data53 = {{#if:{{{人均GDP|}}}|{{{人均GDP}}}[[世界币]]}} | rowclass54 = has-top-border | label54 = 货币 | data54 = {{{货币|}}} <!-- 其他信息 --> | rowclass61 = has-top-border | label61 = 时区 | data61 = {{{时区|}}} | rowclass62 = has-top-border | label62 = 国际电话区号 | data62 = {{{国际电话区号|}}} | rowclass63 = has-top-border | label63 = 国家代码 | data63 = {{{国家代码|}}} | rowclass64 = has-top-border | label64 = 域名后缀 | data64 = {{{网站域名后缀|}}} | 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 = {{{脚注|}}} }} {{#cargo_store: _table = Countries |Name = {{PAGENAME}} |FullName = {{{国名全称|}}} |Capital = {{{首都|}}} |MajorCity = {{{最大城市|}}} |OfficialLanguage = {{{官方语言|}}} |GovType = {{{政府形式|}}} |HeadOfState = {{{元首|}}} |HeadOfGov = {{{政府首脑|}}} |Area = {{{总面积|}}} |Population = {{{总人口|}}} |GDP_Nominal = {{{GDP (名义)|}}} |GDP_PerCapita = {{{人均GDP|}}} |Currency = {{{货币|}}} |Lat = {{{纬度|}}} |Lng = {{{经度|}}} }}[[分类:国家]]</includeonly>
返回
模板:Infobox country
。
查看“︁模板:Infobox country”︁的源代码
来自Blockland Wiki