• 首頁
  • 隨機
  • 登入
  • 設定
  • 關於轻之舟百科
  • 免責聲明
轻之舟百科

模板:Col-begin

  • 語言
  • 監視
  • 編輯
模板文件[檢視][編輯][歷史][清除快取]

本系列模板用於分欄顯示內容。模板連結:{{Col-begin}}與模板連結:{{Col-end}}通常配合使用。

細節

編輯

本模板包含了以下代碼:

{| class="{{{class|}}} multicol" role="presentation" style="{{#if:{{{small|}}}|font-size:90%; }}border-collapse: collapse; padding: 0; border: {{{border|0}}}; background:{{{bgColor|{{{bgcolor|transparent}}}}}}; width:{{{width|100%}}}; {{{style|}}}"

參數:

  • class(預設:無)
  • bgColor(預設:transparent)
  • width(預設:100%)

用法

編輯

創建雙欄表格的另一種方法:

{{col-begin|width=95%}}
|-
| 
Left column
|
Right column
|}
模板链接:{{Col-begin}}
模板链接:{{Col-2}}
Column 1 here
模板链接:{{Col-2}}
Column 2 here
模板链接:{{Col-end}}

模板链接:{{Col-begin}}
模板链接:{{Col-3}}
Column 1 here
模板链接:{{Col-3}}
Column 2 here
模板链接:{{Col-3}}
Column 3 here
模板链接:{{Col-end}}

模板链接:{{Col-begin}}
模板链接:{{Col-4}}
Column 1 here
模板链接:{{Col-4}}
Column 2 here
模板链接:{{Col-4}}
Column 3 here
模板链接:{{Col-4}}
Column 4 here
模板链接:{{Col-end}}

and so on, up to 模板链接:{{Col-6}}

{{Col-begin|class=references-small}}
模板链接:{{Col-break}}
Column 1 here
模板链接:{{Col-break}}
Column 2 here
模板链接:{{Col-break}}
Column 3 here
模板链接:{{Col-break}}
Column 4 here
模板链接:{{Col-break}}
Column 5 here
模板链接:{{Col-break}}
Column 6 here
模板链接:{{Col-end}}

另見

編輯
  • 模板連結:{{Col-begin}}(模板連結:{{Col-start}})
    • 模板連結:{{Col-2}}
    • 模板連結:{{Col-3}}
    • 模板連結:{{Col-4}}
    • 模板連結:{{Col-5}}
    • 模板連結:{{Col-6}}
    • 模板連結:{{Col-x}}
    • 模板連結:{{Col-break}}
  • 模板連結:{{Col-end}}(模板連結:{{End}})
  • 模板連結:{{Div col}},模板連結:{{Div col end}}
上述文件嵌入自Template:Col-begin/doc。(編輯 | 歷史)
編者可以在本模板的沙盒(建立 | 鏡像)和測試樣例(建立)頁面進行實驗。
請在/doc子頁面中添加分類。本模板的子頁面。
取自「https://130.wiki/index.php?title=Template:Col-begin&oldid=2887」
最後編輯於 2026年8月3日 (星期一) 07:59

語言

  • 不转换
  • 简体
  • 繁體
  • 大陆简体
  • 香港繁體
  • 澳門繁體
  • 大马简体
  • 新加坡简体
  • 臺灣正體
轻之舟百科
  • A CaelLab Project
  • 此頁面最後編輯於2026年8月3日 (星期一) 07:59。
  • 除非另有註明,否則頁面內容基於CC BY-SA 4.0 (2026年8月3日前创建的内容以CaelLab BY-SA Content License授权)之下可用
  • 此頁面已被存取過7,731 次。
  • 隱私權政策
  • 關於轻之舟百科
  • 免責聲明
  • 隱私權政策
  • 方針
  • 版權
  • Donate now
  • 桌面版