打开/关闭菜单
切换首选项菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:LinkButton:修订间差异

来自此界与彼端
无编辑摘要
标签已被回退
撤销AkiraZea讨论)的修订版本748
标签撤销
第10行: 第10行:
</noinclude><includeonly><div class="link-button">
</noinclude><includeonly><div class="link-button">
[[{{{content|}}}|{{#if:{{{showText|}}}|{{{showText}}}|{{{content}}}}}]]
[[{{{content|}}}|{{#if:{{{showText|}}}|{{{showText}}}|{{{content}}}}}]]
</div>
</div>{{#css:
<templatestyles src="LinkButton.css" />
.link-button p {
display: flex;
text-align: center;
}
 
.link-button a {
padding: 0.3rem 0.6rem;
border: 1px solid;
border-color: var( --border-color-base );
background: var( --color-surface-2 );
border-radius: 12px;
color: var( --color-base--emphasized ) !important;
}
 
.link-button a:hover {
background: var( --color-surface-2--hover );
}
 
.link-button a:active {
background: var( --color-surface-2--active );
}
}}
</includeonly>
</includeonly>

2025年3月29日 (六) 00:14的版本

无描述。

模板参数[编辑模板数据]

参数描述类型状态
contentcontent

无描述

未知可选
showTextshowText

无描述

未知可选