模板:SidebarContainer:修订间差异

来自Vintage Story 中文维基
跳转到导航 跳转到搜索
创建页面,内容为“<div style=" width: 32%; float: {{{position|right}}}; border: 2px solid #000; 黑色边框:​ background-color: #ececee; 淡蓝色背景:​ padding: 10px; margin: 0 0 10px 10px; box-sizing: border-box; "> '''{{{title|边栏标题}}}''' <div style="margin-top: 5px;"> {{{content|这里放内容}}} </div> </div> <div style="clear: both;"></div>”
 
无编辑摘要
标签已被回退
第1行: 第1行:
<div style="
<div style="
   width: 32%;
   width: 60%;
   float: {{{position|right}}};
   float: {{{position|right}}};
   border: 2px solid #000; /* 黑色边框 */
   border: 2px solid #000;
   background-color: #ececee; /* 淡蓝色背景 */
   background-color: #ececee;
   padding: 10px;
   padding: 10px;
  box-sizing: border-box;
   margin: 0 0 10px 10px;
   margin: 0 0 10px 10px;
  box-sizing: border-box;
">
">
'''{{{title|边栏标题}}}'''
'''{{{title|边栏标题}}}'''
<div style="margin-top: 5px;">
 
{{{content|这里放内容}}}
<div style="
  display: flex;
  flex-wrap: wrap;
  margin-top: 5px;
  gap: 10px;
">
  <!-- 列1 -->
  <div style="flex: 1 1 30%;">
    {{{col1|}}}
  </div>
  <!-- 列2 -->
  <div style="flex: 1 1 30%;">
    {{{col2|}}}
  </div>
  <!-- 列3 -->
  <div style="flex: 1 1 30%;">
    {{{col3|}}}
  </div>
</div>
</div>
</div>
</div>


<div style="clear: both;"></div>
<div style="clear: both;"></div>

2026年3月27日 (五) 04:42的版本

边栏标题