跳转到内容
打开/关闭搜索
搜索
打开/关闭菜单
451
条目
808
文件
22
用户
9259
编辑
Blockland Wiki
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
打开/关闭外观设置菜单
无法加载外观设置。请检查您的网络连接并重试。
重试
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
创建账号
登录
查看“︁模板:IdeologyCompass”︁的源代码
来自Blockland Wiki
查看
阅读
查看源代码
查看历史
相关页面
模板
讨论
更多操作
更多
工具
链入页面
相关更改
页面信息
Cargo数据
←
模板:IdeologyCompass
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
<includeonly>{| style="margin: 0 auto; background: transparent; border: none;" | <div style=" position: relative; width: {{{width|300px}}}; max-width: 100%; aspect-ratio: 1 / 1; background-image: url('{{filepath:{{{bg|Political_Compass_Standard.png}}} }}'); background-size: cover; border: 1px solid var(--border-color-base, #ccc); border-radius: 4px; "> <div style="position: absolute; top: 2%; left: 50%; transform: translateX(-50%); font-size: 0.8em; opacity: 0.7;">'''{{{top_label|威权}}}'''</div> <div style="position: absolute; bottom: 2%; left: 50%; transform: translateX(-50%); font-size: 0.8em; opacity: 0.7;">'''{{{bottom_label|自由}}}'''</div> <div style="position: absolute; left: 2%; top: 50%; transform: translateY(-50%); font-size: 0.8em; opacity: 0.7;">'''{{{left_label|左翼}}}'''</div> <div style="position: absolute; right: 2%; top: 50%; transform: translateY(-50%); font-size: 0.8em; opacity: 0.7;">'''{{{right_label|右翼}}}'''</div> <div style=" position: absolute; /* 核心算法:把 -10~10 的数值转换成 0%~100% 的位置 */ left: {{#expr: ( ({{{x|0}}} + 10) / 20 ) * 100 }}%; top: {{#expr: 100 - ( ({{{y|0}}} + 10) / 20 ) * 100 }}%; transform: translate(-50%, -50%); text-align: center; line-height: 1; z-index: 10; " title="X: {{{x}}}, Y: {{{y}}}"> {{#if: {{{icon|}}} | [[File:{{{icon}}}|32px|link=]] | <div style="width: 12px; height: 12px; background: #e74c3c; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 4px rgba(0,0,0,0.5);"></div> }} <div style=" margin-top: 4px; font-size: 0.85em; font-weight: bold; color: var(--color-base, #fff); text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; white-space: nowrap; "> {{{label|}}} </div> </div> </div> |}</includeonly><noinclude> == 使用说明 == 这是意识形态坐标模板。 <pre> {{政治坐标 | x = 5 | y = 3 | label = 帝国主义 | icon = Flag.png | bg = Compass_BG.png | top_label = 威权 }} </pre> </noinclude>
此页面嵌入的页面:
模板:Documentation
(
查看源代码
)
返回
模板:IdeologyCompass
。
查看“︁模板:IdeologyCompass”︁的源代码
来自Blockland Wiki