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

模板:Infobox Ideology:修订间差异

来自Blockland Wiki
无编辑摘要
无编辑摘要
 
(未显示同一用户的2个中间版本)
第13行: 第13行:
}}
}}
</noinclude><includeonly>{{Infobox
</noinclude><includeonly>{{Infobox
| name = {{{名称|{{PAGENAME}}}}}
| bodyclass = ve-infobox-ideology
| bodyclass = ve-infobox-ideology
| bodystyle = width: 320px; border: none; box-shadow: 0 4px 12px rgba(0,0,0,0.15); border-radius: 8px; overflow: hidden; background: var(--background-color-surface, #fff); font-family: sans-serif;


/* ———— 顶部通栏:使用代表色作为背景,文字强制白色 ———— */
/* ———— 1. 顶部样式:完全照抄你的国家模板 (#CCEEFF) ———— */
| abovestyle = background-color: {{{代表色|#333}}}; color: #fff; font-size: 1.5em; padding: 15px 10px; text-shadow: 0 1px 3px rgba(0,0,0,0.3); border-bottom: 3px solid rgba(0,0,0,0.1);
| above = {{{名称|{{PAGENAME}}}}}<br><span style="font-size:85%; font-weight:normal;">{{{原生名称|}}}</span>
| above = {{{名称|{{PAGENAME}}}}}<br><span style="font-size: 0.6em; opacity: 0.8; font-weight: normal; text-transform: uppercase; letter-spacing: 1px;">{{{原生名称|}}}</span>
| abovestyle = background-color: #CCEEFF; padding: 5px;


/* ———— 图片区域 ———— */
/* ———— 2. 图片区域 ———— */
| imagestyle = padding: 20px 0 10px 0; background: var(--background-color-neutral-subtle, #f9f9f9);
| image = {{#if:{{{图片|{{{image|}}}}}}|[[File:{{{图片|{{{image}}}}}}|250px|alt={{{名称|{{{name|}}}}}}]]}}
| image = {{#if:{{{图片|{{{image|}}}}}}|[[File:{{{图片|{{{image}}}}}}|180px|alt={{{名称|{{{name|}}}}}}]]}}
| caption = {{{图片说明|{{{caption|}}}}}}
| caption = {{{图片说明|{{{caption|}}}}}}


/* ———— 罗盘区域:作为一个“仪表盘”插入 ———— */
/* ———— 3. 统一配色:完全照抄你的国家模板 (#F3F3F3) ———— */
| header1 = <div style="display:none;"></div>
| headerstyle = background-color: #F3F3F3;
| labelstyle = width: 25%;
| datastyle = width: 75%;
 
/* ———— 4. 罗盘区域:作为一个普通的“小节”插入 ———— */
| header1 = {{#if:{{{经济坐标|}}}{{{政治坐标|}}}|意识形态定位}}
| data2 = {{#if:{{{经济坐标|}}}{{{政治坐标|}}}|
| data2 = {{#if:{{{经济坐标|}}}{{{政治坐标|}}}|
<div style="background: var(--background-color-base, #fff); padding: 15px; border-top: 1px solid var(--border-color-subtle, #eee); border-bottom: 1px solid var(--border-color-subtle, #eee);">
<div style="width: 100%; text-align: center; padding: 10px 0;">
  <div style="text-align:center; color: var(--color-subtle, #aaa); font-size: 0.75em; letter-spacing: 2px; margin-bottom: 10px; text-transform: uppercase;">Political Compass</div>
{{IdeologyCompass
 
| width = 100%
  <div style="width: 200px; margin: 0 auto;">
| x = {{{经济坐标|0}}}
  {{IdeologyCompass
| y = {{{政治坐标|0}}}
  | width = 100%
| label = {{{名称|}}}
  | x = {{{经济坐标|0}}}
| colored = yes
  | y = {{{政治坐标|0}}}
| icon = {{{图标|}}}
  | label = | icon = {{{图标|}}}
| color = {{{代表色|}}}
  | color = {{{代表色|#333}}}
}}
  }}
<div style="font-size: 85%; margin-top: 5px;">经济: {{{经济坐标|}}} / 政治: {{{政治坐标|}}}</div>
  </div>
 
  <div style="display: flex; justify-content: center; margin-top: 15px; gap: 20px;">
    <div style="text-align: center;">
      <div style="font-size: 0.7em; color: var(--color-subtle, #888);">ECON (X)</div>
      <div style="font-size: 1.2em; font-weight: bold; color: {{{代表色|#333}}};">{{{经济坐标|0}}}</div>
    </div>
    <div style="width: 1px; background: var(--border-color-subtle, #eee);"></div>
    <div style="text-align: center;">
      <div style="font-size: 0.7em; color: var(--color-subtle, #888);">GOVT (Y)</div>
      <div style="font-size: 1.2em; font-weight: bold; color: {{{代表色|#333}}};">{{{政治坐标|0}}}</div>
    </div>
  </div>
</div>
</div>
}}
}}


/* ———— 属性数据:改为更现代的列表样式,去掉表格线 ———— */
| header3 = 基本信息
| labelstyle = color: var(--color-subtle, #666); font-size: 0.9em; padding: 6px 10px; font-weight: normal; width: 35%; text-align: right;
| datastyle = font-weight: bold; padding: 6px 10px; width: 65%;


| label5 = 类型
| label4 = 类型
| data5 = {{{类型|}}}
| data4 = {{{类型|}}}


| label6 = 成立
| label5 = 成立时间
| data6 = {{{成立时间|}}}
| data5 = {{{成立时间|}}}


| label7 = 创始人
| label6 = 创始人
| data7 = {{{创始人|}}}
| data6 = {{{创始人|}}}


| label8 = 流行地区
| label7 = 流行地区
| data8 = {{{流行地区|}}}
| data7 = {{{流行地区|}}}


| label9 = 代表色
| label8 = 代表色
| data9 = <span style="display:inline-block; width:12px; height:12px; background:{{{代表色|transparent}}}; border-radius:50%; margin-right:5px; border:1px solid rgba(0,0,0,0.1);"></span>{{{代表色|}}}
| data8 = {{Color|{{{代表色}}}|{{{代表色}}}}}


}}
}}
第86行: 第75行:
|Region = {{{流行地区|}}}
|Region = {{{流行地区|}}}
|Colors = {{{代表色|}}}
|Colors = {{{代表色|}}}
}}[[分类:意识形态]]</includeonly>
}}[[分类:意识形态]]</includeonly><noinclude>
{{Documentation}}
</noinclude>

2026年2月11日 (三) 15:41的最新版本

此模板定义表格“Ideologies”。 此表格尚未创建。

模板:Documentation