KG Software Library

段組を行う

段組を行う

利用方法

例)二段組:以下の例では大きな枠内に小さな(50%幅)枠を表示する

2列→1列(2列幅より縮小されると1列幅に自動的変更。比率指定あり)
{{layout rows,2,70:30
  //-- cols1
  {{layout cols
  〜 Wikiソース 〜
  }}
  //-- cols2
  {{layout cols
  〜 Wikiソース 〜
  }}
}}
//-- /rows

3列→1列(3列幅より縮小されると1列幅に自動的変更)
{{layout rows,3,300
  //-- cols1
  {{layout cols
  〜 Wikiソース 〜
  }}
  //-- cols2
  {{layout cols
  〜 Wikiソース 〜
  }}
  //-- cols3
  {{layout cols
  〜 Wikiソース 〜
  }}
}}
//-- /rows

4列→2列→1列(4列幅より縮小されると2列幅に変更、さらに縮小すると1列幅に自動的変更)
{{layout rows,4x2,200
  //-- cols1
  {{layout cols
  〜 Wikiソース 〜
  }}
  //-- cols2
  {{layout cols
  〜 Wikiソース 〜
  }}
  //-- cols3
  {{layout cols
  〜 Wikiソース 〜
  }}
  //-- cols4
  {{layout cols
  〜 Wikiソース 〜
  }}
}}
//-- /rows

段組み解除
// 段組解除
{{ilayout clear}}