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

模板:Infobox Ideology:修订间差异

来自Blockland Wiki
创建页面,内容为“<noinclude> {{#cargo_declare: _table = Ideologies |Name = String |Native_name = String |Image = File |Type = String |Position_X = Float |Position_Y = Float |Founding_year = Integer |Founder = String |Region = String |Colors = List (,) of String }} </noinclude><includeonly>{{#cargo_store: _table = Ideologies |Name = {{{名称|{{{name|{{PAGENAME}}}}}}}} |Native_name = {{{原生名称|{{{native_name|}}}}}} |Image = {{{图片|{{{image|}}}}}} |Type = {{{类型|{{{ty…”
 
无编辑摘要
 
(未显示同一用户的7个中间版本)
第2行: 第2行:
{{#cargo_declare:
{{#cargo_declare:
_table = Ideologies
_table = Ideologies
|Name = String
|Name = Page
|Native_name = String
|NativeName = String
|Image = File
|Type = String
|Type = String
|Position_X = Float
|Position_X = Float
|Position_Y = Float
|Position_Y = Float
|Founding_year = Integer
|FoundingYear = Integer
|Founder = String
|Founder = String
|Region = String
|Region = String
|Colors = List (,) of String
|Colors = String
}}
}}
</noinclude><includeonly>{{#cargo_store:
</noinclude><includeonly>{{Infobox
_table = Ideologies
| name = {{{名称|{{PAGENAME}}}}}
|Name = {{{名称|{{{name|{{PAGENAME}}}}}}}}
| bodyclass = ve-infobox-ideology
|Native_name = {{{原生名称|{{{native_name|}}}}}}
 
|Image = {{{图片|{{{image|}}}}}}
/* ———— 1. 顶部样式:完全照抄你的国家模板 (#CCEEFF) ———— */
|Type = {{{类型|{{{type|}}}}}}
| above = {{{名称|{{PAGENAME}}}}}<br><span style="font-size:85%; font-weight:normal;">{{{原生名称|}}}</span>
|Position_X = {{{经济坐标|{{{compass_x|}}}}}}
| abovestyle = background-color: #CCEEFF; padding: 5px;
|Position_Y = {{{政治坐标|{{{compass_y|}}}}}}
|Founding_year = {{{成立时间|{{{founded|}}}}}}
|Founder = {{{创始人|{{{founder|}}}}}}
|Region = {{{流行地区|{{{region|}}}}}}
|Colors = {{{代表色|{{{colors|}}}}}}
}}<div class="infobox" style="width: 300px; float: right; clear: right; margin: 0 0 1em 1em; background: var(--background-color-surface, #fff); border: 1px solid var(--border-color-base, #a2a9b1); padding: 0.5em; border-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,0.05);">


<div style="text-align: center; font-size: 1.25em; font-weight: bold; padding: 0.5em; background: var(--background-color-quiet, #f8f9fa); border-bottom: 1px solid var(--border-color-base, #a2a9b1); margin: -0.5em -0.5em 0.5em -0.5em; border-radius: 4px 4px 0 0; color: var(--color-base, #202122);">
/* ———— 2. 图片区域 ———— */
{{{名称|{{{name|{{PAGENAME}}}}}}}}
| image = {{#if:{{{图片|{{{image|}}}}}}|[[File:{{{图片|{{{image}}}}}}|250px|alt={{{名称|{{{name|}}}}}}]]}}
{{#if:{{{原生名称|{{{native_name|}}}}}}|<br><span style="font-size: 0.8em; font-weight: normal; color: var(--color-subtle, #54595d);">{{{原生名称|{{{native_name}}}}}}</span>}}
| caption = {{{图片说明|{{{caption|}}}}}}
</div>


{{#if:{{{图片|{{{image|}}}}}}|
/* ———— 3. 统一配色:完全照抄你的国家模板 (#F3F3F3) ———— */
<div style="text-align: center; margin-bottom: 0.5em;">
| headerstyle = background-color: #F3F3F3;
[[File:{{{图片|{{{image}}}}}}|250px|center|alt={{{名称|{{{name|}}}}}}]]
| labelstyle = width: 25%;
{{#if:{{{图片说明|{{{caption|}}}}}}|<div style="font-size: 0.9em; line-height: 1.2; margin-top: 0.4em; color: var(--color-subtle, #54595d);">{{{图片说明|{{{caption}}}}}}</div>}}
| datastyle = width: 75%;
</div>
}}


{{#if:{{{经济坐标|{{{compass_x|}}}}}}|{{#if:{{{政治坐标|{{{compass_y|}}}}}}|
/* ———— 4. 罗盘区域:作为一个普通的“小节”插入 ———— */
<div style="text-align: center; margin: 0.5em 0; padding: 0.5em; background: var(--background-color-neutral-subtle, #f8f9fa); border-radius: 4px;">
| header1 = {{#if:{{{经济坐标|}}}{{{政治坐标|}}}|意识形态定位}}
<div style="font-weight: bold; margin-bottom: 6px; font-size: 0.9em; color: var(--color-base, #202122);">意识形态定位</div>
| data2 = {{#if:{{{经济坐标|}}}{{{政治坐标|}}}|
<div style="width: 100%; text-align: center; padding: 10px 0;">
{{IdeologyCompass
{{IdeologyCompass
| width = 100%
| width = 100%
| x = {{{经济坐标|{{{compass_x|0}}}}}}
| x = {{{经济坐标|0}}}
| y = {{{政治坐标|{{{compass_y|0}}}}}}
| y = {{{政治坐标|0}}}
| label = {{{名称|{{{name|}}}}}}
| label = {{{名称|}}}
| icon = {{{图标|{{{icon|}}}}}}
| colored = yes
| colored = yes
| icon = {{{图标|}}}
| color = {{{代表色|}}}
}}
}}
<div style="font-size: 0.8em; color: var(--color-subtle, #666); margin-top: 4px; font-family: monospace;">
<div style="font-size: 85%; margin-top: 5px;">经济: {{{经济坐标|}}} / 政治: {{{政治坐标|}}}</div>
X: {{{经济坐标|{{{compass_x}}}}}} | Y: {{{政治坐标|{{{compass_y}}}}}}
</div>
</div>
</div>
}}
}}}}
 
| header3 = 基本信息


<table style="width: 100%; border-collapse: collapse; font-size: 0.9em; line-height: 1.4;">
| label4 = 类型
| data4 = {{{类型|}}}


{{#if:{{{类型|{{{type|}}}}}}|
| label5 = 成立时间
<tr style="border-top: 1px solid var(--border-color-subtle, #eee);">
| data5 = {{{成立时间|}}}
<th style="text-align: left; padding: 6px 4px; width: 35%; color: var(--color-subtle, #54595d);">类型</th>
<td style="padding: 6px 4px;">{{{类型|{{{type}}}}}}</td>
</tr>
}}


{{#if:{{{成立时间|{{{founded|}}}}}}|
| label6 = 创始人
<tr style="border-top: 1px solid var(--border-color-subtle, #eee);">
| data6 = {{{创始人|}}}
<th style="text-align: left; padding: 6px 4px; color: var(--color-subtle, #54595d);">成立时间</th>
<td style="padding: 6px 4px;">{{{成立时间|{{{founded}}}}}}</td>
</tr>
}}


{{#if:{{{创始人|{{{founder|}}}}}}|
| label7 = 流行地区
<tr style="border-top: 1px solid var(--border-color-subtle, #eee);">
| data7 = {{{流行地区|}}}
<th style="text-align: left; padding: 6px 4px; color: var(--color-subtle, #54595d);">创始人</th>
<td style="padding: 6px 4px;">{{{创始人|{{{founder}}}}}}</td>
</tr>
}}


{{#if:{{{流行地区|{{{region|}}}}}}|
| label8 = 代表色
<tr style="border-top: 1px solid var(--border-color-subtle, #eee);">
| data8 = {{Color|{{{代表色}}}|{{{代表色}}}}}
<th style="text-align: left; padding: 6px 4px; color: var(--color-subtle, #54595d);">主要流行地区</th>
<td style="padding: 6px 4px;">{{{流行地区|{{{region}}}}}}</td>
</tr>
}}


{{#if:{{{代表色|{{{colors|}}}}}}|
<tr style="border-top: 1px solid var(--border-color-subtle, #eee);">
<th style="text-align: left; padding: 6px 4px; color: var(--color-subtle, #54595d);">代表色</th>
<td style="padding: 6px 4px;">{{{代表色|{{{colors}}}}}}</td>
</tr>
}}
}}
 
{{#cargo_store:
</table>
_table = Ideologies
</div></includeonly>
|Name = {{PAGENAME}}
|NativeName = {{{原生名称|}}}
|Type = {{{类型|}}}
|Position_X = {{{经济坐标|}}}
|Position_Y = {{{政治坐标|}}}
|FoundingYear = {{{成立时间|}}}
|Founder = {{{创始人|}}}
|Region = {{{流行地区|}}}
|Colors = {{{代表色|}}}
}}[[分类:意识形态]]</includeonly><noinclude>
{{Documentation}}
</noinclude>

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

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

模板:Documentation