模板:Infobox Ideology:修订间差异
来自Blockland Wiki
更多操作
无编辑摘要 |
无编辑摘要 |
||
| (未显示同一用户的5个中间版本) | |||
| 第2行: | 第2行: | ||
{{#cargo_declare: | {{#cargo_declare: | ||
_table = Ideologies | _table = Ideologies | ||
|Name = | |Name = Page | ||
| | |NativeName = String | ||
|Type = String | |Type = String | ||
|Position_X = Float | |Position_X = Float | ||
|Position_Y = Float | |Position_Y = Float | ||
| | |FoundingYear = Integer | ||
|Founder = String | |Founder = String | ||
|Region = String | |Region = String | ||
|Colors = | |Colors = String | ||
}} | }} | ||
</noinclude><includeonly>{{ | </noinclude><includeonly>{{Infobox | ||
| name = {{{名称|{{PAGENAME}}}}} | |||
| | | bodyclass = ve-infobox-ideology | ||
| | |||
/* ———— 1. 顶部样式:完全照抄你的国家模板 (#CCEEFF) ———— */ | |||
| above = {{{名称|{{PAGENAME}}}}}<br><span style="font-size:85%; font-weight:normal;">{{{原生名称|}}}</span> | |||
| | | abovestyle = background-color: #CCEEFF; padding: 5px; | ||
| abovestyle = | |||
/* ———— 2. 图片区域 ———— */ | |||
| image = {{#if:{{{图片|{{{image|}}}}}}|[[File:{{{图片|{{{image}}}}}}|250px|alt={{{名称|{{{name|}}}}}}]]}} | | image = {{#if:{{{图片|{{{image|}}}}}}|[[File:{{{图片|{{{image}}}}}}|250px|alt={{{名称|{{{name|}}}}}}]]}} | ||
| caption = {{{图片说明|{{{caption|}}}}}} | | caption = {{{图片说明|{{{caption|}}}}}} | ||
| header1 = {{#if:{{{经济坐标|{{{ | /* ———— 3. 统一配色:完全照抄你的国家模板 (#F3F3F3) ———— */ | ||
| data2 = {{#if:{{{经济坐标|{{{ | | headerstyle = background-color: #F3F3F3; | ||
| labelstyle = width: 25%; | |||
| datastyle = width: 75%; | |||
/* ———— 4. 罗盘区域:作为一个普通的“小节”插入 ———— */ | |||
| header1 = {{#if:{{{经济坐标|}}}{{{政治坐标|}}}|意识形态定位}} | |||
| data2 = {{#if:{{{经济坐标|}}}{{{政治坐标|}}}| | |||
<div style="width: 100%; text-align: center; padding: 10px 0;"> | |||
{{IdeologyCompass | {{IdeologyCompass | ||
| width = 100% | | width = 100% | ||
| x = {{{经济坐标 | | x = {{{经济坐标|0}}} | ||
| y = {{{政治坐标 | | y = {{{政治坐标|0}}} | ||
| label = {{{名称| | | label = {{{名称|}}} | ||
| colored = yes | | colored = yes | ||
| icon = {{{图标|}}} | |||
| color = {{{代表色|}}} | |||
}} | }} | ||
<div style="font-size: 85% | <div style="font-size: 85%; margin-top: 5px;">经济: {{{经济坐标|}}} / 政治: {{{政治坐标|}}}</div> | ||
</div> | |||
}} | }} | ||
| | | header3 = 基本信息 | ||
| label4 = | | label4 = 类型 | ||
| data4 = {{{ | | data4 = {{{类型|}}} | ||
| label5 = | | label5 = 成立时间 | ||
| data5 = {{{ | | data5 = {{{成立时间|}}} | ||
| label6 = | | label6 = 创始人 | ||
| data6 = {{{ | | data6 = {{{创始人|}}} | ||
| label7 = 代表色 | | label7 = 流行地区 | ||
| | | data7 = {{{流行地区|}}} | ||
}}</includeonly> | |||
| label8 = 代表色 | |||
| data8 = {{Color|{{{代表色}}}|{{{代表色}}}}} | |||
}} | |||
{{#cargo_store: | |||
_table = Ideologies | |||
|Name = {{PAGENAME}} | |||
|NativeName = {{{原生名称|}}} | |||
|Type = {{{类型|}}} | |||
|Position_X = {{{经济坐标|}}} | |||
|Position_Y = {{{政治坐标|}}} | |||
|FoundingYear = {{{成立时间|}}} | |||
|Founder = {{{创始人|}}} | |||
|Region = {{{流行地区|}}} | |||
|Colors = {{{代表色|}}} | |||
}}[[分类:意识形态]]</includeonly><noinclude> | |||
{{Documentation}} | |||
</noinclude> | |||
2026年2月11日 (三) 15:41的最新版本
此模板定义表格“Ideologies”。 此表格尚未创建。