Template:Minibox/doc
模板页面
更多语言
更多操作
mininox/minibox-v 应当配合 minibox-ct 使用
其中minibox-v为使用竖排背景文本的变种
目前仅设计了5个位置,即一行最多5个, 需要更多的话请修改 minibox-ct
安装
导出页面列表并导入,然后稍加修改 mediawiki:common.css 即可
页面列表
template:minibox template:minibox/doc template:minibox/styles.css template:minibox-v template:minibox-v/doc template:minibox-ct template:minibox-ct/doc
common.css 修改
加入以下内容(这条没法加入styles.css 只能单独拿出)
/*配合 template:minibox 使用*/
.mini-block-bg-text-v{
text-wrap-mode: nowrap;
}
.mini-block-bg-text{
text-wrap-mode: nowrap;
}
使用
示例
{{minibox-ct
|box1={{minibox
|title=[[概念介绍]]
|bg-text=terms
|list=
*[[page1]]
*[[page2]]
*[[page3]]}}
|box2={{minibox-v
|title=[[技术栈]]
|bg-text=stack
|list=
[[page1]]
<br>[[page2]]
<br>[[page3]]
}}
|box3={{minibox
|title=[[教程]]
|bg-text=tours
|list=<br>[[page1]]
<br>[[page2]]
<br>[[page3]]}}
|box4={{minibox-v
|title=[[活动]]
|bg-text=events
|list=}}
}}